self.deposit_cashΒΆ

lumibot.strategies.strategy.Strategy.deposit_cash(self, amount: float, reason: str = 'deposit') float

Deposit cash during backtesting and return the updated cash balance.