cryptocom-exchange
cryptocom-exchange copied to clipboard
sell_market() being rejected
order_id = await account.sell_market(
pair=exchange.pairs['CRO_USDT'],
quantity=232.19
wait_for_fill=True
)
Order(id=2587823363968787040, status=<OrderStatus.REJECTED: 'REJECTED'>, side=<OrderSide.SELL: 'SELL'>, price=0.0, quantity=232.19, client_id='', created_at=1654959946, updated_at=1654959946, type=<OrderType.MARKET: 'MARKET'>, pair=Pair(exchange_name='CRO_USDT', price_precision=5, quantity_precision=3), filled_quantity=0.0, filled_price=0.0, fees_coin=None, force_type=<OrderForceType.GOOD_TILL_CANCEL: 'GOOD_TILL_CANCEL'>, trigger_price=None, trades=[])
Order is being rejected and I cannot find a 'reason code' as in the API when account.get_order(order_id) is called. Therefore, I cannot diagnose why the order is failing.