Back

LEAN: Anyone with working Alpaca data connection OR help with debugging NatsClient.cs for it?

Title states the first question.

Anyone with debugging LEAN from the command line experience? (ie, not using VStudio or other IDE for debugging). I'm using the Debug configuration build. 

Was getting with live-alpaca and live=true: 

 ERROR:: Engine.Run():  NATS.Client.NATSNoServersException: Unable to connect to a server.

Was getting another error with live-alpaca and live=false, regarding an incorrect boolean type.

So I switched back to 'backtesting' and the QC API key. At the moment getting this, and it hangs. Is this the message for downloading data or part of the debugging=true config, or something else? Thanks


20200311 22:37:45.516 Trace:: PythonInitializer.Initialize(): ended
20200311 22:37:45.516 Trace:: DebuggerHelper.Initialize(): python initialization done
20200311 22:37:45.517 Trace:: DebuggerHelper.Initialize(): starting...
--Return--
> <string>(1)<module>()->None
(Pdb)

 

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.


Hi there, this is a known bug and Gerardo Salazar from the QC team is tackling it now. 

https://github.com/QuantConnect/Lean/issues/4111

 

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.


Hi John this is now merged into production. Please pull down the latest LEAN for your testing

https://github.com/QuantConnect/Lean/pull/4195

 

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