IOrdersApi Interface

GF API Documentation
Public API for Orders functionality

Namespace:  GF.Api.Orders
Assembly:  GF.Api (in GF.Api.dll) Version: dd7171be68430789135ec75c4e9f4bbfeca31201
Syntax

public interface IOrdersApi

The IOrdersApi type exposes the following members.

Properties

  NameDescription
Public propertyDrafts
Order Draft functionality
Top
Methods

  NameDescription
Public methodCancelOrder
Sends cancel request for an existing IOrder.
Public methodGet
Returns all orders.
Public methodGet(AccountID)
Returns orders sent by the given Account
Public methodGet(OrderID)
Returns the order with the given ID. Null if order not found.
Public methodModifyOrder
Modifies an existing IOrder
Public methodSendOCOOrders
Sends a group of orders as OCO - One cancels other
Public methodSendOrder
Sends a new IOrder with parameters supplied by IOrderState instance.
Public methodSendOSOOrders
Sends an chain of orders
Top
Events

  NameDescription
Public eventCommandUpdated
Raised when ICommand (such as cancel or modify) was either executed or failed
Public eventOrderConfirmed
Raised when new IOrder is confirmed and order ID has been assigned by server
Public eventOrderFilled
Raised when new IFill is received or old fill becomes cancelled
Public eventOrderStateChanged
Raised when any IOrderOrderState is changed
Top
See Also

Reference