Hello
Thank you for your reply.
I looked at at those two functions in the documentation before I
posted my question. What the documentation seems to say is :-
- if an order is Filled Partially it has Order Status 11.
However this does not tell me how many shares were filled. It only
tells me that it was partially filled.
- Get_Order_Val tells me the Execution Price, but not the Filled
quantity.
Have I misunderstood the documentation ?
tmgjf
--- In twslink@yahoogroups.com, "maxchinaski" <ce_@...> wrote:
>
> --- 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
> >
>