UPetit / python-binance-profit

Script to submit a buy order followed by an automatic sell OCO order
MIT License
47 stars 15 forks source link

Invalid JSON error message from Binance: This endpoint has been deprecated #31

Open xLinuxUserx opened 2 years ago

xLinuxUserx commented 2 years ago

Dears,

When I tried to make a purchase I got the error message below. Does anyone have any tips on how to solve this?

binance.exceptions.BinanceAPIException: APIError(code=0): Invalid JSON error message from Binance: This endpoint has been deprecated, please integrate with “GET@/sapi/v1/system/status”. See details in the announcement: https://www.binance.com/en/support/announcement/f45dde7da58b473aa885349946bed269

python3 execute_orders.py --symbol BNBBUSD --buy_type limit --quantity 10.1 --price 640 --profit 1 --loss 50

image

dragoncity17 commented 2 years ago

Same problem, did you fix this ?

wiyye commented 2 years ago

Same here. Any idea?