Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strange historical order firing on strategy start-up

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

    Strange historical order firing on strategy start-up

    When i enable a strategy, a historical order from three days ago keeps firing even though I have State != State.Historical and a multitude of other logic checks that should prevent this. I have reset the database, reset the sim account - with no effect. Note - there are three historical trades that fire for ES YM NQ, even // out that specific entry code does not stop the entryorders with that entry name which occurs about 10 seconds after the strategy is enabled. I have never seen behaviour like this before. Ideas?

    #2
    Transition?
    https://ninjatrader.com/support/foru...o-a-live-order
    MicroTrends
    NinjaTrader Ecosystem Vendor - micro-trends.co.uk

    Comment


      #3
      i created an open source trade engine you can try here that removes that problem in several ways:
      no historical
      cancel transition orders
      allow them and re-reference

      https://ninjatraderecosystem.com/use...dation-update/

      This is updated in github


      Github there are 2 basic sample strategies also
      https://github.com/MicroTrendsLtd/NinjaTrader8




      MicroTrends
      NinjaTrader Ecosystem Vendor - micro-trends.co.uk

      Comment


        #4
        Thx for your reply! I will look at your idea.
        Last edited by elliot5; 03-05-2021, 05:31 AM.

        Comment


          #5
          Thank you - that worked. Much appreciated.
          Last edited by elliot5; 03-05-2021, 05:30 AM.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Leeroy_Jenkins, Today, 01:32 AM
          2 responses
          16 views
          0 likes
          Last Post Leeroy_Jenkins  
          Started by MatthewLesko, Yesterday, 07:59 PM
          1 response
          15 views
          0 likes
          Last Post StealthM93  
          Started by RookieKiwi, Yesterday, 06:53 PM
          1 response
          11 views
          0 likes
          Last Post NinjaTrader_EricB  
          Started by Skyfly1715, Yesterday, 08:10 PM
          2 responses
          8 views
          0 likes
          Last Post s.kinra
          by s.kinra
           
          Started by max333, Yesterday, 09:05 PM
          0 responses
          7 views
          0 likes
          Last Post max333
          by max333
           
          Working...
          X