prepare_interest_distribution#

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

prepare_interest_distribution(start, end, portfolio, pricing_model)[source]#

Get all tokens in open positions that accrue interest.

Returns:

Interest bearing assets used in all open positions

Parameters:
Return type:

InterestDistributionOperation