This call:
Private Sub Command4_Click()
Call Tws1.placeOrder(3030, "BUY",
1, "ES", "FUT", "200209", "", "", "GLOBEX", "", "LMT", 0, 0)
End Sub
Is incorrect....
Proper call for limit order:
Call Tws1.placeOrder(3030, "BUY", 1, "ES", "FUT", "200209", _
0, "", "GLOBEX", "", "LMT", 1000.00, 0)
Strike is of type "float", and must be defined with a numeric value;
Not an empty string...
And if you are sending a limit order, you must define a limit
price....
I believe you can just leave the currency field
blank... "GLOBEX", , "LMT", not sure about this but I think it
isn't even looked at unless secType is of type CASH
Scott