Skip to content

API Reference

Coinjure's Python API is organized into a few key modules. Most users interact with Coinjure through the CLI, but the Python API is useful for writing custom strategies or extending the harness programmatically.

Modules

  • StrategyStrategy ABC, StrategyContext, decision recording
  • Trading TypesOrder, Trade, TradeSide, PlaceOrderResult
  • Data SourcesDataSource ABC, CompositeDataSource, event streams
  • Market RelationsMarketRelation, RelationStore, 8 relation types
  • EngineTradingEngine, runner functions, ControlServer