--- In twslink@yahoogroups.com, "tgmjfj" <gmt@...> wrote:
Hello,
in documentation please read about functions
- GET_ORDER_STATUS
- GET_ORDER_VAL (table 6.6 valueids 1 and 88)
>
> Hi
> I wave a working strategy for trading US Stocks and wish to use TWSlink
> to connect to IB.
> I cannot tell which of your functions I should use to check that an
> order has been filled, or part-filled.
> e.g. I place a Buy order for 500 AAPL.
> Before I place the Stop-loss and Profit Target I need to know whether
> the Buy order was filled, or if it was part-filled, and then for how
> many shares.
> Otherwise the position size of the stop-loss and target orders could be
> incorrect.
>
> Your advice on this would be most welcome.
> tgmjfj
>