Skip to content

feat(models): add isolated_only to perps instrument - #184

Merged
kartojal merged 1 commit into
mainfrom
feature/dev-431-add-isolated_only-field-to-perps-instrument-in-sdks-and-docs
Jul 24, 2026
Merged

kartojal merged 1 commit into
mainfrom
feature/dev-431-add-isolated_only-field-to-perps-instrument-in-sdks-and-docs

Conversation

@kartojal

@kartojal kartojal commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Adds the new required isolated_only boolean from the perps Instrument schema to the PerpsInstrument model.

Part of DEV-431.


Note

Low Risk
Single-field model update with no auth or trading-path changes; consumers must supply isolated_only when constructing instruments manually or tests may need fixture updates.

Overview
Adds a required isolated_only boolean on PerpsInstrument so instrument payloads from the perps API deserialize correctly and callers can tell whether an instrument only supports isolated margin.

This is a schema-alignment change in PerpsInstrument only; no client or trading logic is updated in this PR.

Reviewed by Cursor Bugbot for commit a4c21e1. Bugbot is set up for automated code reviews on this repo. Configure here.

@kartojal
kartojal requested a review from cesarenaldi July 20, 2026 16:21
@kartojal
kartojal merged commit f087c2a into main Jul 24, 2026
7 checks passed
@kartojal
kartojal deleted the feature/dev-431-add-isolated_only-field-to-perps-instrument-in-sdks-and-docs branch July 24, 2026 09:53
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.

2 participants