Skip to content

Order Reject via API: Canceled: Order had ordType of Market\nSubmitted via API. #519

Description

@ManuCN

Hi all,
I tried to submit a market order using the API. It got cxld with the message above. Any idea whats the issue here? I tried to submit the same order again using the API and it worked...
Thanks a lot!
Manuel

Below is the return value of the order function call:
{'orderID': 'c050ff21-724e-4066-8ad2-c058d69606f1',
'clOrdID': '',
'clOrdLinkID': '',
'account': 405604.0,
'symbol': 'AVAXUSDT',
'side': 'Sell',
'simpleOrderQty': None,
'orderQty': 6000.0,
'price': 15.527,
'displayQty': None,
'stopPx': None,
'pegOffsetValue': None,
'pegPriceType': '',
'currency': 'USDT',
'settlCurrency': 'USDt',
'ordType': 'Market',
'timeInForce': 'GoodTillCancel',
'execInst': '',
'contingencyType': '',
'exDestination': 'XBME',
'ordStatus': 'Canceled',
'triggered': '',
'workingIndicator': 0.0,
'ordRejReason': '',
'simpleLeavesQty': None,
'leavesQty': 0.0,
'simpleCumQty': None,
'cumQty': 0.0,
'avgPx': None,
'multiLegReportingType': 'SingleSecurity',
'text': 'Canceled: Order had ordType of Market\nSubmitted via API.',
'transactTime': '2022-10-19T19:35:15.680Z',
'timestamp': '2022-10-19T19:35:15.680Z'}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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