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 Rapine Heihei, Today, 08:19 PM
    1 response
    8 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Started by Rapine Heihei, Today, 08:25 PM
    0 responses
    6 views
    0 likes
    Last Post Rapine Heihei  
    Started by f.saeidi, Today, 08:01 PM
    1 response
    9 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Started by Rapine Heihei, Today, 07:51 PM
    0 responses
    8 views
    0 likes
    Last Post Rapine Heihei  
    Started by frslvr, 04-11-2024, 07:26 AM
    5 responses
    98 views
    1 like
    Last Post caryc123  
    Working...
    X