Broker API HubMenu

eToro API error code

eToro API error: DataRequired

The error, as text you can copy

DataRequired
HTTP status
None recorded for this error
API
eToro

What does DataRequired mean on the eToro API?

The Authenticate message was sent without its data. eToro lists this among the error codes of an unsuccessful WebSocket Authenticate response.

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 unofficialapi-portal.etoro.comchecked

How do I fix DataRequired?

Include the data object in the Authenticate message.