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
Oman stock market historical data
JSE Historical EOD Data - Johannesburg Stock Exchange
Intraday Data for Major Stock Exchanges
Market Cap Historical Data for the US Stock Market
Nigerian Stock Exchange - Historical Data

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 New Ways to Download Free Intraday Data for the U.S. Stock Mark...
6 ways to download free intraday and tick data for the U.S. stock...









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.