GetAllMarkets weird issue
Something weird is happening to my GetAllMarkets response.
This is my code:
This code should select all soccer markets that have started in the last 10 minutes or will start in the next 10 minutes.
It works fine mostly but occasionaly it will ignore my date parameters and just give me ALL soccer markets.
Any idea what could be causing this?
Something weird is happening to my GetAllMarkets response.
This is my code:
Code:
With oMarketsReq
.header = oHeaderUK()
ReDim .eventTypeIds(0) : .eventTypeIds(0) = 1 'This selects soccer
.fromDate = Now.AddMinutes(-10)
.toDate = Now.AddMinutes(10)
End With
oMarketsResp = BetFairUK.getAllMarkets(oMarketsReq)
It works fine mostly but occasionaly it will ignore my date parameters and just give me ALL soccer markets.
Any idea what could be causing this?


Thank you very much, before your solution I was confident that I already knew a little bit about it 

don't know what I'm missing here.
Comment