Click here to Login








Adjusted & Unadjusted stock prices

by QuantShare, 2443 days ago
Share |






For those who want or need access to both adjusted and unadjusted historical stock prices, this item downloads both data from the Yahoo server.

This item has almost the same settings as the Yahoo EOD historical quotes, which is a download object that retrieves historical EOD data from Yahoo servers, adjusts the quotes using the adjusted close price field and stores the data into your application' quotes database.
This object uses the same adjustment script to store the adjusted quotes data into the quotes database. It also saves unadjusted historical data into a custom database, whose name is "unadj_quotes". This database contains the following five fields: date, close, open, high and low.

This object is helpful in many situations. You can for example use the unadjusted historical data in backtesting or analysis and at the same time have trading rules that use unadjusted stock prices.

For example, using an adjusted quotes database and creating a trading system that buys stocks whose share price is higher than 2 dollars, is not going to produce realistic results. This is because at the time, the simulator is going to check the close price, some split-adjusted stocks will have a low close price (at that time the real share price for some stocks is higher, because these stocks have not yet performed a split) and therefore will not be bought by the simulator.
In order to prevent this, you can use the unadjusted database to check whether the stock price is higher, equal or lower than 2 dollars.
Example:
Instead of using the following rule:
close > 2
You can use
GetData("unadj_quotes", "_close", LastData) > 2

You can use this item to download data for U.S. stocks as well as several international markets, including: Australia, Canada, UK, France, India, China, Spain, Singapore, Brazil, Japan, Italy, Hong Kong, Germany...


Share This ->
Share |


You have to log in to bookmark this object
What is this?




Type: Download Script

Object ID: 421


Country:
United States

Market: Stock Market

Style:
All

Reviews
You must log in first

Join now
and get instant access for free to the trading software, the Sharing server and the Social network website.
Click here


Related objects
Show All
BSE historical data (by Tom Huggens, uploaded several months ago)
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 1391 Notes Report an item
BSE Stock Exchange (by Tom Huggens, uploaded several months ago)
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 1383 Notes Report an item
Number of reviews
Click to add a review
Average rate
Click to rate this item
Number of times this object was downloaded
Number of rates the current object received
Report an object
if you can't run it for example or if it contains errors
Click to report this object

Technical Analysis


Fundamental Analysis



Random Blog Posts

Technical Analysis Using Multiple Timeframes - Second Part

New features in QuantShare - Trading Software

Technical Analysis Using Multiple Timeframes

Short Index - Part 2

Short Index - Part 1

Trend Following and Moving Averages

Put-Call Ratio for Individual Stocks

Historical Market Data

Show All

Number of reviews
Click to add a review
Average rate
Click to rate this item
Number of times this object was downloaded
Number of rates the current object received
Report an object
if you can't run it for example or if it contains errors
Click to report this object






QuantShare
Product
QuantShare
Features
Create an account
Affiliate Program
Support
Contact Us
Trading Forum
How-to Lessons
Manual
Company
About Us
Privacy
Terms of Use

Copyright © 2024 QuantShare.com
Social Media
Follow us on Facebook
Twitter Follow us on Twitter
Google+
Follow us on Google+
RSS Trading Items



Trading financial instruments, including foreign exchange on margin, carries a high level of risk and is not suitable for all investors. The high degree of leverage can work against you as well as for you. Before deciding to invest in financial instruments or foreign exchange you should carefully consider your investment objectives, level of experience, and risk appetite. The possibility exists that you could sustain a loss of some or all of your initial investment and therefore you should not invest money that you cannot afford to lose. You should be aware of all the risks associated with trading and seek advice from an independent financial advisor if you have any doubts.