Summary
Myriad's API supports a trading_model query parameter on the GET /markets endpoint and user portfolio endpoints to filter markets by their trading model (e.g. CLOB, AMM). This parameter is not present in core/specs/myriad.yaml.
Impact
LOW — PMXT cannot filter Myriad markets by trading model via the spec. Users will receive all market types mixed together with no server-side filtering available through PMXT.
Details
- Parameter:
trading_model (string enum: "CLOB" | "AMM")
- Present on:
GET /markets and GET /portfolio/markets (and possibly GET /portfolio/positions)
- Spec file:
core/specs/myriad.yaml
Required Fix
Add trading_model as an optional query parameter to the relevant endpoint definitions in core/specs/myriad.yaml.
Summary
Myriad's API supports a
trading_modelquery parameter on theGET /marketsendpoint and user portfolio endpoints to filter markets by their trading model (e.g.CLOB,AMM). This parameter is not present incore/specs/myriad.yaml.Impact
LOW — PMXT cannot filter Myriad markets by trading model via the spec. Users will receive all market types mixed together with no server-side filtering available through PMXT.
Details
trading_model(string enum:"CLOB"|"AMM")GET /marketsandGET /portfolio/markets(and possiblyGET /portfolio/positions)core/specs/myriad.yamlRequired Fix
Add
trading_modelas an optional query parameter to the relevant endpoint definitions incore/specs/myriad.yaml.