Namespace: GF.Clients.Charts.Custom.NinjaTrader.Cbi
Assembly: GF.Clients.Charts (in GF.Clients.Charts.dll) Version: a2f537322cdaf87d2796303449681c087e96766d
Syntax
public Order CreateOrder( Instrument instrument, OrderAction action, OrderType orderType, TimeInForce timeInForce, int quantity, double limitPrice, double stopPrice, int filled, double avgFillPrice, OrderState initialOrderState, string initialOrderId, string oco, OrderStatusEventCollection history, Object userLink, bool external, string name, string token, bool submitIfTouched )
Parameters
- instrument
- Type: GF.Clients.Charts.Custom.NinjaTrader.CbiInstrument
- action
- Type: GF.Clients.Charts.Custom.NinjaTrader.CbiOrderAction
- orderType
- Type: GF.Clients.Charts.Custom.NinjaTrader.CbiOrderType
- timeInForce
- Type: GF.Clients.Charts.Custom.NinjaTrader.CbiTimeInForce
- quantity
- Type: SystemInt32
- limitPrice
- Type: SystemDouble
- stopPrice
- Type: SystemDouble
- filled
- Type: SystemInt32
- avgFillPrice
- Type: SystemDouble
- initialOrderState
- Type: GF.Clients.Charts.Custom.NinjaTrader.CbiOrderState
- initialOrderId
- Type: SystemString
- oco
- Type: SystemString
- history
- Type: GF.Clients.Charts.Custom.NinjaTrader.CbiOrderStatusEventCollection
- userLink
- Type: SystemObject
- external
- Type: SystemBoolean
- name
- Type: SystemString
- token
- Type: SystemString
- submitIfTouched
- Type: SystemBoolean
Return Value
Type: OrderSee Also