Retrieves comprehensive information about a specific order for opening a position, including the order status, execution details, and all positions that were opened from this order. This endpoint is essential for tracking order execution and identifying which positions were created as a result of a specific order request. The response includes detailed position information with PositionID values that can be used to query position-specific details.
A unique request identifier.
"54b4ea95-99fa-4dfb-994a-2c77e29ac3c9"
API key for authentication.
"lhgfaslk21490FAScVPkdsb53F9dNkfHG4faZSG5vfjndfcfgdssdgsdHF4663"
User-specific authentication key.
"eyJlYW4iOiJVbnJlZ2lzdGVyZWRBcHBsaWNhdGlvbiIsImVrIjoiOE5sZ2cwcW5EUVdROUFNWGpXT2lmOWktZnpidG5KcUlqWGJ3WHJZZkpZcldrbG90ZEhvLVBjSWhQaU8xU1ZtMW84aU1WZGZqN2xWNzFjLXFxLmcybXE1dnh4Q1hUT25xaWRUaTFlcEhmVk1fIn0_"
The unique identifier of the order for opening a position. This is the OrderID that was returned when the order was initially created.
Successfully retrieved order information and associated position details.
Comprehensive order information response containing order details and all positions opened from this order.
The unique identifier of the order. This is the same OrderID that was provided in the request path parameter.
123456789
Customer ID (CID) associated with the order. This identifies the user account that created the order.
987654321
Current status of the order. Common values: 0 = Pending, 1 = Executed, 2 = Cancelled, 3 = Rejected, 4 = Partially Executed. The exact meaning of status codes may vary based on order type and system configuration.
1
Type of the order. Common values: 1 = Market Order, 2 = Limit Order, 3 = Stop Order. The exact order types depend on the trading system configuration.
1
The unique identifier of the financial instrument that the order was placed for. This corresponds to the instrument being traded (e.g., stock, currency pair, commodity).
67890
The timestamp when the order request was initially created and submitted to the system. This is in ISO 8601 format (UTC).
"2024-01-15T10:30:00Z"
Tracking token for the request, used for correlation and debugging purposes. This token is generated by the system and can be used to track the request through various system components.
"550e8400-e29b-41d4-a716-446655440000"
The action type that triggered the order creation. This indicates the reason or context for opening the position, such as manual trade, copy trading, automated strategy, etc.
1
Error code if the order execution failed or encountered an error. This field is null if the order was successful. Error codes are system-specific and should be referenced against the system's error code documentation.
null
Human-readable error message describing any error that occurred during order processing. This field is null if the order was successful. Provides additional context beyond the errorCode.
null
The USD amount that was requested to be invested in the position. This represents the monetary value allocated to the order.
1000
The number of units that were requested to be traded. If the order was placed by units rather than amount, this value represents the requested quantity.
10.5
List of all positions that were opened as a result of this order. Each position in this array represents a successfully executed position created from the order. This array is empty if the order has not yet been executed or if execution failed.