Good day.
I have started to get the following error today:
During the algorithm initialization, the following exception has occurred: Error getting cash balance from brokerage: BinanceBrokerage.StartSession: request failed: [451] , Content: { "code": 0, "msg": "Service unavailable from a restricted location according to 'b. Eligibility' in https://www.binance.com/en/terms. Please contact customer service if you believe you received this message in error."}, ErrorMessage: BinanceBrokerage.StartSession: request failed: [451] , Content: { "code": 0, "msg": "Service unavailable from a restricted location according to 'b. Eligibility' in https://www.binance.com/en/terms. Please contact customer service if you believe you received this message in error."}, ErrorMessage: in BinanceBaseRestApiClient.cs:line 480 BinanceBrokerage.StartSession: request failed: [451] , Content: { "code": 0, "msg": "Service unavailable from a restricted location according to 'b. Eligibility' in https://www.binance.com/en/terms. Please contact customer service if you believe you received this message in error."}, ErrorMessage:
Bincance support said they are no longer working with US IPs and that is why Quantconnect live algo can't connect.
Could someone please tell - is Quantconnect still able to work with Binance?
Yuri Lopukhov
Well, I think its pretty clear that no US-based server can work with Binance anymore.
It would be nice if QuantConnect would have different server locations for a number of reasons, and I'd love to know if they are planning it, but right now I am guessing you have only 2 options:
Anton Kiselev
Yeah, though it would be great to hear official Quantconnect position since Binance is the biggest crypto exchange.
Would be great to know if they are aware of the issue or if there is a plan to either abandon Binance support or if they are going to work on that. I haven't seen any posts or warnings from Quantconnect about it.
Basically it would be easier for me to go to a different exchange if Quantconnect abandons Binance and I still want my algos to run here. I guess it is easier than setting up LEAN by myself.
Anton Kiselev
Got the response from Quantconnect:
We are aware of the issue.
QuantConnect's servers are located in the USA, and Binance has changed its location rules with short notice.
We have a solution for this restriction and we will try our best to put it into production within a week.
Anton Kiselev
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!