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 cmoran13, Yesterday, 01:02 PM
      0 responses
      30 views
      0 likes
      Last Post cmoran13  
      Started by PaulMohn, 04-10-2026, 11:11 AM
      0 responses
      22 views
      0 likes
      Last Post PaulMohn  
      Started by CarlTrading, 03-31-2026, 09:41 PM
      1 response
      160 views
      1 like
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      95 views
      1 like
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      148 views
      2 likes
      Last Post CaptainJack  
      Working...
      X