Public API for Orders functionality
Namespace: GF.Api.Orders
Assembly: GF.Api (in GF.Api.dll) Version: dd7171be68430789135ec75c4e9f4bbfeca31201
Syntax
The IOrdersApi type exposes the following members.
Properties
Name | Description | |
---|---|---|
![]() | Drafts |
Order Draft functionality
|
Methods
Name | Description | |
---|---|---|
![]() | CancelOrder |
Sends cancel request for an existing IOrder.
|
![]() | Get |
Returns all orders.
|
![]() | Get(AccountID) |
Returns orders sent by the given Account
|
![]() | Get(OrderID) |
Returns the order with the given ID.
Null if order not found.
|
![]() | ModifyOrder |
Modifies an existing IOrder |
![]() | SendOCOOrders |
Sends a group of orders as OCO - One cancels other
|
![]() | SendOrder |
Sends a new IOrder with parameters supplied by IOrderState instance.
|
![]() | SendOSOOrders |
Sends an chain of orders
|
Events
Name | Description | |
---|---|---|
![]() | CommandUpdated |
Raised when ICommand (such as cancel or modify) was either executed or failed
|
![]() | OrderConfirmed |
Raised when new IOrder is confirmed and order ID has been assigned by server
|
![]() | OrderFilled |
Raised when new IFill is received or old fill becomes cancelled
|
![]() | OrderStateChanged |
Raised when any IOrderOrderState is changed
|
See Also