Peregrine
A Python library which provides several algorithms to detect arbitrage opportunities across over 120 cryptocurrency exchanges in 48 countries on over 38,000 trading pairs
I created this in 2017 as a proof-of-concept to familiarize myself with cryptocurrency arbitrage.
I had fun building it, but do not presently have the bandwidth to maintain the repository.
There are some known issues.
See the Future Development section to see current issues and ideas for improvement.
Install
-
Ensure you have installed pip.
-
Run the following in your command line:
pip install git+https://github.com/wardbradt/peregrine
Usage
This section provides a brief overview of Peregrine's functionality. Examples demonstrating many more features are available in peregrine/examples.
Multiples Exchange/ One Currency
from peregrinearb import get_opportunity_for_market
import asyncio
collections_dir = '/Users/wardbradt/cs/peregrine/'