distribute_interest_for_assets#

API documentation for tradeexecutor.strategy.interest.distribute_interest_for_assets Python function.

distribute_interest_for_assets(operation, state, asset, timestamp, block_number, new_amount, max_interest_gain)[source]#

Distribute the accrued interest of an asset across all positions holding this asset.

Returns:

An event

Parameters:
Return type:

Iterable[BalanceUpdate]