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-03-2007, 01:51 AM   #1
RTS Trading
Member
 
Join Date: Nov 2004
Location: , ,
Posts: 35
Thanks: 0
Thanked 0 times in 0 posts
Post imported post

I am getting this message when my Tradestation strategy submits an order:

No market data available.

I see that NT is "Connected - External". Perhaps this is a symbol mapping problem.

I am using @ES.D; @ER2.D; @NQ.D for symbols. I have them in Symbols External as:

ES|06-07......

What's my problem?
RTS Trading is offline  
Reply With Quote
Old 05-03-2007, 01:59 AM   #2
NinjaTrader_Ryan
NinjaTrader Customer Service
 
NinjaTrader_Ryan's Avatar
 
Join Date: Sep 2006
Location: Denver, CO, USA
Posts: 616
Thanks: 10
Thanked 2 times in 2 posts
Post imported post

Hello RTS Trading:

Thank you for your post.

Are you able to receive data within the Control Center or any other Order Entry window prior to enabling the ATI?

Your symbol mapping is correct for the ES, it should be ES|06-07.

Please verify your datafeed setup for TS. Instructions can be found here:

http://www.ninjatrader.com/webnew/su...adeStation.htm

Regards,

Ryan
NinjaTrader_Ryan is offline  
Reply With Quote
Old 05-03-2007, 02:25 AM   #3
RTS Trading
Member
 
Join Date: Nov 2004
Location: , ,
Posts: 35
Thanks: 0
Thanked 0 times in 0 posts
Post imported post

Thanks!

I did not have the ELD installed. However, the instructions mention to insert the NTExternalFeed strategy? I get an error in the User DLL? I am using the email method, not DLL method.

Do I need to use this strategy?


Attached Images
File Type: gif NT.png (14.5 KB, 6 views)
RTS Trading is offline  
Reply With Quote
Old 05-03-2007, 02:44 AM   #4
NinjaTrader_Ryan
NinjaTrader Customer Service
 
NinjaTrader_Ryan's Avatar
 
Join Date: Sep 2006
Location: Denver, CO, USA
Posts: 616
Thanks: 10
Thanked 2 times in 2 posts
Post imported post

Hi RTS:

Thank you for your reply. There are 2 things here:

1. Your datafeed connection to TS.

In order to receive data via the External Feed from TS into NT, the NTExternalFeed Strategy must be inserted into your TS charts.

When you recieive this message, can you click 'OK' and continue using?

2. ATI

The TS email interface enabled via ATI does not need this strategy inserted in order for automated trading.

Best regards,

Ryan
NinjaTrader_Ryan is offline  
Reply With Quote
Old 05-03-2007, 02:48 AM   #5
RTS Trading
Member
 
Join Date: Nov 2004
Location: , ,
Posts: 35
Thanks: 0
Thanked 0 times in 0 posts
Post imported post

Ok, Thanks Ryan,

I cannot get the NTExternalFeed Strategy to work...see prior post with graphic.

I will try using IB feed....is there anything special I need to do to get it to work? I have TWS running but still am not getting any data to the NT Control Center.

I found the connection routine for IB and have it setup....I am getting "Connecting - Interactive Brokers" but no connection. THIS IS with FA TWS. Perhaps it won't connect properly with this TWS?



RTS Trading is offline  
Reply With Quote
Old 05-03-2007, 02:56 AM   #6
NinjaTrader_Ryan
NinjaTrader Customer Service
 
NinjaTrader_Ryan's Avatar
 
Join Date: Sep 2006
Location: Denver, CO, USA
Posts: 616
Thanks: 10
Thanked 2 times in 2 posts
Post imported post

Hi RTS:

Our instructions in the Connection Guide should help to verify any issues with the IB TWS connection. Here is the link below:

http://www.ninjatrader.com/webnew/su...ivebrokers.htm

Ensure that you have these 3 items checked under Configure > API within TWS.

a. Enable ActiveX and Socket Clients
b. Download Open Orders on Connection
c. Fire openOrder on status change

Also, please verify your version. NT officially supports IB TWS Standalone v870.2

Let me know if this works.

Ryan
NinjaTrader_Ryan is offline  
Reply With Quote
Old 05-03-2007, 02:58 AM   #7
RTS Trading
Member
 
Join Date: Nov 2004
Location: , ,
Posts: 35
Thanks: 0
Thanked 0 times in 0 posts
Post imported post

I have 871.3.........is that the problem?
RTS Trading is offline  
Reply With Quote
Old 05-03-2007, 03:03 AM   #8
NinjaTrader_Ryan
NinjaTrader Customer Service
 
NinjaTrader_Ryan's Avatar
 
Join Date: Sep 2006
Location: Denver, CO, USA
Posts: 616
Thanks: 10
Thanked 2 times in 2 posts
Post imported post

This could be the issue. As mentioned, we officially support v870.2.

You may download from our IB page at the link I provided below.

Go to the System Requirements section and choose 'Download'.

Let me know if this works.

-Ryan
NinjaTrader_Ryan is offline  
Reply With Quote
Old 05-03-2007, 03:12 AM   #9
RTS Trading
Member
 
Join Date: Nov 2004
Location: , ,
Posts: 35
Thanks: 0
Thanked 0 times in 0 posts
Post imported post

Ah! 870.2 works.......thanks, now I will see if orders transmit correctly.
RTS Trading is offline  
Reply With Quote
Old 05-03-2007, 03:35 AM   #10
RTS Trading
Member
 
Join Date: Nov 2004
Location: , ,
Posts: 35
Thanks: 0
Thanked 0 times in 0 posts
Post imported post

Ok, orders are being accepted now!

As for Tradestation, here is a graphic of the error window:

Appears some problem since I have multiple data in my chart? Can the Strategy be revised to avoid this issue?




Attached Images
File Type: gif NT.png (13.4 KB, 4 views)
RTS Trading is offline  
Reply With Quote
Old 05-03-2007, 03:42 AM   #11
NinjaTrader_Ryan
NinjaTrader Customer Service
 
NinjaTrader_Ryan's Avatar
 
Join Date: Sep 2006
Location: Denver, CO, USA
Posts: 616
Thanks: 10
Thanked 2 times in 2 posts
Post imported post

Hi RTS:

Unfortunately, we are not intimately familiar with the TS software and why you would receive such an error. Contacting TS directly on this would be the best course of action.

Best regards,

Ryan
NinjaTrader_Ryan is offline  
Reply With Quote
Old 05-03-2007, 05:37 AM   #12
RTS Trading
Member
 
Join Date: Nov 2004
Location: , ,
Posts: 35
Thanks: 0
Thanked 0 times in 0 posts
Post imported post

Tried some more with the TS data connection.

1) Revised the NTEXTERNALFEED strategy by setting intrabarordergeneration = FALSE. I am not using intra bar orders. I do use stop/targets but they are set each bar.

2) I placed the NTdirect.dll into the TS program folder.

With these two changes I inserted the strategy once again and then no longer got the errror messages as before.

I did see in the log that the external data feed was "connected". I did see some data in the Control Center, BUT it was not updating?

If there is something else that is obviously wrong, a reply is ok, otherwise I will continue to use IB's feed.

Bob

RTS Trading is offline  
Reply With Quote
Old 05-03-2007, 06:05 AM   #13
NinjaTrader_Ryan
NinjaTrader Customer Service
 
NinjaTrader_Ryan's Avatar
 
Join Date: Sep 2006
Location: Denver, CO, USA
Posts: 616
Thanks: 10
Thanked 2 times in 2 posts
Post imported post

Hi RTS:

For your TS connection, I think the issue lies within the contract you are using.

Although we support the continuous contract @ER2.D, I have noticed that sometimes data does not get received within NT as efficiently as the individual contracts.

You can test by selecting the ER2M07 contract and change symbol mapping within NT to ER2.

Regards,

Ryan


NinjaTrader_Ryan is offline  
Reply With Quote
Old 05-03-2007, 10:53 AM   #14
RTS Trading
Member
 
Join Date: Nov 2004
Location: , ,
Posts: 35
Thanks: 0
Thanked 0 times in 0 posts
Post imported post

Tried 871.3 TWS again and it does work fine.
RTS Trading 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 04:22 AM.