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 charlesugo_1, 05-26-2026, 05:03 PM
      0 responses
      56 views
      0 likes
      Last Post charlesugo_1  
      Started by DannyP96, 05-18-2026, 02:38 PM
      1 response
      143 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 05-11-2026, 05:56 AM
      0 responses
      160 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 05-10-2026, 08:12 PM
      0 responses
      96 views
      0 likes
      Last Post CarlTrading  
      Started by Hwop38, 05-04-2026, 07:02 PM
      0 responses
      276 views
      0 likes
      Last Post Hwop38
      by Hwop38
       
      Working...
      X