apply_sync_events#
- apply_sync_events(portfolio, new_reserves, default_price=1.0)[source]#
Apply deposit and withdraws on reserves in the portfolio.
- Parameters:
default_price – Set the reserve currency price for new reserves.
portfolio (Portfolio) –
new_reserves (List[ReserveUpdateEvent]) –