Dave, not sure if this is correct - but I am not going to learn if I just sit back.
I believe that when a goal is scored (non-runner in a race), the market is suspended and unmatched bets are cancelled.
So check 1 would be if marketstatus is "SUSPENDED" and then not try to load prices
or check 2
eventually all "Back" prices would be filled and betting can commence
I believe that when a goal is scored (non-runner in a race), the market is suspended and unmatched bets are cancelled.
So check 1 would be if marketstatus is "SUSPENDED" and then not try to load prices
or check 2
Code:
if .bestpricestoback.length=0 then
Print("an error Message")
Exit Sub
endif






Comment