HostSubmitOrder(Account, Market, BuySell, PriceType, TimeType, Int32, NullableDecimal, NullableDecimal, String, NullableDecimal, ActivationType, ActivationData) Method

Submits the specified order.

Definition

Namespace: T4.API
Assembly: T4API.47 (in T4API.47.dll) Version: 4.7.0.0 (4.7.68.4)
C#
public Order SubmitOrder(
	Account poAccount,
	Market poMarket,
	BuySell penBuySell,
	PriceType penPriceType,
	TimeType penTimeType,
	int piVolume,
	decimal? poLimitPrice,
	decimal? poStopPrice,
	string psTag,
	decimal? poTrailPrice,
	ActivationType penActivationType,
	ActivationData poActivationData
)

Parameters

poAccount  Account
The account to put the order in.
poMarket  Market
The market the order is for.
penBuySell  BuySell
Whether the order is to buy or sell
penPriceType  PriceType
The type of order, e.g. Limit, Market, StopMarket etc.
penTimeType  TimeType
The time the order should work for, e.g. Day, GTC
piVolume  Int32
The new total volume for the order.
poLimitPrice  NullableDecimal
The new limit price for the order, if any.
poStopPrice  NullableDecimal
The new stop trigger price for the order, if any.
psTag  String
Tag allowing you to identify this order. This will be in the Order.Tag property.
poTrailPrice  NullableDecimal
The new trailing price for the order, if any
penActivationType  ActivationType
The activation trigger type, or Immediate.
poActivationData  ActivationData
The activation trigger details.

Return Value

Order
The order created

See Also