Skip to content

fix(perps): support 30m, 6h and 12h candle intervals - #376

Closed
kartojal wants to merge 1 commit into
mainfrom
fix/perps-candle-intervals
Closed

kartojal wants to merge 1 commit into
mainfrom
fix/perps-candle-intervals

Conversation

@kartojal

Copy link
Copy Markdown
Contributor

Allow 30m, 6h and 12h when listing Perps candles. Update the request type, interval validation and pagination duration map together so continued reads advance by one complete candle interval.

Validation: all three new interval cases fail on unchanged main and pass with this change. All 21 public Perps read/pagination tests pass, including request serialization and continuation timestamps; Ruff lint/format, Pyright and wheel/sdist build pass. The malformed-cursor test now uses unsupported 2m, since 30m is accepted.

Copy link
Copy Markdown
Contributor Author

Superseded by #371; closing this duplicate.

@kartojal kartojal closed this Oct 22, 2026
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