Closed bestlinkXx closed 6 years ago
Even if I try .get() It doen't work.
Which symbol?
I can't put any symbol. I didn't modify your script. That's why it was weird.
I think it's : WTCBTC
I think all the problem is here :
File "C:\Users\Julien\Desktop\binance-trader-master\trader.py", line 191, in
Because we can't input any symbol. That's why we can't catch lastPrice
Finally I fix problem,
My main problem it's too have correct buying price.
price:0.00031565 buyp:0.00031254 sellp:0.00031596-bid:0.00031253 ask:0.00031597 BTC:$14711.0
Error: Account has insufficient balance for requested action. [Finished in 101.4s]
Why I don't have same order between 0.00031596 and 0.000312 ?
Hi, How is it possible to fix this problem ?
File "C:\Users\Julien\Desktop\binance-trader-master\trader.py", line 117, in action lastPrice = get_ticker(symbol) File "C:\Users\Julien\Desktop\binance-trader-master\trader.py", line 101, in get_ticker return float(ret["lastPrice"]) KeyError: 'lastPrice'