If not, is there any function that returns open profit?
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
NT8 SystemPerformance.RealTimeTrades.TradesPerformance.Currency.CumProfit Open Trade
Collapse
X
-
NT8 SystemPerformance.RealTimeTrades.TradesPerformance.Currency.CumProfit Open Trade
Does SystemPerformance.RealTimeTrades.TradesPerformance .Currency.CumProfit include profit of any currently open trades?
If not, is there any function that returns open profit?Tags: None
-
Hello saturntd,
Unfortunately, SystemPerformance only includes closed trades and does not include open trades.
You can get the unrealized of the account (if supported by the brokerages) with Account.Get(AccountItem.UnrealizedProfitLoss).
Or you would need to track this with custom logic. Below is a link to an example.
Hello, I've updated the DailyLossLimit and DailyLosLimitMultiTrade examples that were posted on the forum for NinjaTrader 7 for NinjaTrader 8. These are often requested and I felt they are good examples to have for NT8. DailyLossLimitExample_NT7 - http://ninjatrader.com/support/forum...241#post451241 (http://ninjatraderChelsea B.NinjaTrader Customer Service
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CarlTrading, 03-31-2026, 09:41 PM
|
1 response
43 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
20 views
0 likes
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
29 views
1 like
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
46 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
38 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|
Comment