ApiTradeOrderResponseDTO

Description

The response from the trade request.

 

Properties

Name Type Description
Status integer

The status of the order (Pending, Accepted, Open, etc.). The table of lookup codes can be found at Lookup Values.

StatusReason integer

The ID corresponding to a more descriptive reason for the order status. The table of lookup codes can be found at Lookup Values.

OrderId integer

The unique identifier associated to the order returned from the underlying trading system.

Orders ApiOrderResponseDTO

List of orders with their associated response.

Quote ApiQuoteResponseDTO

Quote response.

Actions ApiOrderActionResponseDTO

List of order actions with their associated response.

ErrorMessage string

Contains the error message - this is only used when the Status = -1.

 

Last updated: 23 June 2022

 

 

 

Copyright © 2024 GAIN Capital