Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
What are the problems with backtesting?
Collapse
X
-
jeffbg123,
That is what I am trying to say. You need to stop using Default and use Liberal.
When you use Default you will always get filled at the limit price and never better. It doesn't matter if it is outside the bar because that is what limit orders are. It is possible to fill outside of the bar. Getting filled outside the bar simply means if it were a real trading situation you would have been the one to bump up the bar. Since it is simulation of course your trades won't impact the bar and as such it looks like it is outside.
If you want to fill in the bar when using limit orders you need to use Liberal. Liberal fills you at high/low of the bar when otherwise it would have been outside of the bar. That is the best price possible.Josh P.NinjaTrader Customer Service
Comment
-
Can you explain this chart?
I am using default fills. 1 Tick chart. How could this possibly happen?
It is filling me at 2 different prices, none of which are the current tick. The tick is 1079.50, and I am filled at 1080 and 1080.50....
How does this make sense?
Comment
-
I would prefer not to post it in public as it is my trading strategy. Can I private message it somehow?
but here are some trades:
buys 1077 at 2/1/2010 8:47:37 and sells 1077.50 at 2/1/2010 8:47:37
buys 1080 at 2/1/2010 8:52:23 and sells 1080.50 at 2/1/2010 8:52:23
Both are in ES.
Almost all of the trade's entry and exit occur on the same tick, which seems impossible.Last edited by jeffbg123; 03-08-2010, 01:03 PM.
Comment
-
Can you please mouse over all of those bars in the future of where the execution is plotting and get the timestamp for all of those bars?
Usually many 1 tick bars have the same timestamp. Executions have a timestamp, but it wouldn't know which bar to plot it on when all tick bars have the same timestamp. When that happens it just plots it on the first bar with that particular timestamp and it may result in that phenomenon of looking like it filled outside of the bar.Josh P.NinjaTrader Customer Service
Comment
-
Ok, so you are saying that I actually was filled within the same second but not on the same tick?
I find that incredibly unlikely.
Look at this image
The sell fill timestamp is exactly the same as the buy in the ctrl+d box
We can clearly see the x axis goes from 14:53 to 14:54 to 14:55. The buy and sell takes place at 14:54 and neither of the two prices that we are filled at are traded during that time frame.
Right?
Comment
-
Completely possible. This is simple a combination of the two factors I have outlined. When multiple ticks have the exact same timestamp the execution is plotted on the first tick with that exact timestamp. Then you factor in you using Default fill type with limit orders, it means you will fill exactly at your limit price regardless of what the price is. As mentioned before, this is completely plausible and is exactly what is happening here. You are filling 2 ticks below the close price on one of the later bars with the same timestamp you are looking at.Josh P.NinjaTrader Customer Service
Comment
-
So if I send a limit order, I will get filled? Even if the best bid is 1000 and I send a limit order to buy 500?
Doesn't this defeat the purpose of using limit orders in backtesting?
I see orders that are canceled, this would not make sense if all limit orders are filled regardless of price. And my average time in market is -1.2 minutes, yes negative.Last edited by jeffbg123; 03-08-2010, 04:39 PM.
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by manueldecastro, Yesterday, 10:26 AM
|
4 responses
20 views
0 likes
|
Last Post Today, 02:56 AM | ||
Started by TraderIqbal, 10-20-2023, 10:12 AM
|
2 responses
119 views
0 likes
|
Last Post
by Funnywo
Today, 02:03 AM
|
||
Started by Creamers, 04-27-2024, 05:32 AM
|
12 responses
72 views
0 likes
|
Last Post
by Creamers
Today, 01:50 AM
|
||
Started by fredericlebre, Today, 01:19 AM
|
0 responses
10 views
0 likes
|
Last Post Today, 01:19 AM | ||
Started by TraderJA, Today, 12:06 AM
|
0 responses
12 views
0 likes
|
Last Post
by TraderJA
Today, 12:06 AM
|
Comment