Skip to main content

No project description provided

Project description

OpenFintech

Introduction

OpenFintech is a financial analysis library designed for Python developers and financial analysts. It provides powerful tools for conducting both trend following and mean reversion analyses, utilizing financial market data. This project aims to make complex financial algorithms accessible and easy to use.

Installation

To install OpenFintech, follow these steps:

  1. Ensure you have Python installed on your system.
  2. Clone the repository:
    git clone https://github.com/your-username/OpenFintech.git
    
  3. Install required dependencies:
    pip install -r requirements.txt
    

Usage

Here's a quick example of how to use OpenFintech to run financial algorithms:

from OpenFintech import *

# Initialize and get data
data_acq = DataAcquisition("your-api-key")
tickerData = data_acq.requestDataFromAPI('AAPL', 'daily')

# Convert to FinancialInstrument
ticker_finInst = data_acq.convertDataToFinancialInstrument(tickerData)

# Run algorithms
tr_algo = TrendFollowing()
tr_backtest_data = tr_algo.runAlgorithmOnCandleContainer(...)
mr_algo = MeanReversion()
mr_backtest_data = mr_algo.runAlgorithmOnCandleContainer(...)

print(tr_backtest_data)
print(mr_backtest_data)

Replace "your-api-key" with your actual API key.

Components

Model.py

  • Algorithm: Base class for trading algorithms.
  • MeanReversion: Implements the mean reversion strategy.
  • TrendFollowing: Implements the trend following strategy.

Data.py

  • Candle, CandleContainer: Represent market data.
  • FinancialInstrument: Represents a financial instrument with associated market data.
  • Indicator, BollingerBands, NormalizedPrices, SMA: Various financial indicators.
  • DataAcquisition: Handles data acquisition from external sources.

Contributing

Contributions are welcome! Please read our contributing guidelines to get started.

License

This project is licensed under the Apache License - see the LICENSE file for details.

Authors and Acknowledgment

  • Harri Sivakumar
  • Ken Wu
  • Basil Ahmad
  • Acknowledgments to other contributors and organizations.

FAQs/Contact Information

For any queries, please reach out to us at team@wlufintech.com.

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

OpenFintech-0.1.9.tar.gz (9.2 kB view details)

Uploaded Source

Built Distribution

OpenFintech-0.1.9-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

Details for the file OpenFintech-0.1.9.tar.gz.

File metadata

  • Download URL: OpenFintech-0.1.9.tar.gz
  • Upload date:
  • Size: 9.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for OpenFintech-0.1.9.tar.gz
Algorithm Hash digest
SHA256 2e18eab9392e7aa7ebf64e062acbcf78ba3d2c0f8dff8415207b0d5972c0a343
MD5 8d882d314e7554ae00d3b72e1ecf347f
BLAKE2b-256 e5043174441ea9a0b655bb3d29d896e2d6d7a4af825c86d90f0b5907c063b04f

See more details on using hashes here.

File details

Details for the file OpenFintech-0.1.9-py3-none-any.whl.

File metadata

  • Download URL: OpenFintech-0.1.9-py3-none-any.whl
  • Upload date:
  • Size: 9.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for OpenFintech-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 35622cd63fa02d1e2e2df857bb13974038f0a7019c13b8f66b8c9fa58f9ccb50
MD5 842e5629f71f7e5b861835bd8c286ccb
BLAKE2b-256 bb05e7f75b61ade808f900bc40b33ce1845960984f979f8b658812541e8f7289

See more details on using hashes here.

Supported by

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