Skip to content

BetFair Trading Software. Ladder & Grid View, Hedging, One Click Mode, Stop Loss, Tick Offset, Exchange Streaming

License

Notifications You must be signed in to change notification settings

focus1691/flash-betting

Repository files navigation

Flash Betting

Flash Betting

Flash Betting is a web application to trade using the BetFair API. It uses the Streaming API to get live price updates.

Written in pure JS, the Front End is built in React and the backend in Node.js. It is integrated with Electron to run as a desktop application.

Most functionality is implemented, but the app is still in an unfinished state.

Features

Grid View Hedging One Click Mode Back / Lay tools Stop Loss Tick Offset Trade Charting Ladder View (in progress)

Technologies used in this project

Node.js React.js Redux Material UI SQLite Electron

Setup

In order to connect to the Betfair API you will need an App Key, and a BetFair username/password.

App Key

Follow these instructions to get your app key, you can either use a delayed or live key. The Live Application Key costs a one time fee of £299 payable to BetFair.

For testing, you can request a delayed key from the BetFair Development team. With a delayed key, market updates are received approximately once per minute.

Environmental Variables

To configure the environment variables, create a .env file in the root directory of the project. Use the provided example.env file as a template to set up your own .env file. The APP_KEY variable should be set to your purchased app key from Betfair.

Example:

APP_KEY=your_app_key_here

Node.js Requirements

Flash Betting requires Node.js version 14.x to 16.x. Ensure that your environment is using one of these supported versions before proceeding with installation.

Installation (Web)

$ npm install --legacy-peer-deps // Install the dependencies
$ npm run browser // Run the Front End and Local Back End concurrently

Installation (Desktop App)

$ npm install --legacy-peer-deps // Install the dependencies
$ npm run electron-build // Build the .dmg or .exe with Electron Builder

Screenshots

Login View 1 Chart Grid Ladder Market

Releases

No releases published

Packages

No packages published

Languages