TT Time Duration
A TT Time Duration order slices a large quantity order into smaller disclosed order portions for a specified duration to achieve the total goal quantity; child order portions are entered into the market based on an interval or disclosed quantity.
For more information, refer to the TT Time Duration Order section of the Trade help.
Number | Name FIX Tag |
Type |
Required
|
Updatable
|
FieldLocation | Description |
(constructor variable) | Instrument | TRUE | FALSE | OrderProfile | Instrument for native child order | |
1 | OrderQty |
Quantity | TRUE | TRUE | OrderProfile | Order quantity for native child order |
5 | OrderSide |
TRUE | FALSE | OrderProfile | Side for native child order | |
3 | Account |
Account | TRUE | FALSE | OrderProfile | Account for native child order |
11 | OrderType |
TRUE | FALSE | OrderProfile | Order Type for native child order. | |
4 | ChildTIF |
TRUE | FALSE | UserParameters | Time in force for native child order | |
6 | Interval |
Int_t | FALSE | FALSE | UserParameters | Specify either (1) the Interval (time interval for each slice in milliseconds) or (2) DiscVal / DiscValType (quantity disclosed for each slice / disclosed quantity type). |
8 | DiscVal |
Qty_t | FALSE | TRUE | UserParameters | |
9 | DiscValType |
FALSE | FALSE | UserParameters | ||
10 | Variance |
Int_t | FALSE | TRUE | UserParameters | Disclosed quantity variance |
34 | Duration |
Int_t | FALSE | TRUE | UserParameters | Specify the total duration of the order as either (1) Duration / DurationBaseUnit or (2) DurationSTime / DurationETime. |
35 | DurationBaseUnit |
FALSE | TRUE | UserParameters | ||
36 | DurationSTime |
UTCTimestamp_t | FALSE | TRUE | UserParameters | |
37 | DurationETime |
UTCTimestamp_t | FALSE | TRUE | UserParameters | |
2 | LimitPrice |
Price | TRUE | TRUE | OrderProfile | Limit price to be used for native child order |
12 | LimitTicksAway |
Int_t | FALSE | TRUE | UserParameters | If provided, overrides LimitPrice and sets the native child order price to be LimitPriceType-LimitTicksAway for buys and LimitPriceType+LimitTicksAway for sells. |
13 | LimitPriceType |
tt_net_sdk.tt_time_duration.LimitPriceType | FALSE | FALSE | UserParameters | |
15 | WithATickType |
tt_net_sdk.tt_time_duration.WithATickType | FALSE | FALSE | UserParameters | If provided, sets the threshold for the With A Tick behavior that reprices the child order one tick toward the market when available quantity at the opposite inside market is at or below the specified quantity threshold. |
14 | WithATick |
Int_t | FALSE | TRUE | UserParameters | |
16 | LeftoverAction |
TRUE | TRUE | UserParameters | Action to take if any quantity remains after a slice interval is complete. | |
18 | LeftoverTicks |
Int_t | FALSE | TRUE | UserParameters | If LeftoverAction=Payup, this specifies the number of payup ticks. |
17 |
LeftoverTime | FALSE | FALSE | UserParameters | Specifies when to perform the LeftoverAction. | |
25 | LeftoverMktOrderLimitEnabled | Boolean_t | FALSE | TRUE | UserParameters | If LeftoverAction=Go-To-Market and this is enabled, a limit order will be submitted 'LeftoverMktOrderLimitTicks' into the market instead of a market order. |
26 |
LeftoverMktOrderLimitTicks |
Int_t | FALSE | TRUE | UserParameters | |
21 | TriggerPrice |
Price | FALSE | TRUE | OrderProfile | If provided, sets the parameters of a trigger which must be activated before the time slicing portion of the algo will be executed. If IsTrlTrg=TRUE, the trigger will trail instead of being static so TriggerPrice will be ignored. |
20 | TriggerType |
FALSE | FALSE | UserParameters | ||
22 | TriggerPriceType |
FALSE | FALSE | UserParameters | ||
23 | IsTrlTrg |
Boolean_t | FALSE | FALSE | UserParameters | |
24 | TriggerTicksAway |
Int_t | FALSE | TRUE | UserParameters | |
27 | WaitingOption |
tt_net_sdk.tt_time_duration.WaitingOption | TRUE | FALSE | UserParameters | Dictates when to start the parent synthetic order. |
28 | STime |
UTCTimestamp_t | FALSE | TRUE | UserParameters | If WaitingOption is set to Time, this parameter defines the start date/time. Note: Do not set a value for Start Time (STime) when setting a value for the Duration Start Time (DurationSTime). |
29 | ParentTIF |
tt_net_sdk.tt_time_duration.ParentTIF | TRUE | FALSE | UserParameters | Time in force for parent synthetic order |
30 | ETime |
UTCTimestamp_t | FALSE | TRUE | UserParameters | If ParentTIF is set to Time, ETime defines the end date/time and ETimeAct defines the end time action. If the ETimeAction is set to GoToMarket and ETAGoToMktTicksEnabled is set to True, then ETAGoToMktTicks defines the number of ticks through the market that a limit order will be submitted through market. |
31 | ETimeAct |
tt_net_sdk.tt_time_duration.ETimeAct | FALSE | FALSE | UserParameters | |
32 | ETAGoToMktTicksEnabled | Boolean_t | FALSE | TRUE | UserParameters | |
33 | ETAGoToMktTicks |
Int_t | FALSE | TRUE | UserParameters | |
19 | AutoResubExpiredGTD |
Boolean_t | FALSE | FALSE | UserParameters | If set to True and ChildTIF is set to GTD, the child order will be resubmitted when the market reopens if the current session closes and there is still unfilled quantity. |