NinjaTrader Support Forum  
X

Attention!

This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com


Go Back   NinjaTrader Support Forum > Application Technical Support > Automated Trading

Automated Trading Support for automated trading systems using NinjaScript. Support for our ATI (Automated Trading Interface) used to link an external application such as TradeStation and eSignal to NinjaTrader.

Reply
 
Thread Tools Display Modes
Old 04-12-2006, 07:47 AM   #1
ratherBgolfing
 
Join Date: Mar 2006
Location: Toronto, ,
Posts: 29
Thanks: 0
Thanked 0 times in 0 posts
Post imported post

It would appear that when I place a strategy that uses Target Chase I often get an error message "Order 'jaj;lkjeoriu....' can not be changed. Status is Cancel Pending. Affected order Sell......"

NT then cancels the target order leaving the trade uncovered. Is this normal?

Also, when I place a strategy that uses Chase for the Entry with a Chase Limit of 10, if the order is not filled it just sits there indefinitely. Is this normal? Am I supposed to cancel this manually or can it be set to expire/cancel automatically?

I am using ATI so both of these conditions can causes serious problems/losses if not constantly monitored and cancelled manually....which defeats the purpose of ATI.

Thanks.

EDIT: It seems this is happening with trailed stops also. NT canceled my profit targets and my trailing stops; I now have 4 lots short, uncovered. (in Sim103 thankfully). In this case the market is no where near the trailing stops and NT is trying to trail the stops and just cancels them instead.
ratherBgolfing is offline  
Reply With Quote
Old 04-12-2006, 12:28 PM   #2
NinjaTrader_Ray
Administrator
 
NinjaTrader_Ray's Avatar
 
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
Post imported post

ratherBgolfing wrote:
Quote:
It would appear that when I place a strategy that uses Target Chase I often get an error message "Order 'jaj;lkjeoriu....' can not be changed. Status is Cancel Pending. Affected order Sell......"
Quote:
It is normal if the order is being cancelled.

NT then cancels the target order leaving the trade uncovered. Is this normal?

Also, when I place a strategy that uses Chase for the Entry with a Chase Limit of 10, if the order is not filled it just sits there indefinitely. Is this normal? Am I supposed to cancel this manually or can it be set to expire/cancel automatically?
Quote:
This is normal, you must cancel it manually.

I am using ATI so both of these conditions can causes serious problems/losses if not constantly monitored and cancelled manually....which defeats the purpose of ATI.

Thanks.

EDIT: It seems this is happening with trailed stops also. NT canceled my profit targets and my trailing stops; I now have 4 lots short, uncovered. (in Sim103 thankfully). In this case the market is no where near the trailing stops and NT is trying to trail the stops and just cancels them instead.
NT does not automatically cancel orders, something is triggering the cancel. Please check the log file to see what is initiating the cancel. Possibly an ATI command your sending?
NinjaTrader_Ray is offline  
Reply With Quote
Old 04-13-2006, 03:16 PM   #3
ratherBgolfing
 
Join Date: Mar 2006
Location: Toronto, ,
Posts: 29
Thanks: 0
Thanked 0 times in 0 posts
Post imported post

Thanks. Fixed the bug that was cancelling the orders.

Please confirm that, if Target Chase is in effect and chasing, the exisiting target order will be filled if the Change can not be completed (ie. in a fast moving market the market price moves too close to complete the change).
ratherBgolfing is offline  
Reply With Quote
Old 04-14-2006, 12:37 AM   #4
NinjaTrader_Ray
Administrator
 
NinjaTrader_Ray's Avatar
 
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
Post imported post

Not sure I understand. I can confirm that if target chase is enabled and the market moves through your target it will be filled.
NinjaTrader_Ray is offline  
Reply With Quote
Old 04-14-2006, 03:53 AM   #5
ratherBgolfing
 
Join Date: Mar 2006
Location: Toronto, ,
Posts: 29
Thanks: 0
Thanked 0 times in 0 posts
Post imported post

yes of course it the market moves through any limit order it will be filled....however if you try to place/move/change a limit order at the same time the market moves onto that new price you will get an error message that you can not place the order....

hence my question, if this happens and the new/changing order can not be placed, does the existing order remain in effect and get filled?...without fail?
ratherBgolfing is offline  
Reply With Quote
Old 04-14-2006, 04:55 AM   #6
NinjaTrader_Ray
Administrator
 
NinjaTrader_Ray's Avatar
 
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
Post imported post

Still don't understand. Market moves do not impact the ability/inabiltiy to ammend a limit order. For sure you can't modify a limit order if its in the process of being modified.
NinjaTrader_Ray is offline  
Reply With Quote
Old 04-14-2006, 05:25 AM   #7
ratherBgolfing
 
Join Date: Mar 2006
Location: Toronto, ,
Posts: 29
Thanks: 0
Thanked 0 times in 0 posts
Post imported post

Say the mkt is at 750.50 and your target is at 750.60....the mkt then touches the target and then moves away....the target chases by trying to move to 750.50 but before the new limit order can be placed/confirmed at/by the exchange, the mkt has moved back to 750.50....in that case the exchange will not accept the new order right?...so does the old target remain in effect and get filled at 750.60?
ratherBgolfing is offline  
Reply With Quote
Old 04-15-2006, 02:24 AM   #8
NinjaTrader_Ray
Administrator
 
NinjaTrader_Ray's Avatar
 
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
Post imported post

Limit orders can be modified to any price witthin an outer threshold (different for each exchange) from the inside market. In your example, order change would be accepted no problem.
NinjaTrader_Ray is offline  
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 08:12 AM.