apply_sync_events#

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

Apply deposit and withdraws on reserves in the portfolio.

Note

This is only used with deprecated tradeexecutor.strategy.sync_model.SyncMethodV0

Parameters: