Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

realized PNL

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

    realized PNL

    How I can get Realized PNL value inside strategt, what is shown in control panel tab Accounts.

    I don't want use any stupid tweaks what you have in your samplepnl.zip example.

    Why you not provide ninja users just simple function, what you give allready people who create external applications.

    like this dll interface

    double RealizedPnL(stringaccount)
    Gets the realized profit and loss of an account.

    double NTRealizedPnL(stringaccount)
    Gets the realized profit and loss of an account.




    How I can call same method inside Ninja Trader, please give me path.
    If you don't have such a method, please add to future ninja release.


    There is big problem with you brokers, which support ninja.
    If connections brokes, I have to restart ninja because many of your brokers datafeeds wont download historical data if try to reload after connection probelms.
    Last edited by jokujoku; 12-21-2011, 04:27 AM.

    #2
    jokujoku, you can use GetAccountValue() here for this task - http://www.ninjatrader.com/support/h...countvalue.htm

    Please take note though that a value of 0 will be returned on historical bars.

    Comment


      #3
      Thank youuu

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      647 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      369 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      108 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      572 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      573 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X