fetch_stock_positions
Returns all current stock positions.
Syntax
def fetch_stock_positions(self) -> List[Dict[str, Any]]:
Returns
Returns a list of dictionaries with the following keys and values:
symbol
: Ticker symbol of the stockavg_price
: The average price the stock was bought atquantity
: Quantity owned
Raises
- An
Exception
is raised if there is an error fetching the stock positions.