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 geotrades1, Today, 08:33 AM
      4 responses
      13 views
      0 likes
      Last Post NinjaTrader_Gaby  
      Started by Entwaze, 02-19-2024, 07:13 PM
      2 responses
      67 views
      0 likes
      Last Post MalachiHatfield  
      Started by tkaboris, Today, 08:32 AM
      5 responses
      8 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Started by f.saeidi, Today, 07:07 AM
      3 responses
      9 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by Philippe56140, 04-27-2024, 02:35 PM
      9 responses
      72 views
      0 likes
      Last Post backtester831  
      Working...
      X