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 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