@@ -89,21 +89,21 @@ class MarketConstants(object):
8989 fx_options_tenor_for_interpolation = ["ON" , "1W" , "2W" , "3W" , "1M" , "2M" , "3M" , "4M" , "6M" , "9M" , "1Y" ]#, "2Y", "3Y"]
9090
9191 # What contract will we generally be trading?
92- fx_options_trading_tenor = '1M'
92+ fx_options_trading_tenor = "1M"
9393
9494 # When constructing total return index 'mult' or 'add'
95- fx_options_cum_index = ' mult'
95+ fx_options_cum_index = " mult"
9696
9797 # 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"
9999
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"
102102
103103 fx_options_freeze_implied_vol = False
104104
105105 # 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'
107107
108108 # How many days before that point should we roll?
109109 fx_options_roll_days_before = 5
@@ -114,23 +114,23 @@ class MarketConstants(object):
114114 # For fitting vol surface
115115
116116 # '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"
119119
120120 # '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"
122122
123123 # '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"
125125 fx_options_alpha = 0.5
126126
127127 # '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"
130130
131131 # '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'
134134
135135 fx_options_tol = 1e-8
136136
0 commit comments