Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Account Class Get() method

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

    Account Class Get() method

    I am curious to know why in the syntax

    Get(AccountItem itemType, Cbi.Currency currency)

    The parameter's comments in relation to Cbi.Currency currency states that "The account currency the value should be denoted (required parameter, but has no effect on returned value)"

    It defies the purpose.
    Is NinjaTrader has the intent of implementing this functionality and if so when.

    Thank you.

    Dan

    #2
    / Evaluates to see if the account has more than $25000
    if (Account.Get(AccountItem.CashValue, Currency.UsDollar) > 25000)
    {
    // Do something;
    }

    Comment


      #3
      Hello Dan,

      The account item will be reported in the currency of your broker.

      To confirm, you are wanting functionality to convert to any currency and be able to automatically fetch the exchange rate?
      Chelsea B.NinjaTrader Customer Service

      Comment


        #4
        Hi Chelsea.
        Yes, for example I am to trade EURGBP to assess the number of lot I need to convert the risk calculated in GBP, so I need to convert my account in GBP to perform this task.

        Comment


          #5
          Hello Dan_D_Trader,

          I will submit your request for the development team to consider.

          Once I have a tracking ID I will post in this thread for future reference.

          In the meantime, it would be necessary to convert currency by adding the instruments to a script and using the current prices to calculate a conversion rate.
          Chelsea B.NinjaTrader Customer Service

          Comment


            #6
            Hello Dan_D_Trader,

            This request is being tracked with ID# SFT-5039.

            As with all feature requests, interest is tracked before implementation is considered, so we cannot offer an ETA or promise of fulfillment. If implemented, it will be noted in the Release Notes page of the Help Guide.

            Release Notes — https://ninjatrader.com/support/help...ease_notes.htm
            Chelsea B.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Geovanny Suaza, 02-11-2026, 06:32 PM
            0 responses
            558 views
            0 likes
            Last Post Geovanny Suaza  
            Started by Geovanny Suaza, 02-11-2026, 05:51 PM
            0 responses
            324 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
            545 views
            1 like
            Last Post Geovanny Suaza  
            Started by RFrosty, 01-28-2026, 06:49 PM
            0 responses
            547 views
            1 like
            Last Post RFrosty
            by RFrosty
             
            Working...
            X