self.initial_budget

property Strategy.initial_budget

Returns the strategy’s starting value.

In backtests this is the configured starting cash. In live trading it is the first broker-verified portfolio equity snapshot, including existing positions; it is not merely the account’s cash balance.

Returns:

Starting backtest cash or live account equity.

Return type:

float

Example

>>> self.log_message(f'Strategy initial budget: {self.initial_budget}')