![]() |
|
|||||||
| General Programming General NinjaScript programming questions. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 | |
|
Member
Join Date: Sep 2007
Posts: 72
Thanks: 0
Thanked 0 times in 0 posts
|
I am having the following issue.
I user enterlongstoplimit and entershortstoplimit orders. I'm getting the following errors. I believe it happens when the stop portion of the order gets hit, but the limit doesn't and my strategy tries to reset the order. (with MBT). Quote:
For the error above, if the price touches 12230, it sets a limit order at 12224. The limit order isn't filled and my strategy tries to reset the stop and limit amounts to different values. Is this a bug, or am I doing something wrong? Would it be possible to have a "simulated" value for stoplimitorders where the stop portion would be simulated and if touched would just send a limit order? -Erik
Last edited by woodside; 02-11-2008 at 01:54 PM.
|
|
|
|
|
|
|
#2 |
|
Administrator
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,164
Thanks: 6
Thanked 46 times in 32 posts
|
Could you send via Help > Mail To Support a message and include in the subject "For Dierk" and reference this post.
We will check into this. Thanks.
Ray
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Member
Join Date: Sep 2007
Posts: 72
Thanks: 0
Thanked 0 times in 0 posts
|
Email sent.
I had the same strategy running on an account at MBT and an account at IB, the strategy on MBT errored and quit, the IB one placed the order and completed properly. -Erik |
|
|
|
|
|
#4 |
|
Member
Join Date: Sep 2007
Posts: 72
Thanks: 0
Thanked 0 times in 0 posts
|
Apparently this is an issue with MBT with no workaround other than not using stoplimit orders or managing orders manually with 6.5 order handling.
I requested to Dierk that a "simulated" value gets added to the stoplimit orders where the stop is simulated via NT, then just regular limit orders get sent. Just updating this thread in case anyone else comes across this issue. This is an MBT issue, the strategy works fine on IB. -Erik |
|
|
|
|
|
#5 |
|
Administrator
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
|
Potential work arounds:
- use stop market instead of stop limit - turn off strategy error handling and apply custom handling for order status events
Dierk
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Stop Limit orders... | pgabriel | SuperDOM and other Order Entry Windows | 16 | 03-14-2008 02:19 PM |
| Stop or Limit Orders? | davidfw1866 | ATM Strategies (Discretionary Trading) | 3 | 11-07-2007 03:01 PM |
| Stop Limit Orders | jeremymgp | Strategy Development | 1 | 08-12-2007 11:25 PM |
| Negative Limit - Stop Limit Entry Orders | biswar | Automated Trading | 1 | 10-18-2005 12:58 AM |
| Targets - Stop Orders or Stop Limit Orders? | Nereus | ATM Strategies (Discretionary Trading) | 3 | 05-31-2005 07:13 AM |