![]() |
|
|||||||
| 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. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
Join Date: Mar 2006
Location: Bellingham, WA , USA
Posts: 331
Thanks: 0
Thanked 11 times in 8 posts
|
I'm trying to set a new computer up to trade a Tradestation Strategy through NinjaTrader using the e-mail subsystem. Everytime I try to configure the e-mail in Tradestation following the help guide you provide, I keep getting this same error message over and over (in the title above).
I'm guessing there is some setup I need to do but don't know what it is. The pc is on a lan, connected to the internet through a router. I can trade all right, I can see the internet. Just can't get this connection to work. Thanks for your help. |
|
|
|
|
|
#2 |
|
Administrator
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
|
Where do you get this error? In TS? If so, then I suggest turning off firewalls, spam blockers etc., since TS has trouble to establish a socket connection.
Dierk
NinjaTrader Customer Service |
|
|
|
|
|
#3 | |
|
Senior Member
Join Date: Mar 2006
Location: Bellingham, WA , USA
Posts: 331
Thanks: 0
Thanked 11 times in 8 posts
|
Quote:
Thanks Dave |
|
|
|
|
|
|
#4 |
|
Administrator
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
|
Did you leave TradeStation running while testing the email interface in TS?
Please make sure you proceed exactly as per video in the help guide: http://www.ninjatrader-support.com/H...V6/SetUp6.html
Dierk
NinjaTrader Customer Service |
|
|
|
|
|
#5 |
|
Senior Member
Join Date: Mar 2006
Location: Bellingham, WA , USA
Posts: 331
Thanks: 0
Thanked 11 times in 8 posts
|
Dierk,
I went through the video, and repeated my steps to set the strategy up. I did have TS running during the setup, last time and this time. It is now running, and I have no idea why it is now working. I assume I left some step out in the setup, but didn't see that anything was different this time through. I have it running and it is working as intended though what I was afraid of is happening, and that is the time delay between the autotrade instructions recorded by TS and their actual execution on the platform, though amazingly fast, there is still a 1-2 tic slop between what the strategy thinks has happened and what actually has happened. I'm rewriting the strategy to slow it down, hoping that fewer trades with bigger targets might reduce the impact of the slop. Thanks for your help. I don't know why its now working, but it is. Dave |
|
|
|
|
|
#6 |
|
Administrator
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
|
Glad, it's working for you.
Dierk
NinjaTrader Customer Service |
|
|
|
|
|
#7 |
|
Junior Member
Join Date: Jun 2009
Posts: 1
Thanks: 0
Thanked 0 times in 0 posts
|
I just had this problem in 6.5. The solution was to select 'AT Interface' from the File menu in NT and then go to TS and send the test message. After selecting 'AT Interface' everything worked fine.
--h |
|
|
|
|
|
#8 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,548
Thanks: 261
Thanked 1,012 times in 993 posts
|
Welcome to the NinjaTrader support forums hcarstens - correct the AT Interface has to be enabled - http://www.ninjatrader-support.com/H...V6/SetUp6.html
Bertrand
NinjaTrader Customer Service |
|
|
|
|
|
#9 |
|
Junior Member
|
I am getting " Error Connecting to Server Socket " and I have configured Tradestation exactly as it says in the video...
There is a text file called "Host" in the Windows/system32/drivers/etc directory where you list your hosts, perhaps there is something there that needs to be added? Thanks, Randy |
|
|
|
|
|
#10 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,548
Thanks: 261
Thanked 1,012 times in 993 posts
|
Is the SMTP server in NinjaTrader also enabled?
Do you perhaps run a competing SMTP server simultaneously, for example the case with Win 2003 server edtions? If yes please disable it, and recheck via the Test email function in TradeStation.
Bertrand
NinjaTrader Customer Service |
|
|
|
|
|
#11 |
|
Junior Member
|
I still get the error, everything is exactly as it should be no other programs are running, no email client, no firewall or virus scan...
In the Misc Tab under Options, the SMTP Server field is blank, which is the default, port is 25 |
|
|
|
|
|
#12 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 107 times in 70 posts
|
Try inputting your ISP's SMTP server information and login account in there.
Josh
NinjaTrader Customer Service |
|
|
|
|
|
#13 |
|
Junior Member
Join Date: Oct 2009
Location: Calgary
Posts: 5
Thanks: 0
Thanked 0 times in 0 posts
|
I was pulling my hair out and I don't have much left.
My two problems 1. My ISP was blocking port 25 (lots do). Use alternate port 2. My local firewall was also blocking Ninja Trader from accessing the Internet. Went into my firewall and allowed NT full Internet access. Everything worked fine after that. If your e-mail doesn't allow SMTP relay you can use http://www.authsmtp.com for a small fee. To test access to your mail server, use telnet.exe From a DOS prompt type: telnet servername port Like : telnet mail.authsmtp.com 2525 Since authsmtp doesn't require a secure channel, you will get a connection message. Many mail systems require authentication as well as a secure channel (TLS). Such as live mail and gmail. I don't think NT supports TLS Dave Hart |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Connecting to MBT's quote server | gregiii | Connecting | 7 | 08-13-2007 10:40 PM |
| Disconnected from server | Z | Connecting | 1 | 07-30-2007 01:47 PM |
| Unable to connect to license server | raziel00 | Installation and Licensing | 1 | 01-10-2007 05:01 AM |
| log file being generated on server | PointJockey | Miscellaneous Support | 1 | 11-11-2005 10:29 PM |
| PATS Server Symbols | underground | Automated Trading | 2 | 04-20-2005 01:37 PM |