A Python library for working with time series data. It comes with common financial functions built-in.
Go to file
Gourav Kumar 141ec97a2c converted dates and values to properties
ts['dates'] and ts['values'] keys implemted
2022-02-20 21:52:33 +05:30
fincal converted dates and values to properties 2022-02-20 21:52:33 +05:30
test_files test files 2022-02-20 11:36:56 +05:30
tests Added tests for date_series & some for TimeSeries 2022-02-20 16:08:26 +05:30
.gitignore Setup package and tested with tox 2022-02-17 16:20:48 +05:30
dict_iter.py test files 2022-02-20 11:36:56 +05:30
LICENSE Setup package and tested with tox 2022-02-17 16:20:48 +05:30
my_test.py test files 2022-02-20 11:36:56 +05:30
README.md Setup package and tested with tox 2022-02-17 16:20:48 +05:30
requirements.txt Added frequencies as classes 2022-02-17 22:27:22 +05:30
setup.py Setup package and tested with tox 2022-02-17 16:20:48 +05:30
tox.ini Setup package and tested with tox 2022-02-17 16:20:48 +05:30
VERSION Setup package and tested with tox 2022-02-17 16:20:48 +05:30

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