fetch_market_hours

Returns the market hours for a given day. Hours are based on the exchange specified in the class’s ‘exchange’ attribute.

Syntax

Fields

Description

date(dt.date)

The date to get market hours for

def fetch_market_hours(self, date: dt.date) -> Dict[str, Any]:

Returns

Returns a dictionary with the following keys and values:

Raises