Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Expiration time

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    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)?

    #2
    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

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    65 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    41 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    23 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    26 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    52 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X