Skip to content

binance: preserve exchangeInfo symbol precision fields - #12

Merged
EwigMidori merged 2 commits into
tesserspace:mainfrom
mtshit:codex/binance-marketinfo-precision
May 15, 2026
Merged

binance: preserve exchangeInfo symbol precision fields#12
EwigMidori merged 2 commits into
tesserspace:mainfrom
mtshit:codex/binance-marketinfo-precision

Conversation

@mtshit

@mtshit mtshit commented May 15, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add Binance symbol-level precision fields to mkt-types::MarketInfo
  • populate base_asset_precision, quote_precision, and quote_asset_precision from spot exchangeInfo
  • add a conversion test to ensure the precision fields are preserved

Why

The Binance spot exchangeInfo payload already exposes symbol precision metadata, but MarketInfo currently drops it. Downstream execution code cannot consistently reason about order precision without access to these fields.

Testing

  • cargo test --release -p mkt-exchange-binance -p mkt-types

@EwigMidori
EwigMidori added this pull request to the merge queue May 15, 2026
Merged via the queue into tesserspace:main with commit b053a78 May 15, 2026
2 checks passed
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