Thanks in advance
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Get total account realized + account unrea0
Collapse
X
-
Get total account realized + account unrea0
Could someone pleasegive me an example of getting Account realized profit/loss add to Account unrealized profit/loss and subtract account Commission. Do I need to create a variable for each one and then perform the Math. All examples I have seen appears to be exclusive to position PNL.
Thanks in advanceTags: None
-
Hello JLSwin,
Thanks for your post.
You could get the Realized PnL, Unrealized PnL, and Commission information of an account using the AddOn approach by calling Account.Get() and specify which AccountItem to get.
See the help guide documentation below for more information and example code.
Account: https://ninjatrader.com/support/help...ount_class.htm
Account.Get: https://ninjatrader.com/support/helpGuides/nt8/get.htm
AccountItem: https://ninjatrader.com/support/help...ccountitem.htm
Let us know if we may assist further.<span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by NullPointStrategies, Yesterday, 05:17 AM
|
0 responses
76 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
146 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
79 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
50 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
54 views
0 likes
|
Last Post
|

Comment