Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

MarketPosition and strategy starting after reboot

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

    MarketPosition and strategy starting after reboot

    Some time ago i was testing MarketPosition to check what happens if i close NT and i restart it (Or for example PATS daily reset).
    It went all wrong....
    Market Position seems not to count already opened position when you restart the strategy, and ExitLong and ExitShort do the same: they ignore existing Long or short contracts.

    How to solve the problem?
    I need to restart my pc and my connection and i need my strategy not to be blind....

    Anything better than writing open positions on a txt and reloading it on restart?

    Thx

    #2
    Its not that its wrong its that the strategy reports its local position which may or may not be different than the account position. This allows the flexibility of running multiple strategies on the same market simulaneously. More information on this at the link below.



    We will introduce access to Account based properties such as PnL and position with NT7 targeting beta end of year.
    RayNinjaTrader Customer Service

    Comment


      #3
      Thx Ray. Fortunately a bought a lifetime license, because i will not be able to use NT until 7.0 then.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      633 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      364 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      105 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      567 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      568 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X