Show / Hide Table of Contents

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.

TT Time Duration

TT Time Duration

TT Time Duration

TT Time Duration

TT Time Duration

Number

Name

FIX Tag

Type
Required
Updatable
FieldLocation Description
(constructor variable) Instrument TRUE FALSE OrderProfile Instrument for native child order
1

OrderQty

Tag 38

Quantity TRUE TRUE OrderProfile Order quantity for native child order
5

OrderSide

Tag 54

tt_net_sdk.OrderSide

TRUE FALSE OrderProfile Side for native child order
3

Account

Tag 1

Account TRUE FALSE OrderProfile Account for native child order
11

OrderType

Tag 40

tt_net_sdk.OrderType

TRUE FALSE OrderProfile Order Type for native child order.
4

ChildTIF

Tag 16903

tt_net_sdk.TimeInForce

TRUE FALSE UserParameters Time in force for native child order
6

Interval

Tag 16907

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

Tag 16904

Qty_t FALSE TRUE UserParameters
9

DiscValType

Tag 16905

tt_net_sdk.tt_time_duration.DiscValType

FALSE FALSE UserParameters
10

Variance

Tag 16958

Int_t FALSE TRUE UserParameters Disclosed quantity variance
34

Duration

Tag 16944

Int_t FALSE TRUE UserParameters Specify the total duration of the order as either (1) Duration / DurationBaseUnit or (2) DurationSTime / DurationETime.
35

DurationBaseUnit

Tag 16945

tt_net_sdk.tt_time_duration.DurationBaseUnit

FALSE TRUE UserParameters
36

DurationSTime

Tag 16946

UTCTimestamp_t FALSE TRUE UserParameters
37

DurationETime

Tag 16947

UTCTimestamp_t FALSE TRUE UserParameters
2

LimitPrice

Tag 44

Price TRUE TRUE OrderProfile Limit price to be used for native child order
12

LimitTicksAway

Tag 16912

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

Tag 16911

tt_net_sdk.tt_time_duration.LimitPriceType FALSE FALSE UserParameters
15

WithATickType

Tag 16921

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

Tag 16922

Int_t FALSE TRUE UserParameters
16

LeftoverAction

Tag 16909

tt_net_sdk.tt_time_duration.LeftoverAction

TRUE TRUE UserParameters Action to take if any quantity remains after a slice interval is complete.
18

LeftoverTicks

Tag 16910

Int_t FALSE TRUE UserParameters If LeftoverAction=Payup, this specifies the number of payup ticks.
17

LeftoverTime

Tag 16971

tt_net_sdk.tt_time_duration.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

Tag 16966

Int_t FALSE TRUE UserParameters
21

TriggerPrice

Tag 99

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

Tag 16920

tt_net_sdk.tt_time_duration.TriggerType

FALSE FALSE UserParameters
22

TriggerPriceType

Tag 16918

tt_net_sdk.tt_time_duration.TriggerPriceType

FALSE FALSE UserParameters
23

IsTrlTrg

Tag 16908

Boolean_t FALSE FALSE UserParameters
24

TriggerTicksAway

Tag 16919

Int_t FALSE TRUE UserParameters
27

WaitingOption

Tag 16961

tt_net_sdk.tt_time_duration.WaitingOption TRUE FALSE UserParameters Dictates when to start the parent synthetic order.
28

STime

Tag 168

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

Tag 16950

tt_net_sdk.tt_time_duration.ParentTIF TRUE FALSE UserParameters Time in force for parent synthetic order
30

ETime

Tag 126

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

Tag 16906

tt_net_sdk.tt_time_duration.ETimeAct FALSE FALSE UserParameters
32 ETAGoToMktTicksEnabled Boolean_t FALSE TRUE UserParameters
33

ETAGoToMktTicks

Tag 16960

Int_t FALSE TRUE UserParameters
19

AutoResubExpiredGTD

Tag 16949

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.
In this article
Back to top