Bourse.Unified.DeribitPositionUnits (bourse v0.5.0)

Copy Markdown View Source

Reconciles Deribit future position contracts with loaded market metadata.

Deribit reports future size in quote currency. The market's contract_size converts that value into the venue contract count.

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.