Skip to content

Spec drift: myriad — trading_model filter parameter missing from /markets and portfolio endpoints #549

@realfishsam

Description

@realfishsam

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    spec-driftCached OpenAPI spec out of date vs venue's live docs

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions