Description Usage Arguments Details Value
Input a sport homepage URL as a string and return a list of arbitrage information. This will also print dataframes with details of the arbitrage opportunities, including the stake required for equal returns, the value of said equal returns, along with the relevant bookie for each outcome.
1 2 3 4 5 6 7 |
event |
A URL to a www.oddschecker.com sport homepage, given as a string. |
in_play |
Logical. Should in-play arbitrage opportunities (arbs) also be returned?
These are not likely to be accurate arbs as some bookie's odds will not be up-to-date,
therefore default is |
print_urls |
Logical. Should the URL of the event(s) be printed to the console while
searching for arbitrage opportunities? Passed to |
parallel |
Logical. Should iterative calls to |
debug |
Logical. If set to |
The workhorse function, clearly, is get_arb_single
, however get_arbs
implements it iteratively, after scraping and cleaning the required inputs for each
distinct call to get_arb_single
. This includes finding all the sub-URLs
of the homepage. A progress bar is also used as the runtime is significant.
A list, with arbitrage information printed as series of dataframes.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.