Back

Live trading Hong Kong Stocks using data from Yahoo directly

Hello everyone,

I am exploring the possibility of using Yahoo delayed data to build algo for live trading HK stock.
The custom data source I used for testing was
http://download.finance.yahoo.com/d/quotes.csv?s=0700.HK&f=sl1d1t1c1ohgv&e=.csv

I would like to know what will be the fetch frequency for custom data in live trading mode? (e.g. 1 fetch/minute)

Thank you very much in advance!

Regards,
Tino
Update Backtest








Awesome! The data is polled on the boundary of the resolution you specify - i.e.
AddData("Symbol", Resolution.Minute);

If you specify Resolution.Tick its polled on a tight loop, I wouldn't recommend that though unless you control the data server providing the information. Yahoo will probably have rate limits, so minutely polling is probably best to be safe.
0

The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.


Update Backtest





0

The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.


Loading...

This discussion is closed