Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Globals.FormatCurrency vs ISO 4217

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

    Globals.FormatCurrency vs ISO 4217

    Globals.FormatCurrency is very useful. Thanks.

    Unfortunately, it has two currencies for which the output appears to be at variance from the relevant International Standard, ISO 4217.

    Japanese Yen and Korean Won (South Korea) are both output with two decimal places. They should have zero decimal places.

    Grateful for this to be fixed.

    Thanks.

    #2
    Hello jeronymite,

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

    Once I have a tracking ID for this request I will post in this thread for future reference.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Thanks, Chelsea. Note that this is not a feature request as such but a correction to wrong behaviour.

      Thanks.

      Comment


        #4
        Hmmmm. I posted two (somewhat similar but nevertheless distinctly different) posts and I thought I had posted the second one twice (once here, inadvertently, and once separately). I therefore deleted the "copy" here, but that appears to have been a redirection of the separate post and now the separate (valid) post is also deleted. Was there some redirection done on the second post? The title was "Globals.GetCurrencyCode".

        The post was essentially this: Globals.GetCurrencySymbol is useful. Please add Globals.GetCurrencyCode, which would return the ISO 4217 Currency Code of a Currency.

        This is different from the post above which related to correction of behaviour. I can see how they might be considered as related, but nevertheless they are separate. Perhaps that is why the response above is to add a feature request, which didn't align with my original post here, hence my comments above. Grateful for insight into what happened.

        Thanks.

        Comment


          #5
          Hello jeronymite,

          These posts have been merged as they are on the same topic, inquiring about the same property, and are two requests for the same item.
          Chelsea B.NinjaTrader Customer Service

          Comment


            #6
            Thanks, Chelsea.

            To be absolutely clear, although closely related, there are two distinct and different requests here:
            1. Bug report: Fix Globals.FormatCurrency to align it with ISO 4217 when producing the output for JPY and KRW, where zero decimal places are mandated.
            2. New feature request: Create Globals.GetCurrencyCode to return the ISO 4217 currency code of a given Currency, similar in nature to Globals.GetCurrencySymbol.
            Thanks.

            Comment


              #7
              Hello jeronymite,

              I've received tracking ID# SFT-5214 for the first request for 'yen and won to show no decimal places with Globals.FormatCurrency' and SFT-5215 for the second request 'Globals.GetCurrencyCode to return the ISO 4217 currency code of a given Currency'.

              Please note, we receive many requests and cannot reasonably implement all requested features or changes. Interest is tracked internally and if enough interest is tracked, it would be weighed against how feasible it would be to make those changes to consider implementing, so we cannot offer an ETA or promise of fulfillment.

              When new features are implemented, they will be listed in the Release Notes page of the Help Guide. The ID number may be different than the internal feature request tracking ID, but the description of the feature will let you know if that feature has been implemented.

              Release Notes - https://ninjatrader.com/support/help...ease_notes.htm
              Last edited by NinjaTrader_ChelseaB; 03-24-2021, 02:04 PM.
              Chelsea B.NinjaTrader Customer Service

              Comment


                #8
                Thanks, Chelsea. Much appreciated.

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by samir, Today, 07:00 PM
                0 responses
                9 views
                0 likes
                Last Post samir
                by samir
                 
                Started by travisloneker, Today, 06:52 PM
                0 responses
                6 views
                0 likes
                Last Post travisloneker  
                Started by InfraredBusa, Today, 05:50 PM
                0 responses
                3 views
                0 likes
                Last Post InfraredBusa  
                Started by White Fork, Today, 04:56 PM
                1 response
                8 views
                0 likes
                Last Post White Fork  
                Started by steveyinyang, Today, 02:48 PM
                3 responses
                20 views
                0 likes
                Last Post steveyinyang  
                Working...
                X