Skip to content

Commit 67038d2

Browse files
author
rob
committed
now check adjusted prices can be created when rolling before making offer of ffill
1 parent 4e9e7ed commit 67038d2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

sysproduction/interactive_update_roll_status.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,8 @@ def roll_adjusted_and_multiple_prices(
599599

600600

601601
def get_roll_adjusted_multiple_prices_object(
602-
data: dataBlob, instrument_code: str
602+
data: dataBlob,
603+
instrument_code: str,
603604
) -> rollingAdjustedAndMultiplePrices:
604605

605606
## returns failure if goes wrong
@@ -609,6 +610,7 @@ def get_roll_adjusted_multiple_prices_object(
609610
)
610611
## We do this as getting the object doesn't guarantee it works
611612
_unused_ = rolling_adj_and_mult_object.updated_multiple_prices
613+
_unused_ = rolling_adj_and_mult_object.new_adjusted_prices
612614

613615
except Exception as e:
614616
print("Error %s when trying to calculate roll prices" % str(e))

0 commit comments

Comments
 (0)