Skip to content
Tools for financial economics. Curated wrapper over Python ecosystem. Source code for fecon235 Jupyter notebooks.
Python Shell Dockerfile
Branch: develop
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
.old/235 Re-establish .github directory Jun 25, 2018
bin bin/up-pypi: Auto-commit __version__ Jun 11, 2018
docs docs/ Improve markdown of URLs Jul 26, 2018
fecon236 util/ Fix versionstr() Jan 11, 2019
tests Interim mark.xfail Aug 1, 2018
.gitignore Rename: .old/235/.gitignore -> .gitignore Apr 12, 2018
.travis.yml .travis.yml: Add notifications for Jul 13, 2018 Update Dec 2, 2018
VERSION Bump VERSION to 10.8.0 Dec 2, 2018
require.txt require.txt: Supplement goodness list Jun 13, 2018 Change status from alpha to stable Jun 20, 2018

fecon236 :: Tools for financial economics

Curated wrapper over Python ecosystem. Source code for fecon235 Jupyter notebooks.

GitHub repository is at fecon236, see CHANGELOG for revision history. The protected master branch gets released via pip, see our PyPI. The develop branch is where pull requests are currently directed.

Gitter / master Build Status / develop Build Status

fecon236 logo

What is this repository for?

fecon236 provides an interface for financial economics to the Python ecosystem, especially packages for mathematics, statistics, science, engineering, and data analysis. Complex packages such as numpy, pandas, statsmodels, scipy, and matplotlib are seamlessly integrated at a high-level with APIs of various data hosts for:

  • Essential commands which correctly handle annoying low-level pitfalls.

  • Retrieval of economic and financial data, both historical and the most current.

  • Data munging, for example, resampling and alignment of time-series data from hosts using mutually incompatible formats.

  • Analysis using techniques from econometrics, time-series analysis, and statistical machine learning.

  • Abstraction and software optimization of mathematical operators, for example, linear algebra used in portfolio analysis.

  • Visualization of data using graphical packages.

  • Reproducible research which is collaborative and openly accessible at zero cost.

To practically test theoretical ideas interactively, fecon236 can employed with any Python IDE interactive development environment, IPython console, or with a Jupyter notebook. The code has been tested against both python27 and python3 since 2014, and works across major platforms: Linux, Mac, and Windows.

The best way to see the convenience of fecon236 in action is to run the notebooks in the fecon235 nb directory.

How does one get started?

For installation details and FAQ, please first visit our wiki. For the casual user in an Anaconda environment, we recommend: conda update pip, then pip install --pre fecon236

Documentation is currently being served from 236docs. Please start your orientation with this README notebook which shows how most of this project is self-documenting.

Development status: stable

For the developer, we recommend forking the fecon236 repository, then pip install --editable .

  • fecon235 becomes a repository solely of Jupyter notebooks. The old Python source code at fecon235 will remain for archival purposes, while new code development shifts over to fecon236.

Version 10 of fecon236 represents refactoring of the fecon235 v5.18.0312 Python code, not the Jupyter notebooks, with a new architecture depicted in Appendix 1. Function names have been retained, but under fecon236 expect infrequent function calls to be explicit rather than implicit, i.e. modules names and their aliases are significant.

  • After 2019-01-01, our official support for python27 will discontinue (like numpy and pandas), however, straddling code may still continue to work.

Version 11 of fecon236 will signal when our Travis builds under Python 2.7 fail, and at that point we expect to require at least Python 3.6.


Join the chat at Gitter and ping the lead developer @rsvp. Please consider becoming a member of the Mathematical Sciences Group.

MathSci logo

Appendix 1: fecon236 package map

>>> print(
Annotated tree map of package directory [with module aliases]
    ├──   (Router, sole non-empty file herein)
    ├──       (Tools, low-level essentials)
    ├──        (Top priority, experimental)
    ├── boots   (Bootstrap)
    │   └──   [bs]
    ├── dst   (Distributions)
    │   └──   [gmix]
    ├── econ
    │   └──
    ├── futures
    │   └──
    ├── host
    │   ├──
    │   ├──
    │   ├──
    │   ├──
    │   └──
    ├── math
    │   └──   [mat]
    ├── ml   (Machine Learning)
    │   └──
    ├── oc   (Optimization Control)
    │   └──   [op]
    ├── parse
    │   └──
    ├── prob   (Probability)
    │   └──   (Simulation)
    ├── prtf   (Porfolio theory)
    │   └──   [boltz]
    ├── rates  (Fixed Income)
    │   └──
    ├── tsa    (Time Series Analysis)
    │   └──   [hw]
    ├── util   (Utilities)
    │   ├──
    │   └──
    └── visual

BSD License and TOS / This page, last update : 2018-07-25

You can’t perform that action at this time.