Git Product home page Git Product logo

auto-bet's Introduction

auto-bet

Automate bets

// all system logic // run scrapers in intervals // run queue grouper after // place bets that are in queue with // placeBet(money, siteUrl, betObject)

// also manage the state of different sites: // money // open bets // closed bets // restrictions

// according to the state of site i can decide if // deposit(money, site, mehod) // draw(money, site, method)

// divide the categorization logic in, objects, schemas:

// betObject: single bet and odd of a match, // contains also the data to find the bet on the site // used in the final stage to place the already found surebet

// matchObject of a site: a match with all the information of that match of a specific site // contains the odds of all sides and is used to calculate the surebets among diferent strictFunctionTypes

// sameMatchesObject: a match with all the odds from different sites

const metadata = { tournament: "tournament name", matchName: "match name", date: "date", time: "time", }

const odd = { type: "outcome", side: "home", player: "player name", value: 2.54, }

const bet = { site: "betfair", metadata, odd }

const match = { site: "betfair", metadata, odds: [odd, odd, odd] }

const betsGroup = { metadata, bets: [bet, bet, bet] }

auto-bet's People

Contributors

remorses avatar

Forkers

xyzgeforce

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.