reset_credit_supply_loan#

API documentation for tradeexecutor.strategy.lending_protocol_leverage.reset_credit_supply_loan Python function.

reset_credit_supply_loan(position, timestamp, block_number, quantity, reserve_currency_exchange_rate=1.0)[source]#

Reset interest tracking on a loan.

  • When manual account correction is executed

  • See test_correct_accounts_redemption_on_ausdc for executing this on a code path

  • See also update_credit_supply_loan().

Parameters: