v1
latestOpenAPI 3.0.12026-07-26171200932.8 KBDeprecated
Cancels a Market-if-touched order that has not yet been executed.
Deprecated: This endpoint is no longer present in the current eToro Public API Swagger. Prefer the current replacement endpoints where available.
This endpoint allows traders to cancel a Market-if-touched order before it is executed. Once canceled, the order will no longer be processed.
delete/api/v1/trading/execution/demo/limit-orders/{orderId}
Path parameters
orderIdinteger required
The unique identifier of the Market-if-touched order to be canceled.
Headers
x-request-idstring uuid required
Example:ba08e8a6-1a49-450e-8f4f-15fe111976d1
A unique request identifier.
x-api-keystring password required
Example:lhgfaslk21490FAScVPkdsb53F9dNkfHG4faZSG5vfjndfcfgdssdgsdHF4663
API key for authentication.
x-user-keystring password required
Example:eyJlYW4iOiJVbnJlZ2lzdGVyZWRBcHBsaWNhdGlvbiIsImVrIjoiOE5sZ2cwcW5EUVdROUFNWGpXT2lmOWktZnpidG5KcUlqWGJ3WHJZZkpZcldrbG90ZEhvLVBjSWhQaU8xU1ZtMW84aU1WZGZqN2xWNzFjLXFxLmcybXE1dnh4Q1hUT25xaWRUaTFlcEhmVk1fIn0_
User-specific authentication key.
Response
Successfully canceled the Market-if-touched order. The response includes a confirmation token.