NinjaTrader Support Forum  

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 05-13-2010, 09:00 AM   #1
dancorcal
Member
 
Join Date: Jun 2009
Posts: 38
Thanks: 0
Thanked 1 time in 1 post
Default GTC order error

I have a strategy that I run on 4 markets. However even though the code is the same when I try to execute on the TF market I get an error (see below). Can someone explain why? It works fine on the YM, ES, and EMD markets.
Attached Images
File Type: jpg NinjaLog.jpg (59.4 KB, 7 views)
dancorcal is offline  
Reply With Quote
Old 05-13-2010, 09:17 AM   #2
NinjaTrader_Brett
NinjaTrader Customer Service
 
NinjaTrader_Brett's Avatar
 
Join Date: Dec 2009
Location: Denver, CO, USA
Posts: 6,499
Thanks: 109
Thanked 291 times in 280 posts
Default

Hello,

We would need to take a look at the log files to verify. However from reading the error it seems that the exchange the TF trades on does not support GTC on market orders and this would be the reason why you encounter the error. To resolve this use Day as the TimeInForce setting or use a limit order instead of a market order.

To verify this however please send a note to support at ninjatrader dot com and put ATTN: Brett and reference this forum post and attach the following files. Make sure to attach the files for the date the order was rejected.


Start Menu--> My Documents--> NinjaTrader 6.5--> Trace--> trace.20100513 for today. (trace.yyyymmdd for any other date)

Start Menu--> My Documents--> NinjaTrader 6.5--> Log--> log.20100513 for today. (log.yyyymmdd for any other date)


I look forward to assisting you further.
NinjaTrader_Brett 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
IB DOm order error mjuviler Version 7 Beta General Questions & Bug Reports 1 02-18-2010 04:00 PM
stop order error mballagan Miscellaneous Support 10 10-13-2009 02:24 AM
IB Order Error worow@yahoo.com Automated Trading 3 07-14-2009 10:13 AM
IB new order error cesas Automated Trading 2 07-09-2009 02:51 PM
OCO order error cesas Automated Trading 58 06-26-2009 10:49 AM


All times are GMT -6. The time now is 02:51 AM.