MV and Ladder use GreekTuple.normalized_theo now

This commit is contained in:
Taha Afzal committed 2022-10-03 23:20:48 -04:00
1 parent 66f68ef3ec
commit a330bc5020
2 files changed
+2 -2

No files matched your search

@@ -49,7 +49,7 @@ namespace Spark.Trading {
IObservable<double> theo_source() =>
_sec_greeks_in.Select(sec_greeks =>
sec_greeks.TryGetValue(key.security_id, out var greeks) ? greeks.theo : double.NaN);
sec_greeks.TryGetValue(key.security_id, out var greeks) ? greeks.normalized_theo : double.NaN);
}
}
}
@@ -256,7 +256,7 @@ namespace mbts.spark {
bus.subscribe(SparkTags.LogActivity).OnDispatcher().Subscribe(status_update),
bus.subscribe(SparkTags.SecuritiesTag).OnDispatcher().Subscribe(on_security_map),
model.greeks.OnDispatcher().Subscribe(g => {
_theo.set(g.theo);
_theo.set(g.normalized_theo);
_delta.set(g.delta);
_vega.set(g.vega);
}),