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 algospoke, Today, 06:40 PM
|
0 responses
9 views
0 likes
|
Last Post
by algospoke
Today, 06:40 PM
|
||
Started by maybeimnotrader, Today, 05:46 PM
|
0 responses
7 views
0 likes
|
Last Post Today, 05:46 PM | ||
Started by quantismo, Today, 05:13 PM
|
0 responses
7 views
0 likes
|
Last Post
by quantismo
Today, 05:13 PM
|
||
Started by AttiM, 02-14-2024, 05:20 PM
|
8 responses
168 views
0 likes
|
Last Post
by jeronymite
Today, 05:00 PM
|
||
Started by cre8able, Today, 04:22 PM
|
0 responses
10 views
0 likes
|
Last Post
by cre8able
Today, 04:22 PM
|
Comment