This document outlines the structure and valid values for the config.yaml file. Each section below corresponds to a configuration parameter.
- Type:
string - Options:
"AMERICAN"— Option can be exercised at any time before expiration."EUROPEAN"— Option can be exercised only at expiration."BERMUDAN"— Option can be exercised at predefined points (seeexercise_frequency).
- Default:
"BERMUDAN"
- Type:
string - Options:
"PUT"— Grants the right to sell an asset at the strike price."CALL"— Grants the right to buy an asset at the strike price.
- Default:
"PUT"
- Type:
int - Specifies the number of underlying assets to price. Put 1 for vanilla options
- Default:
5
- Type:
float - Symbol:
r - In a risk-neutral framework, the risk-free rate also serves as the expected return (
μ). - Default:
0.05
- Type:
float - Symbol:
T - Time to expiration, measured in years.
- Default:
0.25
- Type:
string - Only applicable if
option_type = "BERMUDAN". - Options:
"MONTHLY""QUARTERLY""SEMI_MONTHLY""CUSTOM"— Requires thecustom_exercise_pointsparameter.
- Default:
"MONTHLY"
- Type:
Array[int] - Only applicable if
option_type = "BERMUDAN"andexercise_frequency = "CUSTOM". - Specifies custom exercise times in days.
- Example:
[1, 50, 100, 300]— each value represents a day on which early exercise is allowed.
- Type:
Array[float] - Symbol:
[S₀₁, S₀₂, ..., S₀_d] - Initial stock prices for each asset.
- Array length must equal
dimensions. - Default:
[80, 82, 78, 81, 83]
- Type:
Array[float] - Symbol:
[K₁, K₂, ..., K_d] - Strike price for each asset.
- Array length must equal
dimensions. - Default:
[110, 110, 110, 110, 110]
- Type:
Array[float] - Symbol:
[σ₁, σ₂, ..., σ_d] - Volatility of each asset.
- Array length must equal
dimensions. - Default:
[0.1, 0.12, 0.09, 0.11, 0.1]
- Type:
int - Symbol:
M - Number of Monte Carlo simulation paths.
- Default:
10000
- Type:
int - Symbol:
N - Number of discrete time steps used in each path.
- Default:
250
- Type:
int - Degree of the polynomial used in the regression step of the Longstaff-Schwartz method (LSM).
- Default:
3
- Type:
int - Number of training epochs for the feedforward neural network (FNN) when used.
- Default:
300