Skip to main content

Crate edgelord

Crate edgelord 

Source
Expand description

Edgelord - Prediction market arbitrage framework.

§For CLI users

Install and run:

cargo install edgelord
edgelord init
edgelord run

§For developers

Fork this repo and extend:

  • Add strategies: implement port::inbound::strategy::Strategy
  • Add exchanges: implement port::outbound::exchange::*
  • Add notifiers: implement port::outbound::notifier::Notifier

§Architecture

domain/          Pure types, no I/O
port/            Trait definitions (extension points)
adapter/
  inbound/       Driving adapters (CLI)
  outbound/      Driven adapters (exchange, storage, notifier, solver, llm)
application/     Application services (use cases)
infrastructure/  Runtime concerns (caching, config, orchestration)

Modules§

adapter
Adapter layer split by direction.
application
Application services implementing use cases for arbitrage detection and execution.
domain
Pure domain types for prediction market arbitrage.
error
infrastructure
Infrastructure layer.
port
Hexagonal architecture ports for the application core.