GithubHelp home page GithubHelp logo

KeyError: 'ATA' about binance-report-bot HOT 10 CLOSED

SaLuci avatar SaLuci commented on July 21, 2024
KeyError: 'ATA'

from binance-report-bot.

Comments (10)

titulebolide avatar titulebolide commented on July 21, 2024

What is the error log? Because I'm not sure if just don't shows up in the tickers or if it is another problem

from binance-report-bot.

SaLuci avatar SaLuci commented on July 21, 2024

Sorry, i forgot to add the Error log.

Traceback (most recent call last):
  File "main.py", line 82, in <module>
    cli()
  File "/home/ubuntu/.local/lib/python3.8/site-packages/click/core.py", line 1137, in __call__
    return self.main(*args, **kwargs)
  File "/home/ubuntu/.local/lib/python3.8/site-packages/click/core.py", line 1062, in main
    rv = self.invoke(ctx)
  File "/home/ubuntu/.local/lib/python3.8/site-packages/click/core.py", line 1668, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/ubuntu/.local/lib/python3.8/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/ubuntu/.local/lib/python3.8/site-packages/click/core.py", line 763, in invoke
    return __callback(*args, **kwargs)
  File "main.py", line 76, in output
    figname = bot.crypto.plot_symbol(reports, symbol, relative, days)
  File "/home/ubuntu/binance-report-bot/bot/crypto.py", line 124, in plot_symbol
    ticker = report['tickers'][symbol]
KeyError: 'ATA'

here it is.

from binance-report-bot.

titulebolide avatar titulebolide commented on July 21, 2024

Which command were you calling with which options?

from binance-report-bot.

SaLuci avatar SaLuci commented on July 21, 2024

i was calling python3 main.py output --symbol '*'

from binance-report-bot.

titulebolide avatar titulebolide commented on July 21, 2024

Ha yeah that makes sense. Have you added ATA to the COINS list after setting up the bot?

from binance-report-bot.

SaLuci avatar SaLuci commented on July 21, 2024

Yeah, i did.
After I got the error message I added ATA, but i didnt change.
if i do python3 main.py output --symbol EOS its working like normal

from binance-report-bot.

titulebolide avatar titulebolide commented on July 21, 2024

You get the error message about missing ATA before having it in the COINS?
Because the routine sums up to this:

if symbol == '*':
  symbol = conf.COINS
[...]
for symbol in symbols:     
  for report in reports:
    ticker = report['tickers'][symbol]

from binance-report-bot.

SaLuci avatar SaLuci commented on July 21, 2024

wait a sec, let me remove it again from my list....
EDIT: i just removed it and the error disappeared. i think there was a Error before it was "Tradable" on Binance.

from binance-report-bot.

titulebolide avatar titulebolide commented on July 21, 2024

So it might not be the same error than the one you pasted I guess...

from binance-report-bot.

titulebolide avatar titulebolide commented on July 21, 2024

Closing for now, please reopen when you face this issue again!

from binance-report-bot.

Related Issues (6)

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.