Comments (10)
I think I've tracked this down. It was pretty easy once I understood the concept of a "pair" on the code. It needs symbols that it can trade into/from USDT. Several of the symbols can't be traded to/from USDT in the US domain. This is the list I'm currently working with and thrown any errors.
ONT
QTUM
ETC
ADA
NEO
ATOM
DOGE
VET
BAT
ETH
from binance-trade-bot.
@nrgapple Did you solve this issue? Was @ABTDoug's assessment correct?
from binance-trade-bot.
Please supply more log lines preceding the error.
from binance-trade-bot.
2021-02-16 18:28:03,978 - crypto_trader_logger - INFO - Selling 200.0 of VET
2021-02-16 18:28:04,326 - crypto_trader_logger - INFO - Balance is 299.7
2021-02-16 18:28:04,698 - crypto_trader_logger - INFO - Selling 200.0 of VET
2021-02-16 18:28:05,044 - crypto_trader_logger - INFO - Balance is 299.7
2021-02-16 18:28:05,422 - crypto_trader_logger - INFO - Selling 200.0 of VET
2021-02-16 18:28:05,781 - crypto_trader_logger - INFO - Balance is 299.7
2021-02-16 18:28:06,183 - crypto_trader_logger - INFO - Selling 200.0 of VET
2021-02-16 18:28:06,528 - crypto_trader_logger - INFO - Balance is 299.7
2021-02-16 18:28:06,902 - crypto_trader_logger - INFO - Selling 200.0 of VET
2021-02-16 18:28:07,249 - crypto_trader_logger - INFO - Balance is 299.7
2021-02-16 18:28:07,635 - crypto_trader_logger - INFO - Selling 200.0 of VET
2021-02-16 18:28:08,008 - crypto_trader_logger - INFO - Balance is 299.7
2021-02-16 18:28:08,402 - crypto_trader_logger - INFO - Selling 200.0 of VET
2021-02-16 18:28:08,779 - crypto_trader_logger - INFO - Balance is 299.7
2021-02-16 18:28:09,132 - crypto_trader_logger - INFO - Selling 200.0 of VET
2021-02-16 18:28:09,316 - crypto_trader_logger - INFO - Error while scouting...
float() argument must be a string or a number, not 'NoneType'
It has been just looping through this for 30 mins
from binance-trade-bot.
Here is from the start. There is more but it is just looping the same thing:
2021-02-16 17:56:11,560 - crypto_trader_logger - INFO - Started
2021-02-16 17:56:12,272 - crypto_trader_logger - INFO - API https://api.binance.us/api
2021-02-16 17:56:12,352 - crypto_trader_logger - INFO - cur price 48429.5
2021-02-16 17:56:12,711 - crypto_trader_logger - INFO - Error while scouting...
float() argument must be a string or a number, not 'NoneType'
2021-02-16 17:56:17,662 - crypto_trader_logger - INFO - cur price 48429.5
2021-02-16 17:56:17,991 - crypto_trader_logger - INFO - Will be jumping from BTC to VET
2021-02-16 17:56:18,038 - crypto_trader_logger - INFO - cur price 48429.5
2021-02-16 17:56:18,367 - crypto_trader_logger - INFO - Error while scouting...
float() argument must be a string or a number, not 'NoneType'
2021-02-16 17:56:19,372 - crypto_trader_logger - INFO - Selling 0.0004 of BTC
2021-02-16 17:56:19,701 - crypto_trader_logger - INFO - Balance is 0.0004061
2021-02-16 17:56:20,049 - crypto_trader_logger - INFO - order
2021-02-16 17:56:20,414 - crypto_trader_logger - INFO -
2021-02-16 17:56:20,734 - crypto_trader_logger - INFO - Waiting for Binance
2021-02-16 17:56:23,726 - crypto_trader_logger - INFO - cur price 48429.8
2021-02-16 17:56:24,046 - crypto_trader_logger - INFO - Error while scouting...
float() argument must be a string or a number, not 'NoneType'
2021-02-16 17:56:29,072 - crypto_trader_logger - INFO -
2021-02-16 17:56:29,398 - crypto_trader_logger - INFO - cur price 48429.8
2021-02-16 17:56:29,417 - crypto_trader_logger - INFO - Sold BTC
2021-02-16 17:56:29,757 - crypto_trader_logger - INFO - Error while scouting...
float() argument must be a string or a number, not 'NoneType'
2021-02-16 17:56:30,781 - crypto_trader_logger - INFO - BUY QTY 300.0
2021-02-16 17:56:31,117 - crypto_trader_logger - INFO -
2021-02-16 17:56:35,095 - crypto_trader_logger - INFO - cur price 48429.8
2021-02-16 17:56:35,450 - crypto_trader_logger - INFO - Error while scouting...
float() argument must be a string or a number, not 'NoneType'
2021-02-16 17:56:40,796 - crypto_trader_logger - INFO - cur price 48429.8
2021-02-16 17:56:41,147 - crypto_trader_logger - INFO - Error while scouting...
float() argument must be a string or a number, not 'NoneType'
2021-02-16 17:56:46,498 - crypto_trader_logger - INFO - cur price 48429.8
2021-02-16 17:56:46,842 - crypto_trader_logger - INFO - Error while scouting...
float() argument must be a string or a number, not 'NoneType'
2021-02-16 17:56:50,732 - crypto_trader_logger - INFO - Bought VET
2021-02-16 17:56:51,157 - crypto_trader_logger - INFO - Error while scouting...
float() argument must be a string or a number, not 'NoneType'
2021-02-16 17:56:52,192 - crypto_trader_logger - INFO - cur price 48429.8
2021-02-16 17:56:52,546 - crypto_trader_logger - INFO - Error while scouting...
float() argument must be a string or a number, not 'NoneType'
I added the curr price log for extra debugging
from binance-trade-bot.
It looks like sometimes the get_market_ticker_price(client, ticker_symbol)
call will not be able to find the ticker that is passed in
from binance-trade-bot.
2021-02-16 19:09:37,490 - crypto_trader_logger - INFO - ticker_symbol: VETUSDT
2021-02-16 19:09:37,810 - crypto_trader_logger - INFO - getting ticker price: 0.04969500
2021-02-16 19:09:38,111 - crypto_trader_logger - INFO - cur price 0.049695
2021-02-16 19:09:38,430 - crypto_trader_logger - INFO - ticker_symbol: EOSUSDT
2021-02-16 19:09:38,772 - crypto_trader_logger - INFO - market ticker price: None
2021-02-16 19:09:39,087 - crypto_trader_logger - INFO - Error while scouting...
float() argument must be a string or a number, not 'NoneType'
I added more logging to this. Looks like EOSUSDT is not coming up in the client.get_symbol_ticker()
request
from binance-trade-bot.
I get this sometimes if the formatting of supported_coin_list isn't exactly right or if there are too many entries in supported_coin_list.
from binance-trade-bot.
I've been unable to debug this error. I'm using the US TLD fix.
I started with DOGE, an order got placed for XLM by the bot and then I started getting this error.
float() argument must be a string or a number, not 'NoneType'
I tried editing the supported_coin_list, I took out all the lines except DOGE and still get the error.
I have 0.02777077 in my USDT wallet that I haven't been able to empty completely. Would a USDT wallet with a starting balance cause this issue?
from binance-trade-bot.
@nrgapple Did you solve this issue? Was @ABTDoug's assessment correct?
Yes this was the issue. Thanks
from binance-trade-bot.
Related Issues (20)
- Is it a way to set amount of each trade value in USD instead of whole balance ?
- How to improve the utilization rate of funds? HOT 1
- What should I do if I want to remove the coin I want from the transaction? HOT 1
- Run error: "<frozen runpy>", line 189, in _run_module_as_main File "<frozen runpy>", line 148, in _get_module_details File "<frozen runpy>", line 112, in _get_module_details HOT 5
- trade bot (binance)
- Chilight Bid
- Binance_trader_api impor error with Docker HOT 1
- error running python -m binance-trade-bot HOT 4
- How to set initial funds on setup instead of using actual initial funds amount currently in account
- Hey HOT 1
- Dependency error HOT 4
- CRITICAL:root:BinanceWebSocketApiManager.stream_is_crashing(923aa366-a9ce-40ee-924a-6984e38c6bef) HOT 2
- cannot import name 'run_with_reloader'
- first run error
- Binance module error
- ModuleNotFoundError: No module named 'cachetools' HOT 1
- Traceback (most recent call last): I SWEAR TO GOD PLS HELP
- backtest.py for 2023 failing consistantly
- No access to Binance??
- Awesome Bot. Keep aLive pls and thy.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from binance-trade-bot.