Bourse.Unified.DeribitPositionUnits (bourse v0.6.0)

Copy Markdown View Source

Reconciles Deribit future position contracts with loaded market metadata.

Deribit future positions report quote size and base size_currency. Inverse market contract_size is quote-denominated, while linear market contract_size is base-denominated, so the divisor follows settlement.

Summary

Functions

Populates Deribit future contract fields from loaded market metadata.

Types

parse_result()

@type parse_result() :: {:ok, term()} | {:error, term()}

Functions

reconcile(result, exchange)

@spec reconcile(parse_result(), Bourse.Exchange.t()) :: parse_result()

Populates Deribit future contract fields from loaded market metadata.