python-binance icon indicating copy to clipboard operation
python-binance copied to clipboard

Binance Exchange API python implementation for automated trading

Results 269 python-binance issues
Sort by recently updated
recently updated
newest added

For example, the current price of ETH is 2000 usdt. And now, I want to create a SHORT future order at a specified price of 1500 usdt by the function...

https://binance-docs.github.io/apidocs/futures/en/#cancel-multiple-orders-trade ``` client.futures_cancel_orders(symbol='BTCUSDT',orderIdList=[1234567]) raise Error : APIError(code=-1022): Signature for this request is not valid. ``` This api does not work

Hi I have tried the following both but I have this error: binance_client.cancel_order(symbol=Ticker, orderId=Orders_NEW['orderId'][4], origClientOrderId = Orders_NEW['clientOrderId'][4]) binance_client.cancel_order(symbol=Ticker, orderId=Orders_NEW['orderId'][4]) APIError(code=-2011): Unknown order sent.

Hi! At first: Thx for this API! Now, I have the following problem. An example: My bot made a limit_sell_order, which was **fully executed at 14:39.00** according to order history...

**Describe the bug** When I try to trade futures, I always get this error: `binance.exceptions.BinanceAPIException: APIError(code=-1121): Invalid symbol` The thing is I'm using valid pairs (eg: BTCUSDT). I can get...

Just wondering if there is a plan to implement this feature from the binance-official-api: Cancel All Open Orders on a Symbol (TRADE) - Cancels all active orders on a symbol....

Hi guys, i'm trying to figure out how to get an active OCO order, if i use get_order which one i get? i mean... an OCO has TWO orders, how...

**Describe the bug** --Trying to CACCEL OCO order with following commands result = client.cancel_order(symbol=TRADE_SYMBOL,orderListId=10035) --it seems issue with orderListId argument. logs for OCO order (pasted in the last) showing orderListId=10035....

Hi there, I realize TroyHGP already asked about this here: https://github.com/sammchardy/python-binance/issues/533 I've been trying to follow Iterums' advice, copied below "The API call for this on Binance is documented here:...

I am trying to place a futures order, adausdt perpetual future to be precise. I take the following action : `client.futures_create_order(symbol='ADAUSDT',side=SIDE_BUY,type=ORDER_TYPE_MARKET,quantity=15)` I get the following error : `binance.exceptions.BinanceAPIException: APIError(code=-2019): Margin...