Skip to content

BabiscaPaul/arbitrage_detector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Arbitrage Detector

A real-time cryptocurrency arbitrage detector written in C++17. Streams live prices from multiple exchanges via WebSocket and detects price discrepancies that could be exploited for profit.

How It Works

  1. Fetchers connect to exchange WebSocket APIs and stream live trade prices
  2. PriceStorage stores the latest prices and notifies subscribers on updates
  3. ArbitrageDetector compares prices across exchanges and flags opportunities where the spread exceeds trading fees

Currently supported exchanges: Binance and Coinbase.

Dependencies

macOS (Homebrew)

brew install boost openssl@3 nlohmann-json cmake

Build

mkdir -p build && cd build
cmake ..
make

Run

./arbitrage

License

MIT

About

A C++ application that detects arbitrage opportunities by monitoring price differences across multiple cryptocurrency exchanges. Built with thread-safe price storage for real-time data processing.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors