Operations > Automated Trading > Automated Trading Interface (ATI) > TradeStation Integration > DLL Based Integration >

Running NT on a different PC than TS

Print this Topic Previous pageReturn to chapter overviewNext page

You can run NinjaTrader on a different PC than where TradeStation is running via the DLL interface only.

 

1. Define the SetUp function by adding the following line to your EL script:

 

DefineDLLFunc: "NtDirect.dll", int, "SetUp", lpstr, int

 

2. You must call the SetUp function before calling any other DLL function. Following is sample code on how to accomplish this.

 

if CurrentBar = 1 then begin

  SetUp("remote-machine-name-or-ip", 36973);
end;

 

Where remote-machine-name-or-ip is the name or IP address of your PC.

 

* You can see the NTExternalFeed strategy for an example.