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)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
confidence
Sourcecreated_at_unix_ms
Sourcedetector
Sourceedge_net
Sourcefees
Sourcegross_edge
Sourceid
Sourcelegs
Sourcepayout_floor
Sourcerationale
Sourcerisk_flags
Sourcerule_id
Sourcescore
Sourcestatus
Sourcetotal_cost
Sourcetotal_notional
Source