Skip to main content

No project description provided

Project description

Finalytics

pypi License Homepage Documentation Status Platform Python Version PePy

This is a python binding for Finalytics Rust Library designed for retrieving financial data and performing security analysis and portfolio optimization.

Installation

pip install finalytics

Example

View the documentation for more information.

from finalytics import Tickers

# Instantiate a Multiple Ticker Object
tickers = Tickers(symbols=["NVDA", "GOOG", "AAPL", "MSFT", "BTC-USD"],
                  start_date="2020-01-01",
                  end_date="2024-01-01",
                  interval="1d",
                  confidence_level=0.95,
                  risk_free_rate=0.02)

# Calculate the Performance Statistics of all the Tickers
print(tickers.performance_stats())

# Display the Security Analysis Charts
tickers.returns_chart().show()
tickers.returns_matrix().show()

# Perform Portfolio Optimization
portfolio = tickers.optimize()
print(portfolio.optimization_results())

# Display the Portfolio Optimization Charts
portfolio.optimization_chart().show()
portfolio.performance_chart().show()
portfolio.asset_returns_chart().show()
portfolio.performance_stats_table().show()

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

finalytics-0.5.0.tar.gz (81.6 kB view hashes)

Uploaded Source

Built Distributions

finalytics-0.5.0-cp312-none-win_amd64.whl (11.5 MB view hashes)

Uploaded CPython 3.12 Windows x86-64

finalytics-0.5.0-cp312-none-win32.whl (10.0 MB view hashes)

Uploaded CPython 3.12 Windows x86

finalytics-0.5.0-cp312-cp312-macosx_11_0_arm64.whl (11.5 MB view hashes)

Uploaded CPython 3.12 macOS 11.0+ ARM64

finalytics-0.5.0-cp312-cp312-macosx_10_12_x86_64.whl (12.1 MB view hashes)

Uploaded CPython 3.12 macOS 10.12+ x86-64

finalytics-0.5.0-cp311-none-win_amd64.whl (11.5 MB view hashes)

Uploaded CPython 3.11 Windows x86-64

finalytics-0.5.0-cp311-none-win32.whl (10.1 MB view hashes)

Uploaded CPython 3.11 Windows x86

finalytics-0.5.0-cp311-cp311-macosx_11_0_arm64.whl (11.5 MB view hashes)

Uploaded CPython 3.11 macOS 11.0+ ARM64

finalytics-0.5.0-cp311-cp311-macosx_10_12_x86_64.whl (12.1 MB view hashes)

Uploaded CPython 3.11 macOS 10.12+ x86-64

finalytics-0.5.0-cp310-none-win_amd64.whl (11.5 MB view hashes)

Uploaded CPython 3.10 Windows x86-64

finalytics-0.5.0-cp310-none-win32.whl (10.1 MB view hashes)

Uploaded CPython 3.10 Windows x86

finalytics-0.5.0-cp310-cp310-manylinux_2_35_x86_64.whl (15.6 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.35+ x86-64

finalytics-0.5.0-cp310-cp310-macosx_11_0_arm64.whl (11.5 MB view hashes)

Uploaded CPython 3.10 macOS 11.0+ ARM64

finalytics-0.5.0-cp310-cp310-macosx_10_12_x86_64.whl (12.1 MB view hashes)

Uploaded CPython 3.10 macOS 10.12+ x86-64

finalytics-0.5.0-cp39-none-win_amd64.whl (11.5 MB view hashes)

Uploaded CPython 3.9 Windows x86-64

finalytics-0.5.0-cp39-none-win32.whl (10.1 MB view hashes)

Uploaded CPython 3.9 Windows x86

finalytics-0.5.0-cp39-cp39-macosx_11_0_arm64.whl (11.5 MB view hashes)

Uploaded CPython 3.9 macOS 11.0+ ARM64

finalytics-0.5.0-cp39-cp39-macosx_10_12_x86_64.whl (12.1 MB view hashes)

Uploaded CPython 3.9 macOS 10.12+ x86-64

finalytics-0.5.0-cp38-none-win_amd64.whl (11.5 MB view hashes)

Uploaded CPython 3.8 Windows x86-64

finalytics-0.5.0-cp38-none-win32.whl (10.1 MB view hashes)

Uploaded CPython 3.8 Windows x86

finalytics-0.5.0-cp37-none-win_amd64.whl (11.5 MB view hashes)

Uploaded CPython 3.7 Windows x86-64

finalytics-0.5.0-cp37-none-win32.whl (10.1 MB view hashes)

Uploaded CPython 3.7 Windows x86

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