Skip to content

M1 #4: Add missing model types for new Deribit API fields#13

Merged
joaquinbejar merged 1 commit intomainfrom
M1/issue-4-add-model-types
Mar 6, 2026
Merged

M1 #4: Add missing model types for new Deribit API fields#13
joaquinbejar merged 1 commit intomainfrom
M1/issue-4-add-model-types

Conversation

@joaquinbejar
Copy link
Copy Markdown
Owner

Summary

Update all dependency versions to their latest compatible releases.

Changes

  • tokio: 1.47 → 1.50
  • serial_test: 3.2 → 3.4 (dev dependency)
  • Cargo.lock: Updated all transitive dependencies

Note: reqwest 0.13 and rand 0.10 were already updated via merged Dependabot PRs (#13, #14).

Testing

  • Unit tests pass (cargo test --all-features)
  • make lint-fix passes
  • make pre-push passes

Checklist

  • All public items have /// documentation
  • No warnings from cargo clippy --all-targets --all-features -- -D warnings
  • cargo fmt --all --check passes
  • No .unwrap(), .expect(), or panics in library code

Closes #3

- Add MarkPricePoint and MarkPriceHistory for /public/get_mark_price_history
- Add TradeVolume for /public/get_trade_volumes (24h/7d/30d volumes)
- Add VolatilityIndexCandle and VolatilityIndexData for /public/get_volatility_index_data
- Add IndexType enum for /public/get_supported_index_names filter
- Add comprehensive unit tests for all new types

Closes #4
@joaquinbejar joaquinbejar added this to the v0.3.0 milestone Mar 6, 2026
@joaquinbejar joaquinbejar added the enhancement New feature or request label Mar 6, 2026
@joaquinbejar joaquinbejar self-assigned this Mar 6, 2026
@codecov-commenter
Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 96.61017% with 2 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/model/market_data.rs 96.61% 2 Missing ⚠️
Files with missing lines Coverage Δ
src/model/market_data.rs 96.42% <96.61%> (+0.20%) ⬆️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@joaquinbejar joaquinbejar merged commit a4a1f02 into main Mar 6, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update dependency versions

2 participants