Hi all,
I wrote a strategy that trades ADAUSD symbol at Bitfinex. It works nicely both in backtesting and research environment (with
self.SetBrokerageModel(BrokerageName.Bitfinex)
command at strategy init).
but as I run it live, I get exception in the logs
Algorithm.AddSecurity(): System.ArgumentException: Symbol can't be found in the Symbol Properties Database: ADAUSD
at QuantConnect.Securities.SecurityService.CreateSecurity (QuantConnect.Symbol symbol, System.Collections.Generic.List`1[T] subscriptionDataConfigList, System.Decimal leverage, System.Boolean addToSymbolCache) [0x0009f] in <85b86e62b8d8421d9642af34fa813d89>:0
at QuantConnect.Securities.SecurityManager.CreateSecurity (QuantConnect.Symbol symbol, System.Collections.Generic.List`1[T] subscriptionDataConfigList, System.Decimal leverage, System.Boolean addToSymbolCache) [0x00000] in <85b86e62b8d8421d9642af34fa813d89>:0
at QuantConnect.Algorithm.QCAlgorithm.AddSecurity (QuantConnect.Symbol symbol, System.Nullable`1[T] resolution, System.Boolean fillDataForward, System.Decimal leverage, System.Boolean extendedMarketHours) [0x00086] in <82e3e4ae86fa4159bf189f06bab86b2a>:0
at QuantConnect.Algorithm.QCAlgorithm.AddSecurity (QuantConnect.SecurityType securityType, System.String ticker, System.Nullable`1[T] resolution, System.String market, System.Boolean fillDataForward, System.Decimal leverage, System.Boolean extendedMarketHours) [0x000be] in <82e3e4ae86fa4159bf189f06bab86b2a>:0
after warmup is complete. Any ideas what could be wrong?
Shile Wen
Hi Andrey,
I was unable to reproduce the issue. Please retry with the code in the attached backtest.
Best,
Shile Wen
Andrey Ust
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!