set_interest_checkpoint#
API documentation for tradeexecutor.strategy.interest.set_interest_checkpoint Python function.
- set_interest_checkpoint(state, timestamp, block_number, distribution=None)[source]#
Set the last updated at flag for rebase interest calcualtions at the internal state.
- Parameters:
state (State) –
timestamp (datetime) –
block_number (int | None) –
distribution (tradeexecutor.state.interest_distribution.InterestDistributionOperation | None) –