Got a build error and could not find any description for the error when deploying a live project which is backtested well. I also tried it with creating a new Algorithm(python), the template project without any changes, follow the same steps to deploy live, and got the build error too.
Steps to reproduce:
1)go to my quantconnect account
2) create a new algorithm (python)
# region imports
from AlgorithmImports import *
# endregion
class PensiveGreenChinchilla(QCAlgorithm):
def Initialize(self):
self.SetStartDate(2022, 4, 1) # Set Start Date
self.SetCash(100000) # Set Strategy Cash
self.AddEquity("SPY", Resolution.Minute)
self.AddEquity("BND", Resolution.Minute)
self.AddEquity("AAPL", Resolution.Minute)
def OnData(self, data: Slice):
if not self.Portfolio.Invested:
self.SetHoldings("SPY", 0.33)
self.SetHoldings("BND", 0.33)
self.SetHoldings("AAPL", 0.33)
3) from the left pannel in the browser, choose “live projects”→"launch Algorithm" select the new algorithm(project) created, then you will see the build error indicator,
4) clicking on the build error and did not show any description or hint, Checking the code and did not see any red lines in the codes
Is this a bug? Any suggestions and recommendations are welcome and appreciated.
Fred Painchaud
Hi Howard,
For live deployment issues, you should contact support@quantconnect.com directly.
Fred
Howard Wang
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!