GithubHelp home page GithubHelp logo

Comments (14)

titulebolide avatar titulebolide commented on July 21, 2024

I'll make a commit soon so that you will be able to give me additional information

from binance-report-bot.

titulebolide avatar titulebolide commented on July 21, 2024

Can you pull the latest commit and run

python3 main.py snapshot --debug

And paste the output?
Thanks!

from binance-report-bot.

SaLuci avatar SaLuci commented on July 21, 2024

give me a sec....

from binance-report-bot.

SaLuci avatar SaLuci commented on July 21, 2024

This is the output:

['NEO', 'XRP', 'WIN', 'LDBNB', 'ZIL', 'ONT', 'EOS', 'MATIC', 'ICX', 'TRX', 'CAKE', 'IOTA', 'ATOM', 'BUSD', 'OMG', 'OCEAN', 'ROSE', 'AION', 'UNI', 'ETC', 'ADA', 'QTUM', 'DASH', 'BTT', 'REEF', 'BNB', 'MANA', 'WRX', 'VET', 'XLM', 'DOT', 'USDT', 'ALGO', 'LTC', 'EUR', 'BAT', 'PUNDIX', 'LINK', 'SRM']

{'USDT': 0.9992, 'USD': 1, 'NEO': 53.553, 'XRP': 0.9877, 'WIN': 0.0005151, 'ZIL': 0.1104, 'ONT': 1.0955, 'EOS': 6.1935, 'MATIC': 1.82155, 'ETH': 2598.59, 'ICX': 1.1066, 'TRX': 0.07472, 'CAKE': 17.385, 'IOTA': 1.0837, 'ATOM': 13.321, 'BUSD': 0.9995, 'OMG': 6.2565, 'OCEAN': 0.5907, 'ROSE': 0.07946, 'AION': 0.1978, 'UNI': 26.995, 'ETC': 67.757, 'ADA': 1.6611, 'QTUM': 11.657, 'DASH': 186.99, 'BTT': 0.0037234, 'REEF': 0.025933, 'BNB': 341.99, 'MANA': 0.812, 'WRX': 2.3167, 'VET': 0.11765, 'XLM': 0.39007, 'DOT': 22.065, 'ALGO': 0.911, 'LTC': 182.37, 'EUR': 1.2206, 'BTC': 36690.78, 'BAT': 0.7397, 'PUNDIX': 1.628, 'LINK': 30.334, 'SRM': 4.6316}

Traceback (most recent call last):
  File "main.py", line 80, 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 24, in snapshot
    crypto_report = bot.crypto.get_report(debug)
  File "/home/ubuntu/binance-report-bot/bot/crypto.py", line 61, in get_report
    total_usdt += balances[symbol]*tickers[symbol]
KeyError: 'LDBNB'

from binance-report-bot.

titulebolide avatar titulebolide commented on July 21, 2024

Do you have any coin in your wallet named "LDBNB"?

from binance-report-bot.

SaLuci avatar SaLuci commented on July 21, 2024

no, I thought the same, I got BNB.
I get the same Error with your default coins.

from binance-report-bot.

titulebolide avatar titulebolide commented on July 21, 2024

That's weird, it's as if binance were saying you were holding LDBNB...
Could you run the following code in a python console (in the program's repository) and paste the result?:

import binance
import conf
api = binance.Client(conf.BINANCE_API_KEY, conf.BINANCE_API_SECRET)
print(sorted([t['asset'] for t in l['balances']]))

EDIT : Don't need to run the provious code, it seems that it has something to do with binance savings

from binance-report-bot.

SaLuci avatar SaLuci commented on July 21, 2024

That's weird, it's as if binance were saying you were holding LDBNB...
Could you run the following code in a python console (in the program's repository) and paste the result?:

import binance
import conf
api = binance.Client(conf.BINANCE_API_KEY, conf.BINANCE_API_SECRET)
print(sorted([t['asset'] for t in l['balances']]))

EDIT : Don't need to run the provious code, it seems that it has something to do with binance savings

Yeah your right, i got BNB in my savings account

from binance-report-bot.

titulebolide avatar titulebolide commented on July 21, 2024

I had never heard about what saving accounts are. Do you consider it should to be taken in account in the bot's calculations?

from binance-report-bot.

SaLuci avatar SaLuci commented on July 21, 2024

not really, those don't change much.
so i don't see a point in tracking them.

from binance-report-bot.

titulebolide avatar titulebolide commented on July 21, 2024

Okay then, i'll add a filter that exclude these for now. Thanks a lot for reporting and your help!

from binance-report-bot.

SaLuci avatar SaLuci commented on July 21, 2024

thank you for your time

from binance-report-bot.

titulebolide avatar titulebolide commented on July 21, 2024

I commited it, please reopen this issue if it still appears :)

from binance-report-bot.

SaLuci avatar SaLuci commented on July 21, 2024

Just pulled it, working now.
Thank you for your help

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.