You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"""Read and process NordPool parquet files for a specific date."""
238
-
year=str(date.year)
239
-
month=f"{date.month:02d}"
240
-
day=f"{date.day:02d}"
241
-
folder_path=Path(marketdatapath) /year/month/day
237
+
"""Read and process NordPool parquet files for a specific date.
238
+
Nordpool contains flags for full and partial execution of orders. We disregard this, as it will become apparent in our backtesting LOB traversal. After partial execution, orders are sometimes modified, deleted etc., this all stays relevant and is handled.
239
+
We also currently still disregard FoK and IoC orders (treat them as 0 validity duration). They have all the same updateTime in their message-chain.
240
+
"""
241
+
date_folder=date.strftime("%Y%m%d")
242
+
folder_path=Path(marketdatapath) /date_folder
242
243
243
244
ifnotfolder_path.exists():
244
245
raiseFileNotFoundError(f"Folder not found: {folder_path}")
0 commit comments