Created
June 12, 2021 06:04
-
-
Save HumanRupert/8b58043512ee1a22d770200991513d99 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# src/ms/controller.py | |
tickers: List[Constituent] = convert_csv_to_records( | |
"data/tickers.csv", Constituent) | |
dt_to_milli = lambda dt: datetime.timestamp(dt) * 1000 | |
start = dt_to_milli(datetime(2018, 1, 1)) | |
end = dt_to_milli(datetime(2020, 1, 1)) | |
extract_n_store_cup_with_handles(start, end, tickers) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment