sammchardy / python-binance

Binance Exchange API python implementation for automated trading
https://python-binance.readthedocs.io/en/latest/
MIT License
5.89k stars 2.2k forks source link

Margin Isolated x10 Error #630

Open ShayanFiroozi opened 3 years ago

ShayanFiroozi commented 3 years ago

I successfully connected to the Binance with my API secrets and easily made a spot order wihtout any problem but when I want to call Margin Isolated x10 get_max_margin_loan() function I got this error :

APIError(code=-11001): Isolated margin account does not exist.

It's strange because I have activated my Isolated 10x account and made many trade over there on Binance.com

Python version: 3.8.6 IDE : VS Code OS: Win 10 x64 python-binance version : Latest

markeyev commented 3 years ago

Hello ShayanFiroozi,

Please verify you turned on the "Enable Margin" flag for your API key in https://www.binance.com/en/my/settings/api-management.

boctulus commented 3 years ago

Hi there! Same problem here but I've the "Enable Margin" flag active :\ Thanks a lot in advance!

Karlheinzniebuhr commented 2 years ago

Having the same problem and Enable Margin is active as well on the api key

Lukkyz commented 4 months ago

Someone has solved this ?