Page 1 of 1

TWSLINK2 - Easylanguage

Posted: Tue Feb 05, 2019 9:32 am
by alcoach
Hi everibody,

I'm new in the forum and I would need your help in order to begin uing TWSLINK2 with TradeStation. I wonder if you can provide a very simple easylanguage strategy code to test the twslink. Something like a simple moving average crossover system able to send signals from TS to IB. I'm trying using the sample code I found without success...
Thanks in advance!



Re: TWSLINK2 - Easylanguage

Posted: Tue Feb 05, 2019 10:29 am
by board_admin
Please download samples from this link

There should be a trade station example. TWSLink is loaded as DLL into TS.

Re: TWSLINK2 - Easylanguage

Posted: Tue Feb 26, 2019 1:19 am
by HarrisonProgramming
HI Alcoach,

I wonder if you have gotten it to work? Probably the first thing to check is the IB TWS API Settings following the instruction provided by For example, check "Enable ActiveX and Socket Clients; match Socket Port number, e.g., 7496.

You can also try the test code attached with your simulation account. Make sure to use your simulation account ID for input myAccountID.

Your time is valuable. Consider buying some support hours to help you if needed:
One hour of support can replace many hours of trial and errors on your own.

TWSLink2 has enabled me to program truly automated trading strategies/indicators to run with IB, without having to deal with the API itself. Still, I must admit, one has to invest a large number of hours to come to this point.


Re: TWSLINK2 - Easylanguage

Posted: Wed Mar 13, 2019 9:08 am
by alcoach
Hi Harrison,

I had put the project in the sideline and now I've just started to "play" with it. Probably I will need some support hours... stay tuned ;)