Skip to content

v0.3.0

Choose a tag to compare

@joaquinbejar joaquinbejar released this 06 Mar 18:51
· 14 commits to main since this release
7b76a73

🚀 deribit-fix v0.3.0

A major release that removes the deribit-base dependency, adds Block Trade and RFQ fields, and introduces GitHub Actions CI/CD.

⚠️ Breaking Changes

Removed deribit-base Dependency (#7)

  • All types from deribit-base are now inlined directly in this crate
  • No external dependency required for basic types
  • Simplifies deployment and reduces dependency tree

✨ New Features

Block Trade & RFQ Fields (#6)

Trade Capture Report (35=AE):

  • TrdMatchID (880) — Block Trade ID or Combo Trade ID
  • NoLegs (555) group — Multi-leg trade support
    • LegSymbol (600), LegQty (687), LegPrice (566), LegSide (624)
  • NoSides (552) group — Side-specific details
    • Side (54), OrderId (37), Commission (12), CommCurrency (479)
  • New structs: TradeCaptureReportLeg, TradeCaptureReportSide

Quote Request (35=R):

  • TotalVolumeTraded (387) — Traded volume for RFQ subscriptions
  • TransactTime (60) — Update time for last trade

Missing Deribit Custom Tags (#5)

User Response:

  • 100001 DeribitUserEquity
  • 100002 DeribitUserBalance
  • 100003 DeribitUserInitialMargin
  • 100004 DeribitUserMaintenanceMargin
  • 100005 DeribitUnrealizedPl
  • 100006 DeribitRealizedPl
  • 100011 DeribitTotalPl
  • 100013 DeribitMarginBalance

Position Report:

  • 100088 DeribitLiquidationPrice
  • 100089 DeribitSizeInCurrency

Module Re-exports

  • Re-exported position and NewOrderRequest modules in model

🔧 Fixes

  • FIX Endpoints — Updated to new official Deribit addresses (#17, thanks @dancju!)

🛠️ CI/CD

GitHub Actions (#4)

  • Build workflow (ubuntu-latest, ubuntu-22.04)
  • Lint workflow (clippy)
  • Format check workflow
  • Test workflow
  • Code coverage with Codecov
  • Semver compatibility checks

Dependabot

  • Automated dependency updates for Cargo and GitHub Actions

📦 Dependencies Updated

Package From To
rand 0.9 0.10
reqwest 0.12 0.13
actions/checkout 4 6
codecov/codecov-action 4 5

📊 Quality Metrics

  • 264 unit tests passing ✅
  • Zero clippy warnings ✅
  • Zero compilation warnings ✅

🙏 Contributors

📦 Installation

[dependencies]
deribit-fix = "0.3.0"

🔗 Links