Skip to content

Instantly share code, notes, and snippets.

@michchan
Last active October 16, 2020 09:32
Show Gist options
  • Save michchan/f48665a729b9db2f323ae6beff158cc0 to your computer and use it in GitHub Desktop.
Save michchan/f48665a729b9db2f323ae6beff158cc0 to your computer and use it in GitHub Desktop.
DynamoDB IndicesByPeriod GSI design for World indices timeseries
GSIHash time symbol name lastPrice
PERIOD 2020-10-16T07:41:02.281Z ^HSI HANG SENG INDEX 24347.65
PERIOD 2020-10-16T07:41:02.281Z ^IXIC NASDAQ Composite 11713.87
PERIOD 2020-10-16T07:41:02.281Z ^DJI Dow Jones Industrial Average 28494.20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment