I want to get the Realized profit/loss of current strategy. I would like to access the value marked in attached screen shot. Which api will give me that value ?
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
How to get the Realized profit of a stragey
Collapse
X
-
Hello nandhumca,
Thanks for your post.
You could get the RealizedProfitLoss value of an account by using the OnAccountItemUpdate() method and accessing AccountItem.RealizedProfitLoss.
See the help guide pages linked below for more information about OnAccountItemUpdate() and sample code.
And, see this help guide page for information about AccountItem: https://ninjatrader.com/support/help...ccountitem.htm
Let me know if I 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
54 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
130 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
71 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
44 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
49 views
0 likes
|
Last Post
|

Comment