A Python library for working with time series data. It comes with common financial functions built-in.
Go to file
2022-03-11 09:42:22 +05:30
.ipynb_checkpoints changed return TimeSeries to return self.__class__ 2022-02-21 22:48:24 +05:30
.vscode changed return TimeSeries to return self.__class__ 2022-02-21 22:48:24 +05:30
fincal parse_dates decorator works with optional date params 2022-03-11 09:42:22 +05:30
test_files Series tests pass data type as string 2022-02-22 13:05:54 +05:30
tests New test using GBM generated series 2022-03-11 09:40:37 +05:30
.gitignore Series tests pass data type as string 2022-02-22 13:05:54 +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 Series tests pass data type as string 2022-02-22 13:05:54 +05:30
README.md Setup package and tested with tox 2022-02-17 16:20:48 +05:30
requirements.txt updated requirements.txt 2022-02-25 22:22:49 +05:30
setup.py Setup package and tested with tox 2022-02-17 16:20:48 +05:30
test2.py Added volatility function 2022-03-06 15:36:23 +05:30
test_series.py Series tests pass data type as string 2022-02-22 13:05:54 +05:30
test.py Series tests pass data type as string 2022-02-22 13:05:54 +05:30
testing.ipynb separated utility functions and exceptions in standalone files 2022-02-26 12:46:42 +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