For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Developer InformationAPI Reference
Developer InformationAPI Reference
  • Getting Started
    • Paradigm Overview
    • Onboarding
    • High-Level Notes
    • Authentication
    • Rate-Limits
    • Errors
    • Allowlisting URL`s
    • Security
  • Unified Markets
    • Summary
    • RFQ - Request For Quotes
    • OBv1
  • Delta-1 Spreads
    • Summary
    • High-Level Workflows
    • API Flows
  • What`s Changed
    • Auto-Populated Delta Hedge Quantity
    • Changes to Leg Level Validation
Logo
On this page
  • How is the Delta Hedge Quantity Calculated?
  • Specifics for Deribit:
  • Specifics for Bybit and BIT:
  • Dynamic Recalculation
  • Important for Custom Quantities:
What`s Changed

Auto-populated Delta Hedge Quantity

Previous

Changes to Leg Level Validation

Next
Built with

Starting 1 February 2024, we will automatically calculate and fill in the Quantity when you add a hedge leg to your Options structure.

How is the Delta Hedge Quantity Calculated?

The calculation uses the respective venue’s live market data, including Options Delta, Mark Price, and the Underlying Futures Price.

Specifics for Deribit:

For options on Deribit, which are inverse-margined and have premiums in the base currency, the premium-adjusted delta is used for calculating the quantity.

HedgeLegQuantity=−∑i=1n[(Deltai−MarkPricei)∗Quantityi]∗HedgeLegPriceHedge Leg Quantity = -\sum_{i=1}^{n}[(Delta_i-MarkPrice_i)*Quantity_i]*HedgeLegPriceHedgeLegQuantity=−∑i=1n​[(Deltai​−MarkPricei​)∗Quantityi​]∗HedgeLegPrice

Specifics for Bybit and BIT:

For venues that have linear-margined options and have premiums in the alternate currency, delta is used for calculating the quantity.

HedgeLegQuantity=−∑i=1n(Deltai∗Quantityi)Hedge Leg Quantity = -\sum_{i=1}^{n}(Delta_i*Quantity_i)HedgeLegQuantity=−∑i=1n​(Deltai​∗Quantityi​)

Dynamic Recalculation

The hedge quantity will automatically recalculate whenever there are changes to the Options Structure’s details. This includes modifications to the options legs or changes in the underlying futures price.

Quantity changes when you adjust the strike
Quantity changes when you adjust the underlying leg price

This automatic recalculation ensures the hedge quantity remains closely aligned with market expectations. It also allows you to verify if your intended input is close to the system’s pre-calculated values.

Important for Custom Quantities:

If you prefer to set a custom quantity for your delta hedge, you should:

  • Firstly, adjust your options strategy details and the price of the hedge leg.
  • Then, as the final step, enter your custom hedge quantity.