Skip to content

Instantly share code, notes, and snippets.

@erykml
Created September 23, 2019 18:58
Show Gist options
  • Save erykml/d6bb9e6ebaccda57635887dee52e3c88 to your computer and use it in GitHub Desktop.
Save erykml/d6bb9e6ebaccda57635887dee52e3c88 to your computer and use it in GitHub Desktop.
start_session = pd.Timestamp('2017-01-02', tz='utc')
end_session = pd.Timestamp('2017-12-29', tz='utc')
# register the bundle
register(
'eu_stocks', # name we select for the bundle
csvdir_equities(
# name of the directory as specified above (named after data frequency)
['daily'],
# path to directory containing the
'/.../medium_articles/Quantitative Finance/european',
),
calendar_name='XAMS', # Euronext Amsterdam
start_session=start_session,
end_session=end_session
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment