Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Account Name

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

    Account Name

    Hello,

    I need to get the name of my account in NT8.

    It was very easy with NT7 ("Account.Name").

    Which is the best and the simplest way to get it in NT8?

    Could you give me an example, please?

    Thanks in advance.

    #2
    Hello soyjesus,

    Thanks for your post.

    You can use Account.Name in NT8. Please see: https://ninjatrader.com/support/help...gy_account.htm for an example of use.
    Paul H.NinjaTrader Customer Service

    Comment


      #3
      Hello Paul,

      Sorry but when I use Account.Name the returned value is only the last characters of the complete description.

      For example: My Account is: "My Full Name!Y1234".

      And Account.Name return "Y1234".

      How can I get the complete name of my Account?

      Thanks and regards.

      Comment


        #4
        Hello soyjesus,

        Thanks for your reply.

        Please use Account.DisplayName

        I cannot find a helpguide reference so I have requested a documentation update to add Account.DisplayName which will return the account name that is displayed in the accounts tab.

        Note that you can enable a name field column (right mouse click and select "properties") in the account tab that would display just the Y1234 which is what Account.Name returns as you have observed.
        Paul H.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by GLFX005, Today, 03:23 AM
        0 responses
        1 view
        0 likes
        Last Post GLFX005
        by GLFX005
         
        Started by XXtrader, Yesterday, 11:30 PM
        2 responses
        11 views
        0 likes
        Last Post XXtrader  
        Started by Waxavi, Today, 02:10 AM
        0 responses
        6 views
        0 likes
        Last Post Waxavi
        by Waxavi
         
        Started by TradeForge, Today, 02:09 AM
        0 responses
        14 views
        0 likes
        Last Post TradeForge  
        Started by Waxavi, Today, 02:00 AM
        0 responses
        3 views
        0 likes
        Last Post Waxavi
        by Waxavi
         
        Working...
        X