distribute_to_entry#

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

distribute_to_entry(entry, state, timestamp, block_number, total_accrued, max_interest_gain)[source]#

Update interest one position, one side of loan.

Parameters:
Return type:

BalanceUpdate