Hi,
I'm trying to run an algo locally on Binance and the algo is trading BTCBUSD. I've got a small balance of PAXG on my account which is not connected to the algo but when it connect's LEAN is correctly picking up the small amount there. When it does that it throws an error and exits. I've tried adding PAXG as a Crypto to get it to setup a feed but no luck.
20211001 16:37:30.616 ERROR:: Engine.Run(): During the algorithm initialization, the following exception has occurred: System.ArgumentException: No conversion path found
between source currency PAXG and destination currency USD
The closest I've got to an answer is here where it seems the Binance brokerage isn't released yet so maybe this is a known issue that will be fixed when it is released?
Thanks,
Tim.
Louis Szeto
Hi ID349080423
Sorry for the delay. Although we do not support PAXGUSD directly, PAXGBUSD (Binance USD) is supported, and it is convertible to USD Tether by BUSDUSDT. Thus, the base currency has to be set as USDT/BUSD. Please contact support@quantconnect.com for live trading assistance.
Best
Louis
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.
ID349080423
Thanks for your reply.
I put in the following line into my algo init
self.SetAccountCurrency("USDT/BUSD"); # Change account currency
Then I got the error but for USDT/BUSD, is the line above the correct way to set the base currency?
20211009 12:11:20.914 ERROR:: During the algorithm initialization, the following exception has occurred: System.ArgumentException: No conversion path found between source
currency BUSD and destination currency USDT/BUSD
Louis Szeto
Hi ID349080423
Using either one as the base currency is fine, as trading pairs cannot be used as the base currency.
Best
Louis
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.
ID349080423
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!