class

PolyScan::Opportunity

Inherits JSON::Serializable < Reference < Object

Constructors

new(id : String, detector : String, rule_id : String | Nil, status : SignalStatus, gross_edge : Fixed, fees : Fixed, edge_net : Fixed, score : Fixed, confidence : Fixed, risk_flags : Array(String), legs : Array(OpportunityLeg), rationale : String, payout_floor : Fixed = Fixed.one, created_at_unix_ms : Int64 = Time.utc.to_unix_ms)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

confidence
Source
created_at_unix_ms
Source
detector
Source
edge_net
Source
fees
Source
gross_edge
Source
legs
Source
payout_floor
Source
rationale
Source
risk_flags
Source
rule_id
Source
score
Source
status
Source
total_cost
Source
total_notional
Source