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 KirkHammett, Today, 08:11 AM
          0 responses
          2 views
          0 likes
          Last Post KirkHammett  
          Started by intelligenttrader, Yesterday, 11:33 PM
          0 responses
          6 views
          0 likes
          Last Post intelligenttrader  
          Started by wherrera, Yesterday, 11:18 PM
          0 responses
          5 views
          0 likes
          Last Post wherrera  
          Started by mlprice12, Yesterday, 06:06 PM
          0 responses
          5 views
          0 likes
          Last Post mlprice12  
          Started by bofygym7, Yesterday, 05:40 PM
          0 responses
          11 views
          0 likes
          Last Post bofygym7  
          Working...
          X