# Loading Option Prices and Volatilities

#### Option Valuation Inputs <a href="#option_valuation_inputs" id="option_valuation_inputs"></a>

For the inputs into Molecule's option valuations models, you can either choose to:

* Load option prices and underlying prices, then system calculates implied volatilities
* Load volatilities and underlying prices

In either case, Molecule is able to interpolate linearly between strike prices.

#### Loading Option Price Surfaces <a href="#loading_option_price_surfaces" id="loading_option_price_surfaces"></a>

You can load price surfaces for the option and Molecule will calculate the implied volatilities to be used in the valuation models.

#### Via Spreadsheet

The format for loading option prices via spreadsheet is seen here.

Cell A1 is the `as_of date`

Each row below contains a single `contract start`, `put or call`, `strike price` and `option price` (settle column).

<figure><img src="https://files.helpdocs.io/56bu62syz9/articles/48xvq4904d/1752097757072/image.png" alt=""><figcaption></figcaption></figure>

#### Via API

The API endpoint for loading option price surfaces is the same as other market data:

Batch loading is available and is more efficient than multiple API calls.

Sample payload:

<figure><img src="https://files.helpdocs.io/56bu62syz9/articles/48xvq4904d/1752098010830/image.png" alt=""><figcaption></figcaption></figure>

See <https://developer.molecule.io/reference/createmark-1> for further information.

#### Loading Option Volatilties <a href="#loading_option_volatilties" id="loading_option_volatilties"></a>

Loaded vols are in the form of percentages, to be ready for input into Black-Scholes.

Data must be based on absolute strike price, not distance in or out of the money.

#### Via Spreadsheet

The format for loading option prices via spreadsheet is seen here.

Cell A1 is the `as_of date`, and cell A2 is the Molecule `product code`.

The `strikes` are across the top, the `contract start` dates are down column A, and the `volatilities` are in the body of the table.

<figure><img src="https://files.helpdocs.io/56bu62syz9/articles/48xvq4904d/1752098299765/image.png" alt=""><figcaption></figcaption></figure>

#### Via API

See <https://developer.molecule.io/reference/createvol-1> for more info


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.molecule.io/core-functionality/core-features/loading-option-prices-and-volatilities.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
