pay_matured_cash_commitments_or_default is not order independent
rht opened this issue · comments
In particular this line:
resilience/resilience/agents/Bank.py
Line 124 in bf2c7da
pay_loan
immediately updates the balance sheet of a bank and its creditor at the same time.
I have tested with delaying sending the cash to the creditor so that all creditors will receive their cash during the mailbox checking subround, but this results in the cash commitments being delayed by 1 day, and increases the standard deviation of the extent of systemic events plot.