Skip to content

fix(futures): align snapshot, quote, trade, and schedules models with OpenAPI spec#1020

Merged
justinpolygon merged 1 commit into
masterfrom
chore/sync-futures-with-openapi-spec
May 26, 2026
Merged

fix(futures): align snapshot, quote, trade, and schedules models with OpenAPI spec#1020
justinpolygon merged 1 commit into
masterfrom
chore/sync-futures-with-openapi-spec

Conversation

@justinpolygon
Copy link
Copy Markdown
Collaborator

Fixes SPT-1694. ## Summary

Aligns the futures client models and method signatures with the formal OpenAPI spec.

  • FuturesSnapshot / FuturesSnapshotDetails

    • Added ticker and product_code fields to FuturesSnapshotDetails (these exist in the schema under details, not just at the top level).
    • Updated FuturesSnapshot.from_dict to read ticker/product_code from either the top level or inside details for backward compatibility.
  • FuturesQuote and FuturesTrade

    • Added the missing channel field (present in the spec response schema and marked as required in some cases).
  • list_futures_schedules

  • Removed the session_end_date_any_of parameter (it was not defined in the OpenAPI spec for this endpoint).

@justinpolygon justinpolygon merged commit 3c247d7 into master May 26, 2026
9 checks passed
@justinpolygon justinpolygon deleted the chore/sync-futures-with-openapi-spec branch May 26, 2026 08:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant