Skip to main content
Version: v5

spreads

Price a bull call and a bear put spread at each expiration.

Examples​

from openbb import obb
# Price the BTC vertical spreads.
obb.deribit.options.spreads()

Parameters​

symbol: str
Default: BTC
The underlying root, as it appears in the instrument name.

moneyness: float
Default: 5.0
How far out the sold leg sits, in percent.


Returns​

results: Any

Serializable results.

provider: str

Provider name.

warnings: Optional[list[Warning_]]

List of warnings.

chart: Optional[Chart]

Chart object.

extra: dict[str, Any]

Extra info.