Account Management#

Account management functions are used to get your account value, cash, etc. You can see a list of them below:

Strategy.get_portfolio_value()

Query the broker for the latest portfolio value (cash plus net equity).

Strategy.get_cash()

Get the current cash value in your account.

Strategy.get_position(asset)

Get a tracked position given an asset for the current strategy.

Strategy.get_positions([include_cash_positions])

Get all positions for the account.