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:
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 futtrader, 04-21-2024, 01:50 AM
|
4 responses
41 views
0 likes
|
Last Post
by futtrader
Today, 03:01 PM
|
||
Can someone turn this thinkscript into a ninjascript. 5PM CST OHL and Previous Day
by Option Whisperer
Started by Option Whisperer, Today, 09:55 AM
|
1 response
12 views
0 likes
|
Last Post
by bltdavid
Today, 02:44 PM
|
||
Started by port119, Today, 02:43 PM
|
0 responses
8 views
0 likes
|
Last Post
by port119
Today, 02:43 PM
|
||
Started by Philippe56140, Today, 02:35 PM
|
0 responses
7 views
0 likes
|
Last Post Today, 02:35 PM | ||
Started by 00nevest, Today, 02:27 PM
|
0 responses
7 views
0 likes
|
Last Post
by 00nevest
Today, 02:27 PM
|
Comment