OrderRevise(Int32, NullableDecimal, NullableDecimal, NullableDecimal, ActivationData, Int32, User, Boolean) Method

Method to revise the order.

Definition

Namespace: T4.API
Assembly: T4API.47 (in T4API.47.dll) Version: 4.7.0.0 (4.7.68.4)
C#
public void Revise(
	int piVolume,
	decimal? poLimitPrice,
	decimal? poStopPrice,
	decimal? poTrailPrice,
	ActivationData poActivationData,
	int piMaxShow,
	User poUser,
	bool pbManualOrderIndicator
)

Parameters

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.
poTrailPrice  NullableDecimal
The new trailing price for the order.
poActivationData  ActivationData
The activation trigger details.
piMaxShow  Int32
The MaxShow of the order
poUser  User
The user to pull the order as.
pbManualOrderIndicator  Boolean
True if this was initiated by a user, false if algorithmic

Remarks

Success of this method does NOT indicate that the order has been revised, only that the revision is in progress. OrderUpdate events will be raised with the results of the revision.

Note: The volume specified should be the total volume for the order and not just the working volume. I.e. if a 10 lot order is partially filled 5 lots (so hs 5 lots still working) and you want to revise the order to a 12 lot order (to have 7 lots working) then specify 12 as the volume and not 7.

See Also