Aarron-shaw

Results 4 comments of Aarron-shaw

`res = client.futures_create_order( symbol=cur, side=action, type='LIMIT', timeInForce='GTC', quantity=min, price=price)` The limit order

Solved using binance helper. ``` def get_min_quant(symbol): info = client.futures_exchange_info() for item in info['symbols']: if(item['symbol'] == symbol): for f in item['filters']: if f['filterType'] == 'LOT_SIZE': return f['minQty'] tick = get_ticksize(cur)...

> Hello Aarron! I have the same problem as you, but I can't find a way to solve it! Can you share the function code with me?: > > get_ticksize...

use `def get_profit(price,current,qty, side ): if side == 'BUY': profit = (current - price) * qty if side == 'SELL': profit = (price - current) * qty return profit `