DXtrade API error code
DXtrade API error: 401 Unauthorized
What does 401 Unauthorized mean on the DXtrade API?
DXtrade REST API: The client is not authorised in the system. Elsewhere on the same page the vendor says a request sent with an expired token receives 401 Unauthorized.
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.
How do I fix 401 Unauthorized?
For an expired token, the vendor's page says the client is expected to repeat the authentication procedure.