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 Mindset, 04-21-2026, 06:46 AM
        0 responses
        63 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        87 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        47 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by cmoran13, 04-16-2026, 01:02 PM
        0 responses
        105 views
        0 likes
        Last Post cmoran13  
        Started by PaulMohn, 04-10-2026, 11:11 AM
        0 responses
        63 views
        0 likes
        Last Post PaulMohn  
        Working...
        X