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

[BUG] (Code 401) API-key format invalid. #25

Closed Avik-Jain closed 3 years ago

Avik-Jain commented 3 years ago

Describe the bug (Code 401) API-key format invalid. To Reproduce python execute_orders.py --symbol TRXBTC --buy_type market --total 0.00004 --profit 4 --loss 2

Expected behavior Order to be placed

Screenshots image

Environment (please complete the following information):

Avik-Jain commented 3 years ago

Saved the API keys with quotes " in the env variable so the binance client was unable to process the keys.