Skip to content

MapFileZipHelper

QuantConnect.Data.Auxiliary.MapFileZipHelper

Bases: Object

Helper class for handling mapfile zip files

get_map_file_zip_file_name

get_map_file_zip_file_name(
    market: str,
    date: Union[datetime, date],
    security_type: SecurityType,
) -> str

Gets the mapfile zip filename for the specified date

read_map_file_zip

read_map_file_zip(
    file: Stream, market: str, security_type: SecurityType
) -> Iterable[MapFile]

Reads the zip bytes as text and parses as MapFileRows to create MapFiles