self.get_historical_bot_stats

lumibot.strategies.strategy.Strategy.get_historical_bot_stats(self)

Get the historical account value.

Returns:

The historical bot stats.

Return type:

pandas.DataFrame

Example

>>> # Get the historical bot stats
>>> bot_stats = self.get_historical_bot_stats()
>>> # Show the historical bot stats
>>> self.log_message(account_value)