cleanup: Remove unused code

This commit is contained in:
John Colvin committed 2024-09-13 10:50:22 -04:00
1 parent 23f6d827d5
commit fcf6927fbf
3 files changed
+2 -12

No files matched your search

@@ -15,8 +15,8 @@ namespace mbts.analytics {
public int vol_surface_id;
[ProtoBuf.ProtoMember(10)]
public VolSurfaceEnums.VolSurfaceModel vol_surface_model;
[ProtoBuf.ProtoMember(20)]
public List<string> symbols;
// [ProtoBuf.ProtoMember(20)]
// public List<string> symbols;
[ProtoBuf.ProtoMember(25)]
public List<VolSurfaceSymbolStructure> symbol_structure_list;
[ProtoBuf.ProtoMember(30)]
@@ -14,7 +14,6 @@ namespace mbts.analytics {
strangle = new() { strike_vol_movement_pairs = new() },
full_rotation = new() { strike_vol_movement_pairs = new() },
atm_shift = new() { strike_vol_movement_pairs = new() },
symbols = new(),
symbol_structure_list = new(),
wing_settings = new() {
explicit_slope_wing_settings = new(),
@@ -226,15 +226,6 @@ namespace mbts.analytics {
report.CalcMode = calculation_mode;
}
static mbts.SecurityTuple? _resolve_sec_tuple(SecurityType risk_terms_type, string risk_terms_name, IEnumerable<co2.UserSymbol> user_symbols) {
var matches = co2.UserSymbol.get_matches(
risk_terms_type, risk_terms_name, user_symbols);
if (matches.TryGetFirst(out var res)) {
return new(res);
}
return null;
}
void _set_and_refresh<T>(
ref T backing,
T new_value,