class

PolyScan::Detectors::Context

Inherits Reference < Object

Constructors

new(config : App::Config, markets : Array(Market), books : OrderBookCache, graph : RelationshipGraph)
Source

Instance methods

all_outcomes
Source
book_stale?(book : OrderBook) : Bool
Source
books
Source
config
Source
fee_engine
Source
graph
Source
market_for_outcome(outcome : Outcome) : Market | Nil
Source
markets
Source
no_token_for_yes(yes_token_id : String) : String | Nil
Source
outcome_by_any_token(token_id : String) : Outcome | Nil
Source
outcome_by_yes_token(token_id : String) : Outcome | Nil
Source