Giter Site home page Giter Site logo

Comments (4)

acediatic avatar acediatic commented on August 14, 2024

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.

CryptoAngel avatar CryptoAngel commented on August 14, 2024

Thank you, resolved it, needed to run it with the command python3 main.py

from binance-trading-bot-new-coins.

CryptoAngel avatar CryptoAngel commented on August 14, 2024

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.

CryptoAngel avatar CryptoAngel commented on August 14, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.