开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

Please, help


multicen2002
 

DAVID
it's working

U R
LifeSAVER..

thank you so much

Andrew













--- In twsapi@y..., "David" <kotomo@p...> wrote:
Private Sub Command4_Click()

Tws1.placeOrder 3030, "BUY",
1, "ES", "FUT", "200209", 0, "", "GLOBEX", "", "LMT", 1025, 0
1025 is the price you wnat to buy or better - be careful with this
as it may work
put there the right "YOUR" price

End Sub
----- Original Message -----
From: David
To: twsapi@y...
Sent: Saturday, June 22, 2002 1:07 PM
Subject: Re: twsapi: Please, help


Type mismatch - your declarations of your variables is incorrect -
read the rewuirements and check your DIM statements
you probably define,say, quantity as long or single and should be
integer
this is your problem


----- Original Message -----
From: multicen2002
To: twsapi@y...
Sent: Saturday, June 22, 2002 1:02 PM
Subject: Re: twsapi: Please, help


Run-time Error 13




--- In twsapi@y..., "David" <kotomo@p...> wrote:
> what errors do you get ?
> ----- Original Message -----
> From: multicen2002
> To: twsapi@y...
> Sent: Saturday, June 22, 2002 12:50 PM
> Subject: Re: twsapi: Please, help
>
>
> Thank you for trying David.
> But again it is not working.. everything else works fine.
>
> Anybody know how to solve my 1 week long torture with this
line ??
> Please, post a sample code line which really works for you
and I
can
> go from there.
>
> WARM Thank you to You all.
>
> Andrew
> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> -----------------------------------
> bad code line start here
> -----------------------------------
>
> Private Sub Command4_Click()
>
> Tws1.placeOrder 3030, "BUY",
> 1, "ES", "FUT", "200209", "", "", "GLOBEX", "", "LMT", 0, 0
>
> End Sub
>
>
>
>
>
>
> --- In twsapi@y..., "David" <kotomo@p...> wrote:
> > First, your ORDERID - 1 could be a PROBLEM - generate a
larger
> number and increase by delta of 10 or more ( still first
order
may
> cause duplicate error - keep trying or increase first and
then
place
> an order)
> > after Expire Date - the strike price use 0
> > right use "" instead
> > on the exchange not sure - use "GLOBEX" if after the
other
changes
> will not make it work(dont trade ES)
> > again for currency use ""
> > This should work
> > David
> > ----- Original Message -----
> > From: multicen2002
> > To: twsapi@y...
> > Sent: Saturday, June 22, 2002 12:15 PM
> > Subject: twsapi: Please, help
> >
> >
> > Hi,
> > I am working on my VB API for IB platform. Thanx to ppl
like
you,
> > everything starting to work just fine.
> > BUT..
> > I wasted 1 week trying to send limit order from my box.
> > what is wrong with this code ??
> >
> > ----------------------------------------
> > code
> > ----------------------------------------
> > Private Sub Command4_Click()
> >
> > Tws1.placeOrder 1, "BUY", 1, "ES", "FUT", "200209",_
> > LastPrice, , "SMART", , "LMT", LastPrice, 0
> >
> > End Sub
> >
> > Please, help ..
> > multicen2002@y...
> >
> >
> >
> > To unsubscribe from this group, send an email to:
> > twsapi-unsubscribe@y...
> >
> >
> >
> > Your use of Yahoo! Groups is subject to the Yahoo!
Terms of
> Service.
>
>
> Yahoo! Groups Sponsor
> ADVERTISEMENT
>
>
>
>
> To unsubscribe from this group, send an email to:
> twsapi-unsubscribe@y...
>
>
>
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service.



To unsubscribe from this group, send an email to:
twsapi-unsubscribe@y...



Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service.


Yahoo! Groups Sponsor
ADVERTISEMENT




To unsubscribe from this group, send an email to:
twsapi-unsubscribe@y...



Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service.