@@ -89,21 +89,21 @@ class MarketConstants(object):
89
89
fx_options_tenor_for_interpolation = ["ON" , "1W" , "2W" , "3W" , "1M" , "2M" , "3M" , "4M" , "6M" , "9M" , "1Y" ]#, "2Y", "3Y"]
90
90
91
91
# What contract will we generally be trading?
92
- fx_options_trading_tenor = '1M'
92
+ fx_options_trading_tenor = "1M"
93
93
94
94
# When constructing total return index 'mult' or 'add'
95
- fx_options_cum_index = ' mult'
95
+ fx_options_cum_index = " mult"
96
96
97
97
# For total return index use option price in base currency/for
98
- fx_options_index_premium_output = ' pct-for'
98
+ fx_options_index_premium_output = " pct-for"
99
99
100
- fx_options_index_strike = ' atm'
101
- fx_options_index_contract_type = ' european-call'
100
+ fx_options_index_strike = " atm"
101
+ fx_options_index_contract_type = " european-call"
102
102
103
103
fx_options_freeze_implied_vol = False
104
104
105
105
# What is the point at which we roll?
106
- fx_options_roll_event = ' expiry-date' # 'month-end', 'expiry-date', 'no-roll'
106
+ fx_options_roll_event = " expiry-date" # 'month-end', 'expiry-date', 'no-roll'
107
107
108
108
# How many days before that point should we roll?
109
109
fx_options_roll_days_before = 5
@@ -114,23 +114,23 @@ class MarketConstants(object):
114
114
# For fitting vol surface
115
115
116
116
# 'CLARK5', 'CLARK', 'BBG', 'SABR' and 'SABR3'
117
- fx_options_vol_function_type = ' CLARK5'
118
- fx_options_depo_tenor = '1M'
117
+ fx_options_vol_function_type = " CLARK5"
118
+ fx_options_depo_tenor = "1M"
119
119
120
120
# 'fwd-delta-neutral' or 'fwd-delta-neutral-premium-adj' or 'spot' or 'fwd'
121
- fx_options_atm_method = ' fwd-delta-neutral-premium-adj'
121
+ fx_options_atm_method = " fwd-delta-neutral-premium-adj"
122
122
123
123
# 'fwd-delta' or 'fwd-delta-prem-adj' or 'spot-delta-prem-adj' or 'spot-delta'
124
- fx_options_delta_method = ' spot-delta-prem-adj'
124
+ fx_options_delta_method = " spot-delta-prem-adj"
125
125
fx_options_alpha = 0.5
126
126
127
127
# 'pct-for' (in base currency pct) or 'pct-dom' (in terms currency pct)
128
- fx_options_premium_output = ' pct-for'
129
- fx_options_delta_output = ' pct-fwd-delta-prem-adj'
128
+ fx_options_premium_output = " pct-for"
129
+ fx_options_delta_output = " pct-fwd-delta-prem-adj"
130
130
131
131
# 'nelmer-mead' or 'nelmer-mead-numba' (faster but less accurate) or 'cg' (conjugate gradient tends to be slower, but more accurate)
132
- fx_options_solver = ' nelmer-mead-numba'
133
- fx_options_pricing_engine = ' financepy' # 'financepy' or 'finmarketpy'
132
+ fx_options_solver = " nelmer-mead-numba"
133
+ fx_options_pricing_engine = " financepy" # 'financepy' or 'finmarketpy'
134
134
135
135
fx_options_tol = 1e-8
136
136
0 commit comments