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
toggle quoted message
Show quoted text
----- Original Message -----
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@...
To unsubscribe from
this group, send an email
to:
twsapi-unsubscribe@...
Your use of
Yahoo! Groups is subject to the .