Skip to main content

A simple Financial Feature Engineering library.

Project description

FinFeatures

Simple Financial Feature Engineering for Data Science and Finance.

Features

  • Moving Averages (SMA, EMA)
  • Relative Strength Index (RSI)
  • MACD
  • Bollinger Bands
  • Average True Range (ATR)
  • Stochastic Oscillator
  • Rolling Volatility
  • Percent Change
  • Apply Full Basic Feature Set
  • Apply Premium Feature Set

Installation

pip install .

Usage

import finfeatures as ff

# Assume `df` has 'Close', 'High', and 'Low' columns
ff.simple_moving_average(df, column='Close', window=20)
ff.relative_strength_index(df, column='Close')
ff.average_true_range(df, high_col='High', low_col='Low', close_col='Close')
ff.stochastic_oscillator(df, high_col='High', low_col='Low', close_col='Close')
ff.basic_feature_set(df, column='Close')
ff.premium_feature_set(df, close_col='Close', high_col='High', low_col='Low')

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

finfeatures-0.1.0.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

finfeatures-0.1.0-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file finfeatures-0.1.0.tar.gz.

File metadata

  • Download URL: finfeatures-0.1.0.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.0

File hashes

Hashes for finfeatures-0.1.0.tar.gz
Algorithm Hash digest
SHA256 99f230dabd6329738a13b6210d1fb486eddfac2a1776b8464ed30c7558cecad0
MD5 d8cdaf6d7b186196ff52f20f57cf2630
BLAKE2b-256 a2ee4beb48de3ab5c7abc89d5a64f1fe6aab5c83a68f0803350e3124c6a8a42c

See more details on using hashes here.

File details

Details for the file finfeatures-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: finfeatures-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.0

File hashes

Hashes for finfeatures-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d37552c7445c2ebeb1a11c7d13bf3a751d752e7756276df12b61901c77969e6f
MD5 fc566bae54cba20bf6e5c0102c538701
BLAKE2b-256 3474e400ecdf3790026a1423954d6fd1c1b59ce32a03840376c9fbf9f8e0baac

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page