All I can offer is this post from the IB board from
Jaba,
?
?
toggle quoted message
Show quoted text
Posted on
Sunday, May 19, 2002 - 03:30 pm: ?? |
|
ok, since I see people are requesting
this over, and over again... I put together a ridiculously simple VB Project.
It will use ActiveX API to connect to the TWS, then request and display quotes
for NQ contract. It's downloadable from Visual Basic Project directory, URL at
the bottom of this message.
I hope this helps
Jaba
----
?
?
Bruce
?
?
?
?
?
?
?
?
----- Original Message -----
Sent: Sunday, June 23, 2002 5:57 AM
Subject: twsapi: Re: How do you?+ TWS API
VB files for newbies - 1st POST
will you add a code line to your post ??
or sample to
file area?? It will take you extra 2 more
minutes.
Thanx
Andrew
--- In twsapi@y..., "qnolte" <q@n...> wrote:
> Use the "nextValidId" event to
get a valid Id to use each time.
>
> --- In twsapi@y..., "Bruce Hawkins" <hawkinsk001@h...> wrote:
> > How
do I get? Tws.ocx on to a new form?
> >
> > I tried
the following on the Demo and it worked except I have to
> keep
increasing the order ID to place more orders.
> >
> > Call
Tws1.placeOrder(3030, "BUY", 1, "ES", "FUT", "200209", _
> > 0, "",
"GLOBEX", "", "LMT", 1000.00, 0)
> >
> > How do you work
around this?
> >
> > Any input appreciated,
> >
> > Bruce
> >
> > P.S. The form I am using now
(which was a simple Demo I got from
> Jaba) I beleive has an earlier
ver. of Tws.ocx
To
unsubscribe from this group, send an email
to:
twsapi-unsubscribe@...
Your use of
Yahoo! Groups is subject to the .