fetch_account
Returns current account information from the brokerage.
Syntax
def fetch_account(self) -> Dict[str, float]:
Returns
Returns a dictionary with the following keys and values:
equity
: Total assets in the brokeragecash
: Total cash in the brokeragebuying_power
: Total buying powermultiplier
: Scale of leverage, if leveraging
Raises
- A
NotImplementedError
is raised if the method is not supported.