Skip to content

sell_market() being rejected #43

@LShack96

Description

@LShack96
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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions