-
Notifications
You must be signed in to change notification settings - Fork 825
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Float problem #8
Comments
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. |
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 Order Id: 11725097
|
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'
The text was updated successfully, but these errors were encountered: