bugfixing
This commit is contained in:
parent
ef5171fc2c
commit
742c49950e
@ -94,7 +94,7 @@ def aggregate_data_by_date(symbol):
|
|||||||
if matching_price:
|
if matching_price:
|
||||||
spot_price = matching_price['close']
|
spot_price = matching_price['close']
|
||||||
else:
|
else:
|
||||||
spot_price = 0 # Or some default value
|
continue
|
||||||
|
|
||||||
gex = open_interest * gamma * spot_price
|
gex = open_interest * gamma * spot_price
|
||||||
dex = open_interest * delta * spot_price
|
dex = open_interest * delta * spot_price
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user