Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Realized PnL
Collapse
X
-
This seems to return a cumprofit for many days.. Is there a "DayProfit" or something else in place of the CumProfit,, to only reflect the current day?
Was looking at "TradesPerformanceValuesClass" in the help file (example below) but example produces the same results' a cumulative number for many days.
protected override void OnBarUpdate()
{
// If the profit on real-time trades is > $1000 stop trading
if (Performance.RealtimeTrades.TradesPerformance.Curr ency.CumProfit > 1000)
return;
}
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by GussJ, 03-04-2020, 03:11 PM
|
11 responses
3,227 views
0 likes
|
Last Post Today, 08:07 PM | ||
Started by andrewtrades, Today, 04:57 PM
|
1 response
13 views
0 likes
|
Last Post Today, 05:02 PM | ||
Started by chbruno, Today, 04:10 PM
|
0 responses
7 views
0 likes
|
Last Post
by chbruno
Today, 04:10 PM
|
||
Started by josh18955, 03-25-2023, 11:16 AM
|
6 responses
440 views
0 likes
|
Last Post
by Delerium
Today, 03:42 PM
|
||
Started by FAQtrader, Today, 03:35 PM
|
0 responses
11 views
0 likes
|
Last Post
by FAQtrader
Today, 03:35 PM
|
Comment