Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How can I get this in NT8 ?

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

    How can I get this in NT8 ?

    In NT7, I can call the following
    GetAccountValue(AccountItem.RealizedProfitLoss)
    in order to have the account profit, but in NT8 there's no clear way. It seems with Get() but it doesn't work. This is simple.


    EDIT:
    COULD IT BE
    Account.Get(AccountItem.RealizedProfitLoss, Currency.UsDollar)
    ?? It should work, but something happens

    Thanks
    Last edited by pstrusi; 11-12-2023, 05:54 PM.

    #2
    Hello pstrusi,

    Thanks for your notes.

    In NinjaTrader8, Account.Get() would be used to get AccountItem values in a script, such as AccountItem.RealizedProfitLoss.

    See the help guide documentation below for more information.

    Account: https://ninjatrader.com/support/help...ount_class.htm
    Account.Get(): https://ninjatrader.com/support/helpGuides/nt8/get.htm
    AccountItem: https://ninjatrader.com/support/help...ccountitem.htm
    <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    85 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    47 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    29 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    32 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    67 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X