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 02-28-2008, 08:43 AM   #1
moscu
Member
 
Join Date: Nov 2007
Location: Florida
Posts: 93
Thanks: 0
Thanked 0 times in 0 posts
Default Order Rejected Attribute 'Outside Regular Trading Hours'

I am Autotrading live and submitting order thru the DLL to IB. When I send an order the order is place and active in IB. But the NT displays an error in the logs and the status from NTStatus call is first "Accepted" then "Rejected".
Below is an extract form the log and I also attached the full log as a file.
I am running NT version 6.5.0.9


Thanks,
Moscu

2/28/2008 10:07:47 AM,Order,Order='1617320912/DW65309' Name='' New State=Accepted Instrument='ADM' Action=Sell Limit price=0 Stop price=0 Quantity=100 Type=Market Filled=0 Fill price=0 Error=NoError Native error='',
2/28/2008 10:07:47 AM,Order,Order Event Warning:Attribute 'Outside Regular Trading Hours' is ignored based on the order type and destination. PlaceOrder is now being processed. (2109) Affected Order: Sell 100 Market,
2/28/2008 10:07:47 AM,Order,Order='f92d0b86888e4aec8b1e492f6374cb23/DW65309' Name='' New State=Rejected Instrument='ADM' Action=Sell Limit price=0 Stop price=0 Quantity=100 Type=Market Filled=0 Fill price=0 Error=OrderRejected Native error='Order Event Warning:Attribute 'Outside Regular Trading Hours' is ignored based on the order type and destination. PlaceOrder is now being processed. (2109)',
2/28/2008 10:07:47 AM,Order,Order='f92d0b86888e4aec8b1e492f6374cb23/DW65309' Name='' New State=Accepted Instrument='ADM' Action=Sell Limit price=0 Stop price=0 Quantity=100 Type=Market Filled=0 Fill price=0 Error=NoError Native error='',
2/28/2008 10:07:47 AM,Order,Order='f92d0b86888e4aec8b1e492f6374cb23/DW65309' Name='' New State=PendingSubmit Instrument='ADM' Action=Sell Limit price=0 Stop price=0 Quantity=100 Type=Market Filled=0 Fill price=0 Error=NoError Native error='',
2/28/2008 10:07:47 AM,Order,Submitting order without strategy...,
2/28/2008 10:07:47 AM,ATI,AT, 'PLACE;DW65309;ADM;SELL;100;MARKET;0;0;DAY;;ADM-1080228-1007-133;;' processing
Last edited by moscu; 02-28-2008 at 08:46 AM.
moscu is offline  
Reply With Quote
Old 02-28-2008, 08:46 AM   #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
Default

This is an issue with IB's latest release which is not officially supported at this time.

- Our next beta update worksaround this issue
- Or, you can use the officially supported TWS 877 which can be download from the link below

http://www.ninjatrader.com/webnew/su...ivebrokers.htm
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
"Outside Regular Trading Hours" Wataizo Miscellaneous Support 8 02-27-2008 02:53 PM
IB order rejected gert74 Connecting 1 10-29-2007 01:26 AM
Strategy: Using a time filter to limit trading hours NinjaTrader_Josh Reference Samples 0 09-06-2007 12:57 PM
Primary Trading Hours vs Extended Hours Greg1 Suggestions And Feedback 1 02-18-2007 01:06 AM
remove after hours trading from emini charts bmaltz Charting 1 11-08-2006 03:00 PM


All times are GMT -6. The time now is 11:09 PM.