Skip to content

feat: extended instrument info and open interest (Trade API 2.14.0)#11

Open
updevru wants to merge 2 commits intomainfrom
feature/extend-instrument-info
Open

feat: extended instrument info and open interest (Trade API 2.14.0)#11
updevru wants to merge 2 commits intomainfrom
feature/extend-instrument-info

Conversation

@updevru
Copy link
Copy Markdown
Owner

@updevru updevru commented Apr 1, 2026

Summary

  • Update finam-trade-api/go SDK to latest version with Trade API 2.14.0 support
  • Display instrument-type-specific details on the profile screen: contract size & expiry for futures, contract size, strike & expiry for options, face value & currency for bonds
  • Show open interest in the Quote section for derivatives (futures, options)

Changes

  • go.mod — SDK updated to v0.0.0-20260401112026-402e726d2b7f
  • models/models.go — Added ContractSize, Strike, BondFaceValue, BondFaceCurrency to AssetDetails; OpenInterest to Quote
  • api/client.go — Parse FutureDetails/OptionDetails/BondDetails oneof in GetAssetInfo(); extract OpenInterest in GetQuotes()
  • ui/profile.go — Contextual sections (Futures/Options/Bond) after Details; Open Interest in Quote section

Test plan

  • Open profile for a stock (e.g. SBER) — no new sections visible
  • Open profile for a future (e.g. SiM5) — "Futures" section with contract size
  • Open profile for an option — "Options" section with contract size and strike
  • Open profile for a bond (e.g. SU26243RMFS3) — "Bond" section with face value
  • Verify open interest appears in Quote section for derivatives
  • Verify app compiles and runs without errors

🤖 Generated with Claude Code

updevru and others added 2 commits April 1, 2026 23:20
Update finam-trade-api SDK to latest version and display instrument-type-specific
data on the profile screen: contract size and expiry for futures, contract size,
strike and expiry for options, face value and currency for bonds. Show open
interest in the quote section for derivatives.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…SA1019

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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