Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Possible to get Rithmic Account Properties?

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

    Possible to get Rithmic Account Properties?

    I'm trying to figure out if it's possible to get additional properties from Rithmic for an account, such as "AutoLiquidateThresholdCurrentValue". I'm trying to build an indicator that helps me keep track of my drawdown better.

    Thanks!

    #2
    Hello owensd,

    Welcome to the forums!

    I am not aware of a documented or supported way to get this particular property from an account.

    The Account class can be used to subscribe to account related events as well as accessing account related information. The Help Guide pages below go over what kind of events and account related information you can access via NinjaScript:





    Please let us know if we can assist further.
    Gaby V.NinjaTrader Customer Service

    Comment


      #3
      Thanks, I've looked at that and printed out the values of all of the AccountItems associated with the Rithmic account, but most of them are 0. It seems y'all don't actually fill in most of the data for the Rithmic accounts.

      Comment


        #4
        For instance:

        Code:
                    foreach (AccountItem item in Enum.GetValues(typeof(AccountItem))) {
                        Print(string.Format("{0} = {1}", Enum.GetName(typeof(AccountItem), item), _selectedAccount.GetAccountItem(item, Currency.UsDollar).Value));
                    }​
        The output is the following:

        Code:
        GrossRealizedProfitLoss = 55
        InitialMargin = 0
        IntradayMargin = 0
        LongOptionValue = 0
        LookAheadMaintenanceMargin = 0
        LongStockValue = 0
        MaintenanceMargin = 0
        NetLiquidation = 50033.58
        NetLiquidationByCurrency = 0
        PositionMargin = 0
        RealizedProfitLoss = 33.58
        ShortOptionValue = 0
        ShortStockValue = 0
        SodCashValue = 0
        SodLiquidatingValue = 0
        UnrealizedProfitLoss = 0
        TotalCashBalance = 0
        DailyLossLimit = 0
        WeeklyProfitLoss = 0
        WeeklyLossLimit = 0
        DailyProfitTrigger = 0
        WeeklyProfitTrigger = 0
        TrailingMaxDrawdown = 0
        BuyingPower = 0
        CashValue = 50055
        Commission = 21.42
        ExcessIntradayMargin = 0
        ExcessInitialMargin = 0
        ExcessMaintenanceMargin = 0
        ExcessPositionMargin = 0​
        And the Commission field (and hence the RealizedProfitLoss) is coming from my own commission settings for the account within the account configuration.

        That's basically none of the data returned.

        Comment


          #5
          Hello,

          Some brokers do not offer all account values. Please see the chart in this section of our help guide for which providers offer which account values:



          Please also note that there are some values that are only available real time as well, such as CashValue.

          If your broker does not offer an account value, you could manually set your own internal variables if you want to track and make calculations on this.

          Please let us know if you have any further questions.
          Gaby V.NinjaTrader Customer Service

          Comment


            #6
            OK - so there is no way to access the additional properties that Rithmic provides on an account.

            So then I guess this is a feature request to provide access to the many of fields that Rithmic connections have.

            Setting the values isn't really an option as they change live. The indicator I'm working on tracks your trailing drawdown, so I need Rithmics' AutoLiquidateThresholdCurrentValue as it's updated.

            For funded accounts above the limit, then sure, those can be set to the limit.

            Thanks.

            Comment


              #7
              Hello owensd,

              Thank you for your response.

              Apologies for the inconvenience. Unfortunately whether or not the data is transmitted to NT depends on if your broker is providing the data, as mentioned in the HG:

              "The account values that are displayed depend upon your connectivity provider. Some connectivity providers transmit partial account data, while others do not transmit anything."

              NinjaTrader does not dictate if your broker transmits this data to the platform. It is based on whether or not the broker provides this data to NT.
              Gaby V.NinjaTrader Customer Service

              Comment


                #8
                Rithmic transmits the data, other platforms, such as Quantower, can get this data from Rithmic. This is a limitation in how NinjaTrader is handling and surfacing the data that is available via Rithmic connections.

                Comment


                  #9
                  Hello,

                  I got permission from my team lead to submit a feature request for this. Once the team has provided a tracking number for this request I will update this thread.

                  Thank you for your suggestion.
                  Gaby V.NinjaTrader Customer Service

                  Comment


                    #10
                    Hello,

                    This request is being tracked under the number SFT-6273.

                    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 on the Release Notes page of the Help Guide.

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

                    Comment


                      #11
                      With the increase of trading with prop firms, I would think NinjaTrader would want to provide data values which are important to prop traders. Two of those most definitely are trailing drawdown threshold and daily loss limit, which are shown as available but are always zero on NT with Rithmic. Since Rithmic does provide this information, it's possible NT code is simply not copying it. This would be an easy fix and so should be prioritized to be investigated.

                      Comment


                        #12
                        Originally posted by NinjaTrader_Gaby View Post
                        Hello,

                        This request is being tracked under the number SFT-6273.

                        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 on the Release Notes page of the Help Guide.

                        Release Notes —https://ninjatrader.com/support/help...ease_notes.htm
                        add my vote for SFT-6273

                        thank you!!​

                        Comment


                          #13
                          Hello franki,

                          I will add your vote to this request.
                          Gaby V.NinjaTrader Customer Service

                          Comment


                            #14
                            Please add my vote too. Thank you

                            Comment


                              #15
                              Your vote has been added.
                              Gaby V.NinjaTrader Customer Service

                              Comment

                              Latest Posts

                              Collapse

                              Topics Statistics Last Post
                              Started by madankumars, 11-18-2019, 11:12 AM
                              10 responses
                              164 views
                              0 likes
                              Last Post ulisesguerrero  
                              Started by rrsch, Today, 10:26 AM
                              2 responses
                              12 views
                              0 likes
                              Last Post rrsch
                              by rrsch
                               
                              Started by reynoldsn, Today, 02:32 PM
                              3 responses
                              11 views
                              0 likes
                              Last Post palmerchloe042  
                              Started by reynoldsn, Today, 02:30 PM
                              2 responses
                              9 views
                              0 likes
                              Last Post reynoldsn  
                              Started by FishTrade, Today, 06:03 PM
                              0 responses
                              6 views
                              0 likes
                              Last Post FishTrade  
                              Working...
                              X