create_credit_supply_loan#

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

create_credit_supply_loan(position, trade, timestamp, mode='plan')[source]#

Create a loan that supplies credit to a lending protocol.

This is a loan with

  • Collateral only

  • Borrowed is None

Parameters: