sammchardy / python-binance

Binance Exchange API python implementation for automated trading
https://python-binance.readthedocs.io/en/latest/
MIT License
6.02k stars 2.2k forks source link

invalid signature #102

Closed LiYijin closed 2 years ago

LiYijin commented 6 years ago

Hello, I met this problem just now, which never met before. I guess, is this because that sigature algorithm updated? Thank you very much~

Kato-Official commented 6 years ago

Hi @LiYijin , in which instance exactly did you get this error? at the initial connection to API or when you are try an client side buy or sell order? can you give more info please? Cheers

pearsonkyle commented 6 years ago

I am getting the same error trying to perform a test market order buy and sell.

from binance.client import Client
from binance.enums import *

client = Client(settings['key'],settings['secret'])

order = client.create_test_order(
    symbol='XRPETH',
    side=SIDE_BUY,
    type=ORDER_TYPE_MARKET,
    quantity=20,
    timeInForce=TIME_IN_FORCE_GTC,
    recvWindow=6000000
)
rxcod9 commented 5 years ago

https://github.com/jaggedsoft/php-binance-api#248 https://github.com/binance-exchange/php-binance-api#59 https://github.com/yasinkuyu/binance-trader#263 https://github.com/zoeyg/binance/pull/75

Nextein commented 2 years ago

I've encountered this problem too calling

client.get_isolated_margin_account(symbols=['BTCUSDT,ETHUSDT']