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 CaptainJack, 05-29-2026, 05:09 AM
    0 responses
    172 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 05-29-2026, 12:02 AM
    0 responses
    88 views
    0 likes
    Last Post CaptainJack  
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    129 views
    0 likes
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    208 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    185 views
    0 likes
    Last Post CarlTrading  
    Working...
    X