• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Holiday Market Hours

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

  • Cpuerta
    started a topic Holiday Market Hours

    Holiday Market Hours

    Does the Ninjatrader exit on close account for holiday market early close?

    Example on July 3rd the market closes early for the 4th, will any open positions be closed if your strategy is set to close positions 30 seconds prior to close?

  • NinjaTrader_ZacharyG
    replied
    Hello Cpuerta,

    Thank you for your inquiry.

    The ExitOnClose and ExitOnCloseSeconds properties are based on the session template of the instrument you are running the strategy on. As session templates do not keep track of holidays, the strategy would not close any earlier.

    If you would like to close earlier on holidays you would have to code logic for your strategy to handle the holidays.

    Please, let us know if we may be of further assistance.

    Leave a comment:

Latest Posts

Collapse

Topics Statistics Last Post
Started by Birdseye, Today, 04:52 AM
0 responses
5 views
0 likes
Last Post Birdseye  
Started by U0000999, Today, 03:43 AM
0 responses
4 views
0 likes
Last Post U0000999  
Started by NinjaCustomer, Today, 03:22 AM
1 response
8 views
0 likes
Last Post NinjaTrader_Marco  
Started by MarianApalaghiei, Today, 01:26 AM
0 responses
10 views
0 likes
Last Post MarianApalaghiei  
Started by seagraph, Yesterday, 03:27 PM
0 responses
15 views
0 likes
Last Post seagraph  
Working...
X