Hi,
I've been chipping away at this use case, but it feels like I'm wading through mud. Any help (high level is fine) on the calls I should be making would be greatly appreciated.
I've basically been betting "Total Points" over/unders manually, and would like to be able to automate. The manual process (assume an NBA game) is:
- With a total line I'm happy to bet over (or under), go to a game
- Click "Total Points" to see what is available for the line I'm interested in
- If there is an unmatched amount that is large enough to bet, with odds I'm happy with, then make the bet
So far, via API I've been able to:
- Call listMarketCatalogue to get a market catalogue for upcoming games to extract a market_id
- Call listMarketBook to get the different lines (selections)
- Call listRunnerBook to get more info (totalAvailable looks to be the only useful info - no idea what numberOfRunners means in an NBA context)
What I'd like to be able to do is:
- Call listMarketCatalogue to get a market catalogue for upcoming games to extract a market_id
- Call listMarketBook to get the different lines (selections)
- Call listRunnerBook to get more info, but have that info include both totalAvailable and the odds being offered (so far I've only seen odds on existing orders returned in listMarketBook)
- If an available amount found at a price I'm happy with, place an order (I can probably figure this out, just haven't gotten to it yet)
Any input on how to get that additional info would be greatly appreciated.
Another question I have is that for a Total Points book there appear to be two "keyLines":
"keyLine": [ { "selectionId": 7017824, "handicap": 227.5 }, { "selectionId": 7017823, "handicap": 227.5 } ]
After making test bets, it appears that one is the over, and the other the under. Is the only way to tell which is which by the order of their IDs? That seems a little shitty.
Thanks in advance,
Alan.
I've been chipping away at this use case, but it feels like I'm wading through mud. Any help (high level is fine) on the calls I should be making would be greatly appreciated.
I've basically been betting "Total Points" over/unders manually, and would like to be able to automate. The manual process (assume an NBA game) is:
- With a total line I'm happy to bet over (or under), go to a game
- Click "Total Points" to see what is available for the line I'm interested in
- If there is an unmatched amount that is large enough to bet, with odds I'm happy with, then make the bet
So far, via API I've been able to:
- Call listMarketCatalogue to get a market catalogue for upcoming games to extract a market_id
- Call listMarketBook to get the different lines (selections)
- Call listRunnerBook to get more info (totalAvailable looks to be the only useful info - no idea what numberOfRunners means in an NBA context)
What I'd like to be able to do is:
- Call listMarketCatalogue to get a market catalogue for upcoming games to extract a market_id
- Call listMarketBook to get the different lines (selections)
- Call listRunnerBook to get more info, but have that info include both totalAvailable and the odds being offered (so far I've only seen odds on existing orders returned in listMarketBook)
- If an available amount found at a price I'm happy with, place an order (I can probably figure this out, just haven't gotten to it yet)
Any input on how to get that additional info would be greatly appreciated.
Another question I have is that for a Total Points book there appear to be two "keyLines":
"keyLine": [ { "selectionId": 7017824, "handicap": 227.5 }, { "selectionId": 7017823, "handicap": 227.5 } ]
After making test bets, it appears that one is the over, and the other the under. Is the only way to tell which is which by the order of their IDs? That seems a little shitty.
Thanks in advance,
Alan.


Comment