sbenthall / SHARKFin

Simulating Heterogeneous Agents with Finance
7 stars 5 forks source link

AssertionErorr assert subjective_return < 1 #237

Closed wjt5121 closed 8 months ago

wjt5121 commented 1 year ago

@sbenthall I started to receive the following error when I attempt to start SharkFin.

------------shark_lucasShark10763_err.log----- Traceback (most recent call last): File "/usr/simulation/SHARKFin/simulate/run_any_simulation.py", line 330, in "price_to_dividend_ratio": price_dividend_ratio_random_walk( File "/usr/simulation/SHARKFin/simulate/../sharkfin/utilities.py", line 162, in price_dividend_ratio_random_walk assert subjective_return < 1 AssertionError

------------stdout.log---------- Sharkfin output : 20.230.0.191 lucasShark10763 45561 25 4 60 ClientRPCMarket InferentialExpectations LUCAS0 5.0 0.99 1.000203 0.011983 0.05 10000 0.1 0.1 60.0 60.0 0.0 0 0 0 None ClosingPrice subjective_return: 1.0005120714871312

sbenthall commented 1 year ago

https://github.com/sbenthall/SHARKFin/commit/504372d1f647a10b986bf790bd4d38f5b1d220f6