I am trying to DEBUG a C# Project that I recently wrote. From what I have searched it seems that I can not DEBUG it on Cloud. To DEBUG it locally it seems I need to have the Data locally available.
I tried to Download the data locally, and get an error that I still need a subscription to download the data.
Am I missing something are there any alternatives. I need Data purely for Debugging and to test the methods and functionality, not a real Backset of the strategy, more for Integration Testing and later Unit Testing of methods as well.
I also see that AlgoSeek provides sample data, but not sure if its in the right format or how exactly it needs to be saved.
Link : https://www.algoseek.com/products.html#us_options_market_data
Any help or guidance will be great.
Command for Download:
lean data download --dataset "US Equity Options" --data-type "trade" --option-style "american" --ticker "QQQ" --resolution "minute" --start "20230303" --end "20230305" --dry-run
Error Received:
Error: Your organization needs to have an active Security Master subscription to download data from the 'US Equity
Options' dataset
You can add the subscription at https://www.quantconnect.com/datasets/quantconnect-us-equity-security-master/pricing
Mia Alissi
To address Pranav's issue with debugging locally using C# and handling data requirements for testing, I found relevant information from the QuantConnect documentation that can help:
Debugging Locally with C
Debugging Tools:
Coding Errors:
Using Logs for Debugging:
Handling Data Constraints & Alternatives
Local Data Import and Custom Data:
BaseData
. You'll need to modify methods likeGetSource
to pull data from local files.Security Master Subscription Requirement:
Alternatives for Testing:
If you have further questions or need assistance with a specific aspect, feel free to reach out!
Sources: Debugging - QuantConnect.com, Debugging Tools - QuantConnect.com, Custom Data - QuantConnect.com, Getting Started - QuantConnect.com, Opening Range Breakout for Stocks in Play
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.
Pranav Shah
I just saw that there is “data” folder under the QuantConnect folder created by lean. How to make sense of this data to use appropriate options and dates.
I am also trying to generate random data, can't understand how to specify these location for local debugging purposes
lean data generate --start=20240101 --end=20240105 --security-type=Option --resolution=Minute --symbol-count=500 --chain-symbol-count=5 --tickers=SYNTHQQQ --market=usa --volatility-model-resolution=Minute --quote-trade-ratio=5
Pranav Shah
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!