Hello,
Thanks a lot for having a look at my trigger.
To answer your questions about how I know, just by looking at a BetFair market, that:
- an inning is completed;
As for the score, I thought it was possible to get that information from Betfair
Since it is not the case, it could perhaps be guessed because during the 2-minute pause between each inning, there are very few bets placed. Anyway, the simpler trigger I wrote does not consider innings anymore.
- a team leads by X points;
This could be given by the odds difference between the 2 teams. As given in the last formula, we can guess that a team scores one point when its odds suddenly drop by 50%.
- Moneyline at start of game = +150 (is 150 the odds here?).
Yes moneyline represents the odds for American sports. A moneyline of 100 means an odd of 2 and 150 means 2.5 while -150 means 1.67
So given that we can only see the Betfair market, and to make is as general as possible so it can be tested, here is the trigger that I would need:
In the MLB market, IF within M minutes after the game starts AND IF odds for any team in play suddenly drop by D% or more AND IF odds for said team are between or equal to X and Y THEN bet $A, OR IF odds are between or equal to X and Y THEN bet $B. IF one bet was placed on Team XYZ then don't bet anymore on Team XYZ in this game.
I hope you can guide me on how to set the trigger in your software and place bets automatically on all MLB games that are in play.
Thank you
Lama