In run_any_simulation.pywe calculate the price to dividend ratio as a field in the market_args dict. However we never pass the number of days so it defaults to 90 days. see code
This gives the wrong price to dividend ratio when not using 90 days.
we can fix this by passing the runs per quarter parameter, to make the parameter visible as an input.
We discussed this just now.
'runs' is actually a deprecated command line argument, but the spirit of the PR is right.
I'll merge the PR and then correct the problems.
In
run_any_simulation.py
we calculate the price to dividend ratio as a field in themarket_args
dict. However we never pass the number of days so it defaults to 90 days. see codeThis gives the wrong price to dividend ratio when not using 90 days.
we can fix this by passing the runs per quarter parameter, to make the parameter visible as an input.