开云体育

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

Re: twsapi: parameter list for orderstatus?


Michel
 

开云体育

It works for me (I use VB 5) but I pass parameters 'ByVal' in the order status event.
?
Michel.

-----Mensaje original-----
De: cyberbri_2000 [mailto:no_reply@...]
Enviado el: jueves, 04 de julio de 2002 21:45
Para: twsapi@...
Asunto: twsapi: parameter list for orderstatus?

I'm getting an error in VB 6 that says the declaration does not match
the event description.

From the object browser I got this info and coded the sub like this...

Sub tws1_orderStatus(id As Long, status As String, filled As Long,
remaining As Long, price As Single)
'orderstatus event
End Sub


This is from the user guide...
void orderStatus(long id, String status, long filled, long remaining,
float price, permId)


I tried to add permId to the declaration and other combinations but
that didn't work.? Anyone have a working orderstatus declaration??
Not sure what I'm doing wrong.

Thanx,
Brian



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



Your use of Yahoo! Groups is subject to the .

Join [email protected] to automatically receive all group messages.