feat: add OI / Liquidation / cex-symbol endpoints (55 total)#6
Merged
Conversation
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Adds 9 endpoints to the Rust SDK, auto-generated from the updated data-api openapi.yaml (Bisonai/datamaxi#5804): - liquidation_heatmap, liquidation_map, liquidation_symbol_history - open_interest_{overview, summary, history_aggregated} - cex_symbol_{oi, oi_stats, liquidation} Generated by datamaxi-codegen `make rust`. Total endpoints: 46 → 55.
haminprk
added a commit
that referenced
this pull request
May 13, 2026
Minor bump to reflect the OI / Liquidation / cex-symbol endpoint additions from #6 (9 new endpoints, 44 → 55 total).
haminprk
added a commit
that referenced
this pull request
May 13, 2026
The auto-generated typed wrappers in `src/generated.rs` have existed since #3 (2024-10) but were never re-exported from `lib.rs`. As a result every endpoint added through codegen (Liquidation, OpenInterest, CexSymbol per-base aggregates, and the entire pre-existing surface beyond CEX Candle / DEX) has been unreachable to external crate consumers. Adding `pub mod generated;` is a no-cost fix: nothing else changes, existing imports under `datamaxi::cex`, `datamaxi::dex`, etc. continue to work, and the docstring on the module points users at the typed wrappers as the canonical surface for OI / Liquidation / cex-symbol. Bumped to v0.3.1 — this is the first release where the OI / Liquidation typed wrappers from #6 are actually callable.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Auto-generated SDK regen picking up 9 new public REST endpoints on the DataMaxi+ data API (44 → 55 total).
Endpoints added
Liquidation
liquidation_heatmapGET /api/v1/liquidation/heatmapliquidation_mapGET /api/v1/liquidation/mapliquidation_symbol_historyGET /api/v1/liquidation/symbol-historyOpen Interest
open_interest_overviewGET /api/v1/open-interest/overviewopen_interest_summaryGET /api/v1/open-interest/summaryopen_interest_history_aggregatedGET /api/v1/open-interest/history-aggregatedCEX Symbol (per-base aggregates)
cex_symbol_oiGET /api/v1/cex/symbol/oicex_symbol_oi_statsGET /api/v1/cex/symbol/oi-statscex_symbol_liquidationGET /api/v1/cex/symbol/liquidationUsage
Test plan
datamaxi-codegencargo checkpassescargo buildpassesNotes
Generated content only — no manual edits. The corresponding REST documentation (https://docs.datamaxiplus.com) and Python SDK have been updated in parallel.