![]() |
|
|||||||
| 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 |
|
Member
Join Date: Jan 2010
Posts: 84
Thanks: 4
Thanked 5 times in 4 posts
|
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.
|
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Dec 2009
Location: Denver, CO, USA
Posts: 6,498
Thanks: 109
Thanked 291 times in 280 posts
|
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.
Brett
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
NinjaTrader Customer Service
Join Date: Dec 2009
Location: Denver, CO, USA
Posts: 6,498
Thanks: 109
Thanked 291 times in 280 posts
|
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
Brett
NinjaTrader Customer Service |
|
|
|
|
|
#4 |
|
Member
Join Date: Jan 2010
Posts: 84
Thanks: 4
Thanked 5 times in 4 posts
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
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 |