Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Programmatically set sessiontemplate

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

    Programmatically set sessiontemplate

    Is there a way to programmatically set session template?

    How do I set my strategy to use US RTH, no matter what instrument it is running on and what the instrument's session template is?

    Thanks,
    Hong

    #2
    Hi Hong,

    Unfortunately it is not currently possible to programatically set the session template. We are tracking this suggestion with ID #957. Thanks for the feedback.
    Ryan M.NinjaTrader Customer Service

    Comment


      #3
      Originally posted by hongchen2000 View Post
      Is there a way to programmatically set session template?

      How do I set my strategy to use US RTH, no matter what instrument it is running on and what the instrument's session template is?

      Thanks,
      Hong
      Take a gander at the unsupported Session.String2Session(string sessionData) function.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by cre8able, Today, 03:20 PM
      0 responses
      6 views
      0 likes
      Last Post cre8able  
      Started by Fran888, 02-16-2024, 10:48 AM
      3 responses
      47 views
      0 likes
      Last Post Sam2515
      by Sam2515
       
      Started by martin70, 03-24-2023, 04:58 AM
      15 responses
      114 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Started by The_Sec, Today, 02:29 PM
      1 response
      8 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Started by jeronymite, 04-12-2024, 04:26 PM
      2 responses
      32 views
      0 likes
      Last Post NinjaTrader_BrandonH  
      Working...
      X