fetch_crypto_positions
Returns all current crypto positions.
Syntax
def fetch_crypto_positions(self) -> List[Dict[str, Any]]: Returns
Returns a list of dictionaries with the following keys and values:
symbol: Ticker symbol for the crypto, prepended with an ’@‘avg_price: The average price the crypto was bought atquantity: Quantity owned
Raises
- An
Exceptionis raised if there is an error fetching the crypto positions.