OrderRevisionBatchAdd(Order, Int32, NullableDecimal, NullableDecimal, NullableDecimal, ActivationData, Int32, User, Boolean) Method
Adds the specified order and it's revision details to the batch.
Namespace: T4.APIAssembly: T4API.47 (in T4API.47.dll) Version: 4.7.0.0 (4.7.68.4)
public void Add(
Order poOrder,
int piVolume,
decimal? poLimitPrice,
decimal? poStopPrice,
decimal? poTrailPrice,
ActivationData poActivationData,
int piMaxShow,
User poUser,
bool pbManualOrderIndicator
)
Public Sub Add (
poOrder As Order,
piVolume As Integer,
poLimitPrice As Decimal?,
poStopPrice As Decimal?,
poTrailPrice As Decimal?,
poActivationData As ActivationData,
piMaxShow As Integer,
poUser As User,
pbManualOrderIndicator As Boolean
)
Parameters
- poOrder Order
- The order to be revised.
- piVolume Int32
- The new total volume for the order. Specify the existing value if you don't want to change it.
- poLimitPrice NullableDecimal
- The new limit price for the order. Specify the existing value if you don't want to change it.
- poStopPrice NullableDecimal
- The new stop trigger price for the order. Specify the existing value if you don't want to change it.
- poTrailPrice NullableDecimal
- The new trailing price for the order. Specify the existing value if you don't want to change it.
- poActivationData ActivationData
- The activation trigger details. Specify the existing value if you don't want to change it.
- piMaxShow Int32
- The new max show for the order. Specify the existing value if you don't want to change it.
- poUser User
- The user to revise the order with.
- pbManualOrderIndicator Boolean
- True if an actual person is causing this
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.