How can I get intraday / initial margin requirements in realtime? I believe Account.Get(AccountItem.InitialMargin, Currency.UsDollar is how much of the margin i've spent but not the limit?
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Get realtime margin reqs?
Collapse
X
-
Get realtime margin reqs?
Margins are listed here, but they also fluctuate: Margins NT
How can I get intraday / initial margin requirements in realtime? I believe Account.Get(AccountItem.InitialMargin, Currency.UsDollar is how much of the margin i've spent but not the limit?Tags: None
-
Hello Skifree,
The margin table that you linked to is provided by the brokerage and is not part of the values that the platform can observe through the account. You can only see your specific account values like the available margin your account has. If the instrument you are trading is contained in a risk template for the sim accounts you could use unsupported code to access those lists and get data from them. You would have to manually update that list if the insturment you trade is not by default in one of the lists that comes with the platform. https://forum.ninjatrader.com/forum/...26#post1205026
- Likes 1
-
Maybe i'm looking at the wrong value. I want to ensure I always have 3x the margin limit and if not take actual to close positions. I was looking at this as pct of margin used/required but is it better to use excess initial margin here to ensure that negative PNL doesn't bring it down too low?
Comment
-
Hello Skifree,
To know that you would need to multiply your accounts margin by 3 and compare that against the amount of margin you wanted. The Account.Get method gets values directly from your account. If your account had 1000$ of initial margin that would be the value the method returns. Its the same value you see in the accounts tab of the control center.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by NullPointStrategies, Yesterday, 05:17 AM
|
0 responses
62 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
134 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
75 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
45 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
50 views
0 likes
|
Last Post
|

Comment