# wardbradt/peregrine

Detects arbitrage opportunities across 131 cryptocurrency exchanges in 50 countries

Repository: https://github.com/wardbradt/peregrine
Canonical: https://ross.abutalabs.com/products/wardbradt-peregrine
Language: Python
License: MIT
License Family: permissive
Topics: cryptocurrency, arbitrage, algorithmic-trading, arbitrage-bot, ccxt, python, algotrading, trading-bot, trading-algorithms, bellman-ford
Archived: true
Last push: 2021-06-28T20:23:52+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3135, "days_push": 1892, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1247, forks 324 (observed 2026-08-28T04:04:07.648993+00:00)

## What it is
A Python library that detects cryptocurrency arbitrage opportunities across 120+ exchanges in ~50 countries using graph algorithms like Bellman-Ford, built on top of ccxt. Created as a 2017 proof-of-concept and no longer maintained.

## Use cases
- find crypto arbitrage opportunities across exchanges
- detect price differences for one trading pair on multiple exchanges
- find profitable trading cycles on a single exchange
- scan exchanges by country for arbitrage
- build a crypto arbitrage bot in python

## When to choose
- you want a ready-made arbitrage detection algorithm over ccxt-supported exchanges
- you need Bellman-Ford negative-cycle detection for trading graphs
- you're learning how crypto arbitrage works

## When to avoid
- you need maintained, production-ready trading software
- you require up-to-date exchange API compatibility
- you want guaranteed execution or order placement - it only detects opportunities

## Facets
- artifact type: library
- maturity: abandoned
- function: trading, math
- domain: fintech
- platform: python, cross-platform
- tags: arbitrage, bellman-ford, ccxt, crypto-exchanges, algorithmic-trading, proof-of-concept, cryptocurrency, algorithms

## Member repositories
- wardbradt/peregrine (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:07.648993+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T05:07:59.427566+00:00, confidence not recorded.
  - readme: https://github.com/wardbradt/peregrine (fetched 2026-08-28T04:04:07.648993+00:00, sha 864fb67e45bd)
- Data as of 2026-08-30T08:39:29.467469+00:00.
