Illustrating the impact of panic-selling triggered by liquidity shortages.


In [1]:
from model import test_run

In [2]:
%matplotlib inline

In [3]:
test_run()


Init: 20 investors, initial price = 125.0
Tot assets 149425.0
Tot cash 27300.0
Final
Tot assets 147847.647558
Tot cash 27300.0

In [4]:
test_run(num_sell_fail = 2)


Init: 20 investors, initial price = 125.0
Tot assets 149425.0
Tot cash 27300.0
Final
Tot assets 88371.4727999
Tot cash 27300.0

In [ ]: