Thanks!
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Possible to get Rithmic Account Properties?
Collapse
X
-
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!Tags: None
-
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
-
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)); }
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
That's basically none of the data returned.
Comment
-
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
-
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
-
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
-
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
-
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
-
Originally posted by NinjaTrader_Gaby View PostHello,
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
thank you!!
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 Today, 06:56 PM | ||
Started by rrsch, Today, 10:26 AM
|
2 responses
12 views
0 likes
|
Last Post
by rrsch
Today, 06:49 PM
|
||
Started by reynoldsn, Today, 02:32 PM
|
3 responses
11 views
0 likes
|
Last Post Today, 06:35 PM | ||
Started by reynoldsn, Today, 02:30 PM
|
2 responses
9 views
0 likes
|
Last Post
by reynoldsn
Today, 06:05 PM
|
||
Started by FishTrade, Today, 06:03 PM
|
0 responses
6 views
0 likes
|
Last Post
by FishTrade
Today, 06:03 PM
|
Comment