SkillAgentSearch skills...

Betfairviz

Create visualisations of Betfair order books

Install / Use

/learn @mberk/Betfairviz
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

betfairviz

Create visualisations of Betfair order books

Installation

Requires Python 3.5 or above.

pip install git+https://github.com/mberk/betfairviz.git@master#egg=betfairviz

Usage

Currently, the package is intended to be used inside a Jupyter notebook. When the package is imported, any objects which are either a betfairlightweight MarketBook or an equivalent dict will automatically be rendered in a similar fashion to the Betfair website:

screenshot1

More ladder levels can be displayed by using the visualise (or visualize) function (currently limited to a maximum of 5):

screenshot2

If you'd like to revert to displaying the order book as a dictionary, use the style argument to visualise:

screenshot3

Planned Features

  • Vertical ladders for individual runners
  • Creating visualisations outside of a Jupyter notebook
  • Other visualisations such as depth plots
  • Customisable themes, e.g. dark mode

Related Skills

View on GitHub
GitHub Stars38
CategoryDevelopment
Updated7mo ago
Forks13

Languages

Python

Security Score

87/100

Audited on Jul 31, 2025

No findings