Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Expiration time
Collapse
X
-
Expiration time
When NT receives orders from TradeStation via DLL interface it sets the expiration time to DAY. I read in the help files that orders with DAY in the TIF column are cancelled at 5 pm EST, which is not what i want . So essentially my question is how to change that to GTC (good-till-cancelled)?Tags: None
-
Any of the order functions for TS are wrappers of the NTCommand() function. You could use the NTCommand() function directly which has a parameter for Time In Force" or you can ammend or create new order submission wrapper functions that includes this parameter. Pass in "GTC" for the time in force you want.RayNinjaTrader Customer Service
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
102 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|
||
|
Started by M4ndoo, 04-20-2026, 05:21 PM
|
0 responses
144 views
0 likes
|
Last Post
by M4ndoo
04-20-2026, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
71 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|
||
|
Started by cmoran13, 04-16-2026, 01:02 PM
|
0 responses
125 views
0 likes
|
Last Post
by cmoran13
04-16-2026, 01:02 PM
|
||
|
Started by PaulMohn, 04-10-2026, 11:11 AM
|
0 responses
79 views
0 likes
|
Last Post
by PaulMohn
04-10-2026, 11:11 AM
|

Comment