Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Limit Orders in Simulation
Collapse
X
-
Limit Orders in Simulation
I've written an Add-on that is using limit orders to enter and exit trades. In my simulation testing, it looks like the limit orders are being filled when the limit price is hit, not when it is exceeded. Are the order fill assumptions different in simulation trading than they are for backtesting strategies?Tags: None
-
Hello SystemTrading,
Thank you for your note.
There would be some differences between sim trading and a backtest in the Strategy Analyzer, yes. I'd take a look at this section of our help guide first:
https://ninjatrader.com/support/help...ime_vs_bac.htm
When running the strategy in Simulation, is Fill Limit Orders on Touch checked in the Strategy Parameters? If so, uncheck this option.
Thanks in advance; I look forward to assisting you further.
Kate W.NinjaTrader Customer Service
-
My program is an Add-on, not a Strategy. So, I do not have that option. I am placing orders using the Account.Submit() method. Are limit orders placed with that method going to be filled when the price is hit?
Comment
-
I have that option unckecked and it looks like the orders are being filled when the limit price is first touched. Is that the expected behavior?
Comment
-
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Triple_M, Yesterday, 07:48 AM
|
8 responses
46 views
0 likes
|
Last Post
![]()
by Triple_M
Today, 03:21 AM
|
||
Started by OllieFeraher, 07-21-2023, 10:01 AM
|
5 responses
71 views
0 likes
|
Last Post
![]() |
||
Started by Aundreooper, Today, 01:57 AM
|
0 responses
9 views
0 likes
|
Last Post
![]()
by Aundreooper
Today, 01:57 AM
|
||
Started by guardiabldbla, Today, 01:22 AM
|
0 responses
7 views
0 likes
|
Last Post
![]() |
||
Started by Ryuujin, Today, 12:32 AM
|
3 responses
35 views
0 likes
|
Last Post
![]()
by Ryuujin
Today, 01:19 AM
|
Comment