OrderSubmissionBatchAdd(Account, Market, BuySell, PriceType, Int32, NullableDecimal, NullableDecimal, String) Method

Adds the specified order to the batch to be pulled by the Master user.

Definition

Namespace: T4.API
Assembly: T4API.47 (in T4API.47.dll) Version: 4.7.0.0 (4.7.68.4)
C#
public void Add(
	Account poAccount,
	Market poMarket,
	BuySell penBuySell,
	PriceType penPriceType,
	int piVolume,
	decimal? poLimitPrice,
	decimal? poStopPrice,
	string psTag
)

Parameters

poAccount  Account
The account to put the order in.
poMarket  Market
The market the order is for.
penBuySell  BuySell
Whether to buy or sell
penPriceType  PriceType
The type of order, e.g. Limit, Market, StopMarket etc
piVolume  Int32
The new total volume for the order.
poLimitPrice  NullableDecimal
The new limit price for the order.
poStopPrice  NullableDecimal
The new stop trigger price for the order.
psTag  String
Tag for identifying this order. This will be put in Order.Tag property.

See Also