Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Known issues when developing strategies for products whose sessions span midnight?

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

    Known issues when developing strategies for products whose sessions span midnight?

    Hello,

    I have to make a decision that someone out there can hopefully help me with...

    I want to backtest some futures markets whose open time is in the afternoon (Chicago time) and whose close time is the next day in the afternoon. The products start trading on Sunday afternoon and stop trading on Friday afternoon.

    I need to decide between importing the 1 minute bar data for products with 1 minute bar time stamps as is, or importing the 1 minute bar data with each bar getting 6 hours added to it so that the sessions don't span midnight.

    Are there any known problems in Ninja Trader regarding strategies that are run on futures whose sessions span midnight?

    Would it be better if I added 6 hours to every 1 minute bar before I imported it, or would this cause bigger problems?

    Thanks in advance!

    ChiTrader2000

    #2
    Hi ChiTrader2000, NinjaTrader session time are not determined by midnight, but rather would you set in the chart session times setup. So you should be able to import your normal data and then adjust the session times, so you would see one seamless session for your products.

    Comment


      #3
      Thanks! I will try it out.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by charlesugo_1, 05-26-2026, 05:03 PM
      0 responses
      52 views
      0 likes
      Last Post charlesugo_1  
      Started by DannyP96, 05-18-2026, 02:38 PM
      1 response
      142 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 05-11-2026, 05:56 AM
      0 responses
      160 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 05-10-2026, 08:12 PM
      0 responses
      96 views
      0 likes
      Last Post CarlTrading  
      Started by Hwop38, 05-04-2026, 07:02 PM
      0 responses
      276 views
      0 likes
      Last Post Hwop38
      by Hwop38
       
      Working...
      X