Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

AccountItem. Doesnt see the real (live) account

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

    AccountItem. Doesnt see the real (live) account

    Hi!
    I'm trying to access realized PnL (myAccount.Get(AccountItem.RealizedProfitLoss) and unrealized PnL (myAccount.Get(AccountItem.UnrealizedProfitLoss) with Indicator NinjaScript to print it on the chart. At this point everything is working perfectly on sim accounts, it shows correct values
    But with live (real) account I have a problem. It doesn't see the values (Shows 0). (In control center everything is showing)
    Is there a solution?

    #2
    Hello Againmain1,

    Thank you for your reply.

    Who is your broker? Some do not provide this value - live accounts would get unrealized PnL from the broker if it is available. Please see the chart in this section of our help guide for which providers offer which account values:



    Please let us know if we may be of further assistance to you.

    Comment


      #3
      I have a leelootrading account, and it doesn't work.
      But it shows that Rithmic can work with values
      Any ideas?

      Comment


        #4
        Hello Againmain1,

        Thank you for your reply.

        Can you give an example of how you are subscribing to the account to get those values? If you've hardcoded in Sim101 as the account name I'd expect it to work on the Sim101 account but not on the live account.

        Thanks in advance; I look forward to assisting you further.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        566 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        330 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        101 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        547 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        548 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X