produvia / kryptos

Kryptos AI is a virtual investment assistant that manages your cryptocurrency portfolio
http://twitter.com/kryptos_ai
MIT License
48 stars 8 forks source link

Create Financial Data Structures #86

Open slavakurilyak opened 6 years ago

slavakurilyak commented 6 years ago

Goals

As a developer, I want to create structured financial data from unstructured data, in the form of time, tick, volume, and dollar bars, so that I can build the more interesting features for predicting financial time series data.

As a developer, I want to sample financial data differently, so that avoid using fixed time interval sampling.

Inspiration

  1. Markets don't process information at fixed time intervals, time bars oversample during quiet periods and undersample during busy periods.
  2. Time sampled bars often exhibit poor statistical properties:
    • Serial Correlation
    • Heteroscedasticity
    • Non Normality of Returns

Source: Marcos Lopez de Prado (Advances in Financial Machine Learning, 2018)

Consider