(calendar_path: Path)
| 185 | |
| 186 | @staticmethod |
| 187 | def _read_calendars(calendar_path: Path) -> List[pd.Timestamp]: |
| 188 | return sorted( |
| 189 | map( |
| 190 | pd.Timestamp, |
| 191 | pd.read_csv(calendar_path, header=None).loc[:, 0].tolist(), |
| 192 | ) |
| 193 | ) |
| 194 | |
| 195 | def _read_instruments(self, instrument_path: Path) -> pd.DataFrame: |
| 196 | df = pd.read_csv( |