loan#
API documentation for tradeexecutor.state.loan Python module in Trading Strategy.
Module description#
Loan data structures.
When you do short and leveraged position by borrowing assets
Classes#
Borrowed out assets. |
Functions#
Calculate the collateral and borrow loan size to hit the target leverage with a starting capital. |