[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Advice on coding Tradestation API with IB using C++ or VB



PureBytes Links

Trading Reference Links

>I wanted to code Tradestation API with other third party tools such as
>Interactive Broker to automate my trading systems but the problem is I
>have some basic programming experience with VB only.

Basically you need to write a DLL for TradeStation, and in that DLL you
handle the communication between TS and IB.  IB has APIs for C++, Java,
and Visual Basic (for Excel).

>Can any one please advice me what are the minimum parts or topics in
>VB and especially C++ as I need to study in order to be able to program.

Find some material on writing DLLs.  Download all the API material from
IB and study it, especially the Excel spreadsheets if you use VB.

One alternative (without resorting to DLLs) is kludgy but it should
work.  Have TS output its most recent signal to a file.  Your VB
program would poll this file for changes every 5 seconds or so, and
when it detects a change, it either sends the order, or puts up a
dialog box for you to confirm the order.


-- 
  ,|___    Alex Matulich -- alex@xxxxxxxxxxxxxx
 // +__>   Director of Research and Development
 //  \ 
 // __)    Unicorn Research Corporation -- http://unicorn.us.com