Week 6: Python Package Development and Social Coding with GitHub#
Learning Outcomes#
Python package development with Hatch and Hatchling
GitHub-based open source contributions (pull requests) using the
finmpackageLSEG Datastream via WRDS (brief overview)
Databento: API-first market data for futures and exchange data
Introduction to HW 4: yield curve estimation with Nelson-Siegel-Svensson
Agenda#
Brief LSEG Datastream and Databento overview (carried over from Week 5)
Tutorial of Issue Tracker in conjunction with GitHub Pull Requests
Introduce the
finmpackage as the course’s collaborative open-source package; a low-stakes environment for students to practice submitting PRs.Note: Last year we used
stockbetaas the example.stockbetais published on TestPyPI (but not on the real PyPI), which is useful for illustrating the TestPyPI workflow.A function from the
finmpackage will be used in HW 4.
Introduction to Hatch and Hatchling
HW 4 Discussion: Yield Curve Estimation
Overview of the Nelson-Siegel-Svensson model and CRSP Treasury data (deferred from Week 5)