apply_sync_events#

apply_sync_events(portfolio, new_reserves, default_price=1.0)[source]#

Apply deposit and withdraws on reserves in the portfolio.

Parameters: