Giter Club home page Giter Club logo

Comments (4)

rel-s avatar rel-s commented on August 17, 2024 1

Signing and actually passing data on to Binance is done through python-binance, which uses your secret key to sign messages. Are you sure your key is entered correctly? Did you manage to successfully use it with another service perhaps?

from binance-trade-bot.

HerrmannHinz avatar HerrmannHinz commented on August 17, 2024 1

Signing and actually passing data on to Binance is done through python-binance, which uses your secret key to sign messages. Are you sure your key is entered correctly? Did you manage to successfully use it with another service perhaps?

works now after regenerating an api key. thx @rel-s

from binance-trade-bot.

HerrmannHinz avatar HerrmannHinz commented on August 17, 2024

update:

introducing the recvWindow did not solve it.

RECV_WINDOW=59999

def get_currency_balance(client, currency_symbol):
    '''
    Get balance of a specific coin
    '''
    for currency_balance in client.get_account(recvWindow=RECV_WINDOW)[u'balances']:
        if currency_balance[u'asset'] == currency_symbol:
            return float(currency_balance[u'free'])
    return None

from binance-trade-bot.

HerrmannHinz avatar HerrmannHinz commented on August 17, 2024

Signing and actually passing data on to Binance is done through python-binance, which uses your secret key to sign messages. Are you sure your key is entered correctly? Did you manage to successfully use it with another service perhaps?

actually i did not try it with another service. but worth a try.
i may generate a new pair of api keys and will try again. but usually i deal a lot on a daily base with keys and key secrets. and i know how to copy paste those. but who knows 😅

thanks! will try again and leave feedback if it works (or not).

from binance-trade-bot.

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.