Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy maintaining positions overnight

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

    Strategy maintaining positions overnight

    Hello!

    we are planning to implement the following strategy. Could you support me in the question whether our project is possible with NinjaTrader 6.5 or 7


    at 3 pm of day 1 the strategy decides if a FX position will be entered or not depending on a set of rules
    possible outcome:
    a: position yes
    b: position none


    around midnight of day 1: NT is shut down, brokerage connection is lost

    at 8 am day2: Brokerage connection is reestablished, NT is started, the strategy script is restarted

    at 12 am day 2 the script is suposed to issue position exit orders IF A POSITION EXISTS and additional rules are met
    possible outcome:
    a: position yes
    b: position no

    at 3pm day 2 the strategy decides if a FX position will be entered or not depending on a set of rules and on the fact IF A POSITION IS EXISTING (no second position should be created)

    and so on each day...

    Is this project implementable in Ninja Trader?

    Regards,
    Stefan
    Last edited by caliph; 10-27-2010, 04:06 AM.

    #2
    Thanks for your post Stefan - this is possible with NinjaTrader, however I would recommend you develop it on NT7 as you would then have access to dedicated ConnectionLoss handling options - http://www.ninjatrader.com/support/h...sshandling.htm

    Comment


      #3
      Hi Bertrand, thy for your quick answer.

      Does your answer mean we have to keep NT running during the night? (And let NT handle the connection break to our broker IB as a temporary loss of connection?)

      Could you please point me into the correct direction regarding implementation.

      Thanks, Stefan

      Comment


        #4
        Yes, you would want to let NT handle the connection loss event, so the strategy is behaving as you need it - as if you would for example restart it on the next it would recalculate it's signals and positions and this could be different from what you expect for example due to different data being used. Of course this is also not a real issue, as long as you ensure proper sync between your account and strategy positions then, below is more info on the process with NT7 and it's new options to autoSync if needed, too.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        657 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        373 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        109 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        574 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        579 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X