Home > Betting Assistant Features > COM Interface > ComClass Reference > Events > pricesUpdated

pricesUpdated

pricesUpdated


This event is fired on each refresh of the currently displayed market.


Example
Dim WithEvents ba As BettingAssistantCom.ComClass

Private Sub ba_pricesUpdated()
    prices = ba.getPrices
    i = 4
    For Each priceItem In prices
        i = i + 1
        Cells(i, 1).Value = priceItem.Selection
        Cells(i, 2).Value = priceItem.backOdds1
        Cells(i, 3).Value = priceItem.layOdds1
        Cells(i, 4).Value = priceItem.lastMatched
        Cells(i, 5).Value = priceItem.totalMatched
    Next
End Sub




See also