#[non_exhaustive]pub struct ListSharpMoneyFlowsParams {
pub timeframe: Option<Timeframe>,
pub limit: Option<i64>,
pub cursor: Option<String>,
pub category: Option<String>,
pub platform: Option<Platform>,
pub min_grade: Option<Grade>,
pub direction: Option<Direction>,
pub condition_id: Option<String>,
pub event_slug: Option<String>,
pub if_none_match: Option<String>,
}Expand description
Optional parameters for Client::list_sharp_money_flows (GET /api/v1/markets/sharp-money-flows).
Start from Default::default() and set what you need, through the field or the
chainable setter of the same name.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.timeframe: Option<Timeframe>Lookback window for grade-filtered whale flow aggregation.
limit: Option<i64>Page size. Out-of-range values are clamped to 1..100.
cursor: Option<String>Opaque cursor from previous response’s next_cursor. Encodes the first-page as_of timestamp, normalized effective filters, ranking and aggregate collection revisions, plus the last row’s absolute net flow and condition_id. A changed filter or collection returns cursor_expired; request the first page again.
category: Option<String>Filter by market category (case-insensitive). A canonical bucket name (e.g. Basketball) matches every provider member that folds into it (NBA, WNBA, NCAAB); a raw provider value also resolves to its bucket. Sports and esports only (#27306): a category outside them returns 400 bad_request with param category and names the accepted buckets.
platform: Option<Platform>Filter by source platform. all is a request-side no-op.
min_grade: Option<Grade>Minimum latest trader grade included in the flow. Default B means S/A/B only; unranked traders are excluded.
direction: Option<Direction>Optional post-aggregate flow direction filter.
condition_id: Option<String>Only this market’s flow: an exact raw provider condition_id. Cannot be combined with event_slug (400). An unknown market returns an empty list.
event_slug: Option<String>Only the markets of one game: every market of the game behind this event slug, the moneyline, spreads, totals and props, as GET /api/v1/games/{event_slug}/trades reads them, ranked as the unfiltered list ranks. Matched case-insensitively; cannot be combined with condition_id (400). An unknown slug answers 404 not_found with error.param event_slug.
if_none_match: Option<String>Conditional GET validator from a previous ETag. Matching values return 304 Not Modified with an empty body.
Sent as the If-None-Match header.
Implementations§
Source§impl ListSharpMoneyFlowsParams
impl ListSharpMoneyFlowsParams
Sourcepub fn condition_id(self, value: impl Into<String>) -> Self
pub fn condition_id(self, value: impl Into<String>) -> Self
Sets condition_id.
Sourcepub fn event_slug(self, value: impl Into<String>) -> Self
pub fn event_slug(self, value: impl Into<String>) -> Self
Sets event_slug.
Sourcepub fn if_none_match(self, value: impl Into<String>) -> Self
pub fn if_none_match(self, value: impl Into<String>) -> Self
Sets If-None-Match.