Broker API HubMenu

DXtrade order rejection reason

DXtrade order rejection reason: OrdRejReason 6 DUPLICATE_ORDER

The error, as text you can copy

OrdRejReason 6 DUPLICATE_ORDER
Kind
Order rejection reason
Where you meet it
In the rejection the API reports, not in the HTTP status
API
DXtrade APIs

What does OrdRejReason 6 DUPLICATE_ORDER mean on the DXtrade API?

In the DXtrade FIX Trading API, DUPLICATE_ORDER is value 6 of the OrdRejReason (103) field, which the vendor says is present only on rejected orders. The vendor's page lists the value by name and gives it no further description. The vendor adds that DUPLICATE_ORDER means a duplicate ClOrdId (11) value.

Risk warning: CFDs and spread bets are complex instruments and come with a high risk of losing money rapidly due to leverage. You can lose money on these products, and each provider publishes its own loss figure under FCA rules. You should consider whether you understand how they work and whether you can afford to take the high risk of losing your money. Automated and API trading can amplify losses through bugs, connectivity failures and runaway orders.

Independent and unofficialdemo.dx.tradechecked

How do I fix OrdRejReason 6 DUPLICATE_ORDER?

Send a ClOrdId (11) value that has not been used before.