get_asset_avg_cost

Returns the average cost of a specified asset.

Syntax

Fields

Description

symbol(str)

Symbol of asset. Defaults to first symbol in watchlist

def get_asset_avg_cost(self, symbol: str = None) -> float:

Returns

Returns the average cost of the asset. Returns None if the asset is not being tracked.

Raises