From 55d25d2ffa6bc66b20695bcb47cc7de32cbc7154 Mon Sep 17 00:00:00 2001 From: sb Date: Thu, 16 Mar 2023 12:25:03 -0400 Subject: [PATCH] fixing market test -- extra argument for price dividend ratio function --- sharkfin/tests/test_markets.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sharkfin/tests/test_markets.py b/sharkfin/tests/test_markets.py index 33d2685..6be3f92 100644 --- a/sharkfin/tests/test_markets.py +++ b/sharkfin/tests/test_markets.py @@ -46,9 +46,10 @@ class TestMarketErrors(unittest.TestCase): def test_stopped_market(self): + dividend_growth_rate = 1.000628 dividend_std = 0.011988 - pdr = price_dividend_ratio_random_walk(0.95, 5, dividend_std) + pdr = price_dividend_ratio_random_walk(0.95, 5, dividend_growth_rate, dividend_std) market = MockMarket( dividend_growth_rate = 1.000628,