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 Mindset, 04-21-2026, 06:46 AM
    0 responses
    102 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    144 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    71 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    125 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    79 views
    0 likes
    Last Post PaulMohn  
    Working...
    X