Hephyrius / binance_futures_bot

A bot that trades leveraged USDT futures markets on binance.
302 stars 124 forks source link

json read error #40

Closed eth-man closed 2 years ago

eth-man commented 2 years ago

im keep getting this message using Ubuntu and python 3.8


Encountered Exception Expecting value: line 1 column 1 (char 0)
Encountered Exception Expecting value: line 1 column 1 (char 0)
Encountered Exception Expecting value: line 1 column 1 (char 0)
Encountered Exception Expecting value: line 1 column 1 (char 0)
Encountered Exception Expecting value: line 1 column 1 (char 0)
Encountered Exception Expecting value: line 1 column 1 (char 0)
Sanaikimdojin commented 2 years ago

settings.json

"api_url" : "https://fapi.binance.com/" = X

"api_url" : "https://fapi.binance.com" = O

try this

From the may 31st, there will be one more / after the url.

If I delete the / after the old url, it works fine.

eth-man commented 2 years ago

wonderful! thank you!

keustii commented 2 years ago

its not working for myself. :/ still having the same error

Encountered Exception Expecting value: line 1 column 1 (char 0)

Pyton 3.9 Windows Server 2016 (V 1607)