Germany
Experience: Advanced
Platform: TradeStation
Trading: Futures
Posts: 88 since May 2012
Thanks Given: 53
Thanks Received: 93
|
I don't think you need any specific SDKs. It's just a matter of conducting DLL calls. You first declare an external DLL function in TS like this:
DefineDLLFunc: "C:\TWSLINK2.DLL",int, "CONNECT",
LPSTR,{sHost}
int,{iport}
int,{startingClientID}
int;{timeout}
and then make the call in TS like this:
value1 = CONNECT("",7496,1,50);
In this example, the first integer was the return variable that's now in value1. You can leave that out if you need no return and just make the call like this in EL:
CONNECT("",7496,1,50);
It should work right away with any DLLs that can be called.
|