plan_loan_update_for_short#
API documentation for tradeexecutor.strategy.lending_protocol_leverage.plan_loan_update_for_short Python function.
- plan_loan_update_for_short(loan, position, trade)[source]#
Update the loan data tracking for short position.
Check that the information looks correct for a short position.
- Parameters:
loan (Loan) –
position (tradeexeecutor.state.position.TradingPosition) –
trade (TradeExecution) –