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 Rapine Heihei, Today, 08:19 PM
|
1 response
8 views
0 likes
|
Last Post Today, 08:30 PM | ||
Started by Rapine Heihei, Today, 08:25 PM
|
0 responses
6 views
0 likes
|
Last Post Today, 08:25 PM | ||
Started by f.saeidi, Today, 08:01 PM
|
1 response
9 views
0 likes
|
Last Post Today, 08:17 PM | ||
Change colour of Stop market and limit orders to red and green via indicator script
by Rapine Heihei
Started by Rapine Heihei, Today, 07:51 PM
|
0 responses
8 views
0 likes
|
Last Post Today, 07:51 PM | ||
Started by frslvr, 04-11-2024, 07:26 AM
|
5 responses
98 views
1 like
|
Last Post
by caryc123
Today, 07:47 PM
|
Comment