ApiOrderResponseDTO

Description

Response to an order request.

 

Properties

Name Type Description
OrderId integer

Order ID.

StatusReason integer

Order status reason ID. The table of lookup codes can be found at Lookup Values.

Status integer

Order status ID. The table of lookup codes can be found at Lookup Values.

OrderTypeId integer

Order type ID. The table of lookup codes can be found at Lookup Values.

Price number
format decimal

Order fill price.

Quantity number
format decimal

Order quantity

TriggerPrice number
format decimal

Trigger price, if applicable

CommissionCharge number
format decimal

Commission charge.

IfDone ApiIfDoneResponseDTO

List of If/Done orders.

GuaranteedPremium number
format decimal

Premium for guaranteed orders.

OCO ApiOrderResponseDTO

An order in an OCO relationship with this order.

AssociatedOrders ApiAssociatedResponseDTO Associated orders that are linked to this order. An associated order is linked to a net position rather than to specific individual trades.
Associated boolean Flag to indicate if this is an associated order.

 

Last updated: 29 May 2020

 

 

Questions or comments? Visit the FAQs at: http://faq.labs.gaincapital.com/

 

Copyright © 2020 GAIN Capital