get_asset_price_list

Returns a list of recent prices for an asset.

This function is not compatible with options.

Syntax

Fields

Description

symbol(str)

Symbol of stock or crypto asset. Defaults to first symbol in watchlist

interval(str)

Interval of data. Defaults to the interval of the algorithm

ref(str)

'close', 'open', 'high', or 'low'. Defaults to 'close'

def get_asset_price_list(self, symbol: str = None, interval: str = None, ref: str = "close"):

Returns

Returns a list of recent prices for the specified asset.

Raises