fix: Divide theo & delta by driver to normalize them
Bugs (fixed): * Theo and delta are wrong in time/sales
This commit is contained in:
1 parent
f9f6fa6233
commit
b96cdafc71
1 file changed
+2
-2
@@ -77,9 +77,9 @@ namespace mbts.analytics {
|
||||
rho ?? greeks_tuple.rho);
|
||||
|
||||
public static double normalized_theo(this in GreeksTuple greeks_tuple) =>
|
||||
greeks_tuple.theo * greeks_tuple.driver;
|
||||
greeks_tuple.theo / greeks_tuple.driver;
|
||||
|
||||
public static double normalized_delta(this in GreeksTuple greeks_tuple) =>
|
||||
greeks_tuple.delta * greeks_tuple.driver;
|
||||
greeks_tuple.delta / greeks_tuple.driver;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user