Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
strategy backtest trade assumptions
Collapse
X
-
strategy backtest trade assumptions
While doing Ninjatrader backesting, is it possible to configure such that whenever OnBarUpdate() generates EnterLong() or EnterShort(), the backtesting P&L assumes that a "market order" was filled at the "Open" of the very next bar?Tags: None
-
Originally posted by uday12 View PostWhile doing Ninjatrader backesting, is it possible to configure such that whenever OnBarUpdate() generates EnterLong() or EnterShort(), the backtesting P&L assumes that a "market order" was filled at the "Open" of the very next bar?
And, you're in luck, the Strategy Analyzer window (where you do all your backtesting) always assumes CalculateOnBarClose=True. I mean, the property grid in the Straegy Analyzer window doesn't even show this property.
However, if you want to experiment with the settings in the Historical Fill Processing section, changing 'Fill type' from Default to Liberal may affect what you're looking for.
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by PaulMohn, Today, 03:49 AM
|
0 responses
3 views
0 likes
|
Last Post
by PaulMohn
Today, 03:49 AM
|
||
Started by inanazsocial, Today, 01:15 AM
|
1 response
7 views
0 likes
|
Last Post Today, 02:18 AM | ||
Started by rocketman7, Today, 02:12 AM
|
0 responses
10 views
0 likes
|
Last Post
by rocketman7
Today, 02:12 AM
|
||
Started by dustydbayer, Today, 01:59 AM
|
0 responses
2 views
0 likes
|
Last Post
by dustydbayer
Today, 01:59 AM
|
||
Started by trilliantrader, 04-18-2024, 08:16 AM
|
5 responses
23 views
0 likes
|
Last Post Today, 12:32 AM |
Comment