Broker API HubMenu

DXtrade API error code

DXtrade API error: 101 Client-originated identifier is not valid

The error, as text you can copy

101 Client-originated identifier is not valid
Kind
API error code
HTTP status
400
API
DXtrade APIs

What does 101 Client-originated identifier is not valid mean on the DXtrade API?

DXtrade errorCode 101, description "Client-originated identifier is not valid" (the vendor's wording). The client order id sent with the order is invalid. The vendor's page refers to its section on client ids for the rules.

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 101 Client-originated identifier is not valid?

Send a client order id that follows the vendor's rules for client ids.