AccountCreateOrder Method (Instrument, OrderAction, OrderType, TimeInForce, Int32, Double, Double, String, String)

GF Charts Help

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,
	string oco,
	string name
)

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
oco
Type: SystemString
name
Type: SystemString

Return Value

Type: Order
See Also

Reference