Hi,
I think quantconnect data is missing too many options chain data during backtesting. If I have tradestation account, can I use tradestation data for backtesting in quantconnect? If so, how
QUANTCONNECT COMMUNITY
Hi,
I think quantconnect data is missing too many options chain data during backtesting. If I have tradestation account, can I use tradestation data for backtesting in quantconnect? If so, how
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.
Mia Alissi
Hi Parth,
Yes, you can use TradeStation data for backtesting in QuantConnect, which may help if you're experiencing missing options chain data with the default QuantConnect data set. Here’s how you can do it:
Data Coverage: TradeStation provides equity, futures, and options price data for backtesting in QuantConnect (but note: you can’t request tick or second resolution historical data from TradeStation—minute and daily resolutions are supported).
No Code Changes Needed: You don’t have to alter your algorithm’s code to use TradeStation as the data source. Instead, you select TradeStation as your data provider in the Research/Backtesting settings panel on the QuantConnect web platform before running your backtest.
Standard Option Chain Requests: In your algorithm, use the standard methods to request options data, like:
These methods work the same regardless of your selected data provider.
Link Your TradeStation Account: Make sure your TradeStation account is linked to your QuantConnect account. You can do this in your QuantConnect account settings.
Automatic Data Source Usage: Once TradeStation is chosen as your backtest data provider in the web UI, your backtest will automatically pull data from TradeStation for all supported assets—no further action is needed in your code.
Quality Check: After running your backtest, review the results to see if the options chain data is more complete. If you still notice data is missing, report the missing symbols (and relevant dates) to QuantConnect support so they can investigate.
Let me know if you need more help setting this up or if you have further data issues!
Sources: TradeStation - QuantConnect.com, Tradier - QuantConnect.com, US Equity Options - QuantConnect.com, Requesting Data - QuantConnect.com, docs writing algorithms datasets algoseek us equity options
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.
Parth Thaker
Thanks
I can not find location for the settings where I can choose data source. Please help me setup tradestation data for backtesting in quantconnect.
Louis Szeto
Hi Parth
Sorry that Mia's suggestion might be a bit inaccurate. In the QC cloud IDE, we do not provide options to choose the data source. Instead, you can consider doing a local backtest via Lean CLI, with your Tradestation data downloaded and saved in the /data folder of the Lean CLI root directory in Lean readable format.
Best
Louis
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.
Parth Thaker
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.
To unlock posting to the community forums please complete at least 30% of Boot Camp.
You can continue your Boot Camp training progress from the terminal. We hope to see you in the community soon!