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

Order price not correct

Open songer1993 opened this issue 8 years ago • 4 comments

The market order price is always '0.00000000', for example:

{'symbol': 'BTCUSDT', 'orderId': 87970972, 'clientOrderId': 'vNG6LpxYRwdz9X8MIGCzvV', 'transactTime': 1523993136813, 'price': '0.00000000', 'origQty': '0.01000000', 'executedQty': '0.01000000', 'status': 'FILLED', 'timeInForce': 'GTC', 'type': 'MARKET', 'side': 'BUY'}

songer1993 avatar Apr 17 '18 19:04 songer1993

what is the function you are calling?

Roibal avatar Apr 19 '18 02:04 Roibal

I'm using order_market_buy() and order_market_sell().

songer1993 avatar Apr 21 '18 20:04 songer1993

I have the same issue when I call order_market_buy().

iUmarov avatar Sep 04 '18 08:09 iUmarov

I think it's probably due to Binance's API. I have used ccxt, the same problem exists there.

songer1993 avatar Sep 06 '18 15:09 songer1993