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 04-21-2011, 08:53 AM   #1
Atomic
Member
 
Join Date: Jan 2010
Posts: 84
Thanks: 4
Thanked 5 times in 4 posts
Default NtDirect setup

I discovered today that once you have called the function "setup" to route orders to a remote machine, it will also route orders to the remote machine even from code that did not call the "setup" function. Does this sound correct? If so, could it be made otherwise, meaning I would like to run one NtDirect strategy with the orders going to a remote machine and another on on the same local computer with the orders going to the local NT platform.
Atomic is offline  
Reply With Quote
Old 04-21-2011, 09:05 AM   #2
NinjaTrader_Brett
NinjaTrader Customer Service
 
NinjaTrader_Brett's Avatar
 
Join Date: Dec 2009
Location: Denver, CO, USA
Posts: 6,498
Thanks: 109
Thanked 291 times in 280 posts
Default

Hello,

This does sound correct as its simply overiding the settings under Control Center->Tools->Options->ATI which is a global setting:

int SetUp(stringhost, intport)
Optional function to set the host and port number. By default, host is set to "localhost" and port is set to 36973. The default port number can be set via the General tab under Options. If you change these default values, this function must be called before any other function. A return value of 0 indicates success and -1 indicates an error.

I will check with development on this for you.
NinjaTrader_Brett is offline  
Reply With Quote
Old 04-21-2011, 09:16 AM   #3
NinjaTrader_Brett
NinjaTrader Customer Service
 
NinjaTrader_Brett's Avatar
 
Join Date: Dec 2009
Location: Denver, CO, USA
Posts: 6,498
Thanks: 109
Thanked 291 times in 280 posts
Default

Hello,

I have discussed with development. THis is the case and we have added it to our list of future considerations for change in the software with tracking number below. Thanks for posting!

#895

NinjaTrader_Brett is offline  
Reply With Quote
Old 04-21-2011, 01:02 PM   #4
Atomic
Member
 
Join Date: Jan 2010
Posts: 84
Thanks: 4
Thanked 5 times in 4 posts
Default

Quote:
Originally Posted by NinjaTrader_Brett View Post
Hello,

I have discussed with development. THis is the case and we have added it to our list of future considerations for change in the software with tracking number below. Thanks for posting!

#895
Excellent. Thank you.
Atomic 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
Cannot reference NTDirect.dll Taniwha Connecting 5 01-14-2013 07:03 AM
NtDirect and IOG Atomic Automated Trading 2 04-16-2011 04:33 PM
Failure to initialize NTdirect Bruce Automated Trading 2 06-03-2009 08:44 AM
NTDirect reconnect? moscu Automated Trading 1 08-12-2008 01:46 PM
Unable to access NtDirect from C# trader_rick Automated Trading 6 02-06-2008 09:00 AM


All times are GMT -6. The time now is 10:09 AM.