I am working on a Indian market data strategy and my code runs perfectly, But the data is not reading from the data folder what should I do about that?
My Programming language is Python.
QUANTCONNECT COMMUNITY
I am working on a Indian market data strategy and my code runs perfectly, But the data is not reading from the data folder what should I do about that?
My Programming language is Python.
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
Based on the information provided in the extracts, QuantConnect does not yet support the Indian market. The main obstacle to the Indian market is that they require humans to click the trade button, which is totally the opposite of what QuantConnect is about. You can refer to this forum discussion for more details.
As for the issue with reading data from the data folder, it's hard to provide a specific solution without seeing your code. However, it's important to note that any input file should be placed in the executable directory Lean/Launcher/bin/Debug. If you want to place it in the script location (Launcher/Algorithm.Python), you can use the relative path. For instance, if you want to read a name called data.csv, you need to write in the python script that it can be found at ../../../data.csv. You can refer to this forum discussion for more details.
If you're still having trouble, I would recommend posting your specific issue on the QuantConnect forum for more targeted assistance.
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.
Ujjwal Chauhan
directory Lean/Launcher/bin/Debug
explain itÂ
Â
Mia Alissi
The directory
Lean/Launcher/bin/Debug
is the location where the compiled files of the Lean engine are stored when you build the solution in Debug mode.When you compile or build the Lean project, the resulting executable files (
.dll
for C# or.pyc
for Python) are stored in this directory. These files are what actually get executed when you run your algorithm.If you're using Visual Studio, you can build the solution by clicking
Build > Build All
. After the build process, you can navigate to this directory and run the Lean engine with the following command:This command runs the Lean engine, which then executes your algorithm.
You can find more details in the Getting Started guide in the QuantConnect documentation.
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.
Ujjwal Chauhan
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!