Skip to main content

Python package meant to ease the use of the LiveOdds API to find arbitrage opportunities

Project description

Moneyline

Moneyline is a python package meant to help detect arbitrage opportunities in sports (only for moneyline bets). It has the following functions: fetch_and_process_ml_data(api_key, sports, regions), where the api key is a string, and sports and regions are lists of strings; returns df

group_event_ml(df)

find_arb_ml(result_df)

Run these functions sequentially to get the final dataframe that is structured to detect arbitrage and non-arbitrage opportunities

for spreads an totals follow the exact same sequence of functions, but call:

fetch_and_process_spreads_totals_data(api_key, sports, regions)

group_event_spreads_totals(df)

find_arb_spreads_totals(df)

Installation

pip install moneyline

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

moneyline-0.3.0.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

moneyline-0.3.0-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file moneyline-0.3.0.tar.gz.

File metadata

  • Download URL: moneyline-0.3.0.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.8.8

File hashes

Hashes for moneyline-0.3.0.tar.gz
Algorithm Hash digest
SHA256 4b8e8f5f3027f6ca7b9ba171267d1c3e0e50c21eca0dc52794dfc82abb52008f
MD5 791e808659fe26c8c59f3d00961797a2
BLAKE2b-256 942a49cee4caef6f5e8d58c975dd6fca390249cc029879fc6646f25099d832a2

See more details on using hashes here.

File details

Details for the file moneyline-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: moneyline-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 5.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.8.8

File hashes

Hashes for moneyline-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d212de9566ca5224a70cf5b335bd4afabe5fe244a38b4ee291e3bf509e662b5b
MD5 8fd30543d84083a70f2bca0dc54c5e23
BLAKE2b-256 67641de57b1c5efaa8328a47ac84b152bb0d87ddd541c3875616f09bfcc7993a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page