Skip to main content

Minimal library for detecting flash crashes in cryptocurrency prices on Bitfinex

Project description

flashcrashed Documentation Status Updates

Minimal library for detecting flash crashes in cryptocurrency prices on Bitfinex


  • CLI for monitoring cryptocurrency prices for flash crashes
  • CLI for testing performance of a flash crash detector
  • Configurable flash crash detector for custom price monitoring


To install flashcrashed, do:

pip install flashcrashed

Basic Usage

To use flashcrashed, do:


To test the performance of a detector, do:


The default detector used is the detector.SimpleDetector. To use your own:

from flashcrashed.detector import Detector

class CustomDetector(Detector):
    def predict(self, price):
        # Return: 0 - BUY, 1 - HOLD (do nothing), 2 - SELL
        return 1

To test its performance:

flashtest --detector my_detector.CustomDetector

To run flashcrashed with custom detector:

flashcrashed --detector my_detector.CustomDetector


This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.


0.1.0 (2018-05-25)

  • First release on PyPI.

0.1.1 (2018-06-04)

  • Updated README

0.1.2 (2018-06-04)

  • Fix rendering of docs

0.1.2 (2018-06-04)

  • Updated project description

Project details

Download files

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

Files for flashcrashed, version 0.1.3
Filename, size File type Python version Upload date Hashes
Filename, size flashcrashed-0.1.3-py2.py3-none-any.whl (13.8 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size flashcrashed-0.1.3.tar.gz (21.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page