IB API VB orderstatus()

Discussion in 'Trading Software' started by timmyz, Nov 10, 2005.

  1. timmyz


    I can't seem to get orderstatus() to work. I can get the order to submit but I can't get the status to show. Below is my code. Any suggestions?

    Private Sub orderStatus(ByVal id As Long, status As String, filled As Long, remaining As Long, avgfillprice As Double, permid As Long, parentid As Long, lastfillprice As Double, clientid As Long)
        'put order status in text box
        txtstatus.Text = status
    End Sub