Giter Site home page Giter Site logo

robbiehaynes / arbitrage-finder Goto Github PK

View Code? Open in Web Editor NEW
8.0 1.0 4.0 42 KB

This repo features a betting arbitrage finder that uses The Odds API to fetch current betting odds. It enables users to identify profitable arbitrage opportunities by comparing odds from different bookmakers and exchanges. It is for entertainment and educational purposes only

License: BSD 3-Clause "New" or "Revised" License

Python 100.00%
arbitrage-bot betting-odds odds python

arbitrage-finder's Introduction

Python Arbitrage Betting Finder ๐Ÿ“ˆ

This arbitrage betting finder will search major sports events, using The Odds API to fetch odds.

Then, using clever mathematics, will search for arbitrage opportunities across all bookmakers.

How to use

python arbitrage-finder.py

This will return:

  • Matches with arbitrage opportunities
  • Correct odds to use
  • Amount to wager on each result
  • Bookmaker to use

To save the arbitrage opportunities to a custom datastore, update the APIHandler in the networkhandler.py to use your storage solution. Also please add a DISCORD_WEBHOOK_URL in your env variables if you wish to use this feature

Disclaimer: Arbitrage betting discussed herein is purely for educational purposes and should not be construed as financial advice.

arbitrage-finder's People

Contributors

robbiehaynes avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

arbitrage-finder's Issues

Create useful objects

Now that there are Python variables available, change the structure so that arbitrage calculations can happen on them.

Finding this error in run time !

Hi, when i am running arbitrage-finder.py, i am finding this error in run time. Please solve this error.
Traceback (most recent call last):
File "C:\Users\ASUS\Downloads\arbitrage-finder-main\arbitrage-finder.py", line 33, in
for filename in os.listdir('odds'):
^^^^^^^^^^^^^^^^^^
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'odds'

Create arbitrage module

Overview

Create a Python module that has functions that takes a database as a parameter and returns a list of arbitrage opportunities.

Signature

find_arb(database) -> opportunities[{pricing},{pricing}]

Fetch all games

Fetch and handle call to API for games in all sports wanted in the database

Format JSON response

Format the returned JSON value into Python variables that can later be used to perform calculations on.
At the moment, there is no need to split the content into more useful objects, just create something usable.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.