A Python library for working with time series data. It comes with common financial functions built-in.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Gourav Kumar 5c5d5b8cc6 Merge branch 'UserDict-trial' of http://192.168.0.114:3000/buddy/fincal into UserDict-trial 2 years ago
.ipynb_checkpoints changed return TimeSeries to return self.__class__ 2 years ago
.vscode changed return TimeSeries to return self.__class__ 2 years ago
fincal changed return TimeSeries to return self.__class__ 2 years ago
test_files test files 2 years ago
tests Added tests for date_series & some for TimeSeries 2 years ago
.gitignore Setup package and tested with tox 2 years ago
LICENSE Setup package and tested with tox 2 years ago
README.md Setup package and tested with tox 2 years ago
VERSION Setup package and tested with tox 2 years ago
dict_iter.py test files 2 years ago
my_test.py test files 2 years ago
requirements.txt Added frequencies as classes 2 years ago
setup.py Setup package and tested with tox 2 years ago
testing.ipynb changed return TimeSeries to return self.__class__ 2 years ago
tox.ini Setup package and tested with tox 2 years ago

README.md

Fincal

This module simplified handling of time-series data

The problem

Time series data often have missing data points. These missing points mess things up when you are trying to do a comparison between two sections of a time series.

To make things worse, most libraries don't allow comparison based on dates. Month to Month and year to year comparisons become difficult as they cannot be translated into number of days. However, these are commonly used metrics while looking at financial data.

The Solution

Fincal aims to simplify things by allowing you to:

  • Compare time-series data based on dates
  • Easy way to work around missing dates by taking the closest data points
  • Completing series with missing data points using forward fill and backward fill

Examples