Click here to Login





                                                   Traversing stock data

  0

0
schhay
2011-10-26 17:50:02


I want to write my own script for a study. how would I traverse data of a particular stock from a certain point in time or arbitrarily?

I'm new to Quantshare so I'm unfamiliar to a lot of functions and vars available for access. Is there an API documentation somewhere I can use for reference?



QuantShare
2011-10-27 04:01:53

  0

Best Answer
To get documentation of a particular script, click on the "Help" button under the script control.

In "Tools -> Create Functions", to loop through each bar you can type:

VectorD close = cFunctions.Close;
for(int i=0;i < result.Length;i++)
{
result[i] = close[i];
}



No more messages
0




Reply:

No html code. URLs turn into links automatically.

Type in the trading objects you want to include: - Add Objects
To add a trading object in your message, type in the object name, select it and then click on "Add Objects"










QuantShare

Trading Items
EOD NSE stock quotes data
Dhaka Stock Exchange - Historical EOD Data
EOD Data - End of day data for U.S. Stock Market
ETF Number of securities, percent stock and cash - Historical Dat...
Historical Stock Quotes Data for more than 50 Exchanges

How-to Lessons
How to hide stock data outside of regular trading hours
How to plot a stock using different periods in the same chart
How to quickly download the most recent EOD data for your stocks
How to download and use U.S. stocks earnings data
How to plot the number of stock tweets per day

Related Forum Threads
Futures data - overwrites stock symbols, issues with point value
Stock Data Checkup
Stock Split Data
Problem downloading EOD data for Paris stock market (Euronext Par...
Stock Data update

Blog Posts
10 ways to download historical stock quotes data for free
4 Links to Download Free Historical Stock Prices Data by Date
German Stock Exchanges: 5 free ways to download historical EOD/In...
6 ways to download free intraday and tick data for the U.S. stock...
Creating Stock & Market Short Interest Ratios using Historical Sh...









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.