Comments (4)
What version of Python are you running? The above line runs fine on mine. I suspect it's due to the fact that format strings were introduced in python 3.7
. See here for more info on f strings.
So make sure your version of Python is >=3.7
. You can check your python version by running python --version
in a terminal.
from binance-trading-bot-new-coins.
Thank you, resolved it, needed to run it with the command python3 main.py
from binance-trading-bot-new-coins.
Now I have new issue, what are those?
working...
Exception in thread Thread-2 (search_and_update):
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
self.run()
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/threading.py", line 946, in run
self._target(*self._args, **self._kwargs)
File "/Users/ea/Library/Mobile Documents/comappleCloudDocs/Programing/binance-trading-bot-new-coins-main/new_listings_scraper.py", line 69, in search_and_update
latest_coin = get_last_coin()
File "/Users/ea/Library/Mobile Documents/comappleCloudDocs/Programing/binance-trading-bot-new-coins-main/new_listings_scraper.py", line 33, in get_last_coin
uppers = ''.join(item[1] for item in enum if item[1].isupper() and (enum[enum.index(item)+1][1].isupper() or enum[enum.index(item)+1][1]==' ' or enum[enum.index(item)+1][1]==')') )
File "/Users/ea/Library/Mobile Documents/comappleCloudDocs/Programing/binance-trading-bot-new-coins-main/new_listings_scraper.py", line 33, in
uppers = ''.join(item[1] for item in enum if item[1].isupper() and (enum[enum.index(item)+1][1].isupper() or enum[enum.index(item)+1][1]==' ' or enum[enum.index(item)+1][1]==')') )
IndexError: list index out of range
from binance-trading-bot-new-coins.
also get this
binance.exceptions.BinanceAPIException: APIError(code=-1003): Too much request weight used; current limit is 1200 request weight per 1 MINUTE. Please use the websocket for live updates to avoid polling the API.
from binance-trading-bot-new-coins.
Related Issues (20)
- Hi. I received the following message: IException: APIError(code=-1003): Too much request weight used; current limit is 1200 request weight per 1 MINUTE. Please use the websocket for live updates to avoid polling the API. How can I use the websocket to prevent too much polling?
- Unable to locate element: {"method":"css selector","selector":"[id="link-0-0-p1"]"} HOT 3
- Killed my account HOT 13
- . HOT 2
- list index out of range HOT 4
- Script not running
- Module not found error HOT 1
- Is it must to keep binance logged in chrome ?
- Important params unused HOT 1
- Syntax error in main.py HOT 2
- Not enough balance to complete sell order HOT 1
- Python version
- Profit? HOT 1
- Sell after a certain period of time HOT 1
- Selenium error with the CSS ID HOT 1
- doesn't buy
- error message HOT 1
- this function is deprecated now
- ModuleNotFoundError: No module named 'auth.binance_auth'
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-trading-bot-new-coins.