Skip to main content

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

Documentation

View Library documentation on readthedocs here

Security Analysis

from finalytics import Ticker

ticker = Ticker(symbol="AAPL",
                start="2023-01-01",
                end="2023-10-31",
                interval="1d",
                confidence_level=0.95,
                risk_free_rate=0.02)

print(ticker.performance_stats())
ticker.performance_chart().show()

Portfolio Optimization

from finalytics import Portfolio

portfolio = Portfolio(ticker_symbols=["AAPL", "GOOG", "MSFT", "BTC-USD"],
                      benchmark_symbol="^GSPC", start_date="2020-01-01", end_date="2022-01-01", interval="1d",
                      confidence_level=0.95, risk_free_rate=0.02, max_iterations=1000,
                      objective_function="max_sharpe")

print(portfolio.get_optimization_results())
portfolio.portfolio_chart("performance").show()

Metadata

Release files for finalytics 0.4.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for finalytics 0.4.1
File Size Uploaded
finalytics-0.4.1.tar.gz 73.1 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for finalytics 0.4.1
File
finalytics-0.4.1-cp312-none-win_amd64.whl CPython 3.12 none Windows x86-64 Details
finalytics-0.4.1-cp312-none-win32.whl CPython 3.12 none Windows x86-32 Details
finalytics-0.4.1-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details
finalytics-0.4.1-cp312-cp312-macosx_10_12_x86_64.whl CPython 3.12 CPython 3.12 macOS 10.12+ x86-64 Details
finalytics-0.4.1-cp311-none-win_amd64.whl CPython 3.11 none Windows x86-64 Details
finalytics-0.4.1-cp311-none-win32.whl CPython 3.11 none Windows x86-32 Details
finalytics-0.4.1-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details
finalytics-0.4.1-cp311-cp311-macosx_10_12_x86_64.whl CPython 3.11 CPython 3.11 macOS 10.12+ x86-64 Details
finalytics-0.4.1-cp310-none-win_amd64.whl CPython 3.10 none Windows x86-64 Details
finalytics-0.4.1-cp310-none-win32.whl CPython 3.10 none Windows x86-32 Details
finalytics-0.4.1-cp310-cp310-manylinux_2_35_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.35+ x86-64 Details
finalytics-0.4.1-cp310-cp310-macosx_11_0_arm64.whl CPython 3.10 CPython 3.10 macOS 11.0+ ARM64 Details
finalytics-0.4.1-cp310-cp310-macosx_10_12_x86_64.whl CPython 3.10 CPython 3.10 macOS 10.12+ x86-64 Details
finalytics-0.4.1-cp39-none-win_amd64.whl CPython 3.9 none Windows x86-64 Details
finalytics-0.4.1-cp39-none-win32.whl CPython 3.9 none Windows x86-32 Details
finalytics-0.4.1-cp39-cp39-macosx_11_0_arm64.whl CPython 3.9 CPython 3.9 macOS 11.0+ ARM64 Details
finalytics-0.4.1-cp39-cp39-macosx_10_12_x86_64.whl CPython 3.9 CPython 3.9 macOS 10.12+ x86-64 Details
finalytics-0.4.1-cp38-none-win_amd64.whl CPython 3.8 none Windows x86-64 Details
finalytics-0.4.1-cp38-none-win32.whl CPython 3.8 none Windows x86-32 Details
finalytics-0.4.1-cp37-none-win_amd64.whl CPython 3.7 none Windows x86-64 Details
finalytics-0.4.1-cp37-none-win32.whl CPython 3.7 none Windows x86-32 Details

Total release size: 194.1 MB

Release files / finalytics-0.4.1.tar.gz

Download URL finalytics-0.4.1.tar.gz
Size 73.1 kB
Tags Source
SHA-256 checksum
How to use checksums
d72e4cc089cd0f307c30c6f8c0f470d26a652e967e2727e9ad22f61833c9295b
BLAKE2b-256 checksum
How to use checksums
4404271cfc794f4606943dbbff78942c2158c57f78f54eeeb99f232b7f611fc9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.6.0

Release files / finalytics-0.4.1-cp312-none-win_amd64.whl

Download URL finalytics-0.4.1-cp312-none-win_amd64.whl
Size 9.2 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
c5ad3425d1c6b2b7a420f24a01cc819c5f7edb530e2d0113ee095d65cf2b3851
BLAKE2b-256 checksum
How to use checksums
369e5e2bda08b6c49cebdd0dcae893ab8535eea30145e88e9726e6895f48b401
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.6.0

Release files / finalytics-0.4.1-cp312-none-win32.whl

Download URL finalytics-0.4.1-cp312-none-win32.whl
Size 8.0 MB
Tags CPython 3.12 Windows x86-32
SHA-256 checksum
How to use checksums
d84eb8b8bc9472793a95cd61bed268c67127254baa12842b710a2dd9b5b3817e
BLAKE2b-256 checksum
How to use checksums
54f907ecbbc3096d2ef05050cb5d2254b8749b1cbe044ecdd59f0a54687eee28
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.6.0

Release files / finalytics-0.4.1-cp312-cp312-macosx_11_0_arm64.whl

Download URL finalytics-0.4.1-cp312-cp312-macosx_11_0_arm64.whl
Size 9.4 MB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
37c58405bafad42f016385102a70f7b521cd29d2064f68c45444a5f05ffd44d5
BLAKE2b-256 checksum
How to use checksums
0087bffa7ed460a90e17956d118c359fd87977184b37106f11a5763d43605b1d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.6.0

Release files / finalytics-0.4.1-cp312-cp312-macosx_10_12_x86_64.whl

Download URL finalytics-0.4.1-cp312-cp312-macosx_10_12_x86_64.whl
Size 9.9 MB
Tags CPython 3.12 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
b26541ade1eaa306411adb88962a3d116cae7e538ff512afec60bd2c41f4be88
BLAKE2b-256 checksum
How to use checksums
7ea6e8445d9be4475c9ce3c8f34615447dfcafec6a83b67ec6a93ba24fb4b0a9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.6.0

Release files / finalytics-0.4.1-cp311-none-win_amd64.whl

Download URL finalytics-0.4.1-cp311-none-win_amd64.whl
Size 9.2 MB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
764fc422039ff209ebe547378230fa7ea0d1da46e80022ff3b8f67c74e6b810a
BLAKE2b-256 checksum
How to use checksums
054ea0add1ef78404d1a59521d06646c5dc0824d38134ce9dfd00614f0c93073
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.6.0

Release files / finalytics-0.4.1-cp311-none-win32.whl

Download URL finalytics-0.4.1-cp311-none-win32.whl
Size 8.0 MB
Tags CPython 3.11 Windows x86-32
SHA-256 checksum
How to use checksums
2c797f42aa689cd3e7720a9a7902463e18c1709052e0cef90a7082460d61cb66
BLAKE2b-256 checksum
How to use checksums
b1f64b1988ded8bada8ce96aaffd4e9a5307c3ef6053feff60ed8c90f3486a9a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.6.0

Release files / finalytics-0.4.1-cp311-cp311-macosx_11_0_arm64.whl

Download URL finalytics-0.4.1-cp311-cp311-macosx_11_0_arm64.whl
Size 9.4 MB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
c7890e44e750360fea9d7e695a0ef70e1de92a41c69339ef4594eae6381d637d
BLAKE2b-256 checksum
How to use checksums
596f7a0caa93c16c1d5d7409a602de02f76c045bd4f124285f344afb9c017c90
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.6.0

Release files / finalytics-0.4.1-cp311-cp311-macosx_10_12_x86_64.whl

Download URL finalytics-0.4.1-cp311-cp311-macosx_10_12_x86_64.whl
Size 9.9 MB
Tags CPython 3.11 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
f17a94bbbbd9abdbd9e5ae10af301da07c5da764c516261803003f80d034bf37
BLAKE2b-256 checksum
How to use checksums
0f072bd2aaec8d2909ff9ea98c61c4ae397e819cfdcc4f56f7f6a85605086aaa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.6.0

Release files / finalytics-0.4.1-cp310-none-win_amd64.whl

Download URL finalytics-0.4.1-cp310-none-win_amd64.whl
Size 9.2 MB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
c3c91bb006e2140c71669b8f7b50f94b47cdf0f9190c26e3f4dabd3c7933d078
BLAKE2b-256 checksum
How to use checksums
e4765688745dbbca733c520b5b67c8e5e6cefb3aab68b6b90e6c95cd03624623
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.6.0

Release files / finalytics-0.4.1-cp310-none-win32.whl

Download URL finalytics-0.4.1-cp310-none-win32.whl
Size 8.0 MB
Tags CPython 3.10 Windows x86-32
SHA-256 checksum
How to use checksums
de98557307995cfa721e6148041c8a9b434fb21d49a4bb7e282aa91ad0e2f6d0
BLAKE2b-256 checksum
How to use checksums
20dea59cc14d6cf28d8ab7a0983860f0e1d1c40c35e4732c3e732275c4ac7f40
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.6.0

Release files / finalytics-0.4.1-cp310-cp310-manylinux_2_35_x86_64.whl

Download URL finalytics-0.4.1-cp310-cp310-manylinux_2_35_x86_64.whl
Size 13.3 MB
Tags CPython 3.10 Linux glibc 2.35+ x86-64
SHA-256 checksum
How to use checksums
6e03690f08cc4d138c67e2a109f61f8c32a80f3e7df7e0dd3bbceee514a417d9
BLAKE2b-256 checksum
How to use checksums
b4db001339b79fed43a09e8cc16649a4d16373a5b72768ca11bf40fd121e2ff0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.6.0

Release files / finalytics-0.4.1-cp310-cp310-macosx_11_0_arm64.whl

Download URL finalytics-0.4.1-cp310-cp310-macosx_11_0_arm64.whl
Size 9.4 MB
Tags CPython 3.10 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
3b233f979e7f7e0da6592da559aa8794a9abdea8dc1091745863d9282d8540fe
BLAKE2b-256 checksum
How to use checksums
8c0ff6e3264b33e07d74a6424077834dd16971b511174dc9ce2e1e1eeaf7e4e3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.6.0

Release files / finalytics-0.4.1-cp310-cp310-macosx_10_12_x86_64.whl

Download URL finalytics-0.4.1-cp310-cp310-macosx_10_12_x86_64.whl
Size 9.9 MB
Tags CPython 3.10 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
72e0d991efa0a137b1f02c88a2a112874051535ad4a7e13cd0af901069e3f3b3
BLAKE2b-256 checksum
How to use checksums
9f704fcd34e9f268db98f6d9cb79840867a74aad095ac0344912af466ec52b14
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.6.0

Release files / finalytics-0.4.1-cp39-none-win_amd64.whl

Download URL finalytics-0.4.1-cp39-none-win_amd64.whl
Size 9.2 MB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
2bffc8d45971ad7ad68841afe5db5d895b751016f0908021ae9c893c4fdeedf6
BLAKE2b-256 checksum
How to use checksums
3490409e498facca79818a70bfde5084aa89fce5b0133cfc4b68376e86c79055
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.6.0

Release files / finalytics-0.4.1-cp39-none-win32.whl

Download URL finalytics-0.4.1-cp39-none-win32.whl
Size 8.0 MB
Tags CPython 3.9 Windows x86-32
SHA-256 checksum
How to use checksums
4d4c1919593282176e9f2b1165cb1d2fbfb97434d08243d19e70ec48b2a3411a
BLAKE2b-256 checksum
How to use checksums
3a1899594cc4b0d7eaf308fe3bbe53a61af47f6af5f6f1543c28823b02ce2ea4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.6.0

Release files / finalytics-0.4.1-cp39-cp39-macosx_11_0_arm64.whl

Download URL finalytics-0.4.1-cp39-cp39-macosx_11_0_arm64.whl
Size 9.4 MB
Tags CPython 3.9 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
510e2215671463339c6e570edea61bce8f3f1c65d0aac9d5c5e4da54c1e3343d
BLAKE2b-256 checksum
How to use checksums
b3c83bed2c8414661501c35ddef654d3d18ce507d087f551e168e9fd036c6e28
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.6.0

Release files / finalytics-0.4.1-cp39-cp39-macosx_10_12_x86_64.whl

Download URL finalytics-0.4.1-cp39-cp39-macosx_10_12_x86_64.whl
Size 9.9 MB
Tags CPython 3.9 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
2ae03c0cc8cd52012b6dc884e0f746d72e3c74e88636f2598e1536236a858a35
BLAKE2b-256 checksum
How to use checksums
6a44a6f2d32c4a6ea9976c3e4fdfde84dede5a11c839bffa87286d957c4a4e48
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.6.0

Release files / finalytics-0.4.1-cp38-none-win_amd64.whl

Download URL finalytics-0.4.1-cp38-none-win_amd64.whl
Size 9.2 MB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
b1a212bc4db684ab8a10158ec721e65d1d00f83803735416df02a9ddbee551a3
BLAKE2b-256 checksum
How to use checksums
32ca6cd7ef221530e3e95a12f2dfe168d0ad38b1f970d983597f62cedc65bb9d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.6.0

Release files / finalytics-0.4.1-cp38-none-win32.whl

Download URL finalytics-0.4.1-cp38-none-win32.whl
Size 8.0 MB
Tags CPython 3.8 Windows x86-32
SHA-256 checksum
How to use checksums
bcc702f2f0c9a536592f0132811b176de5a6f79ed324f347c0453af6678de665
BLAKE2b-256 checksum
How to use checksums
cb7e851ae08d98a7f2db76ef3683a4ba8bd52319932a70fa91e7bf793499e78e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.6.0

Release files / finalytics-0.4.1-cp37-none-win_amd64.whl

Download URL finalytics-0.4.1-cp37-none-win_amd64.whl
Size 9.2 MB
Tags CPython 3.7 Windows x86-64
SHA-256 checksum
How to use checksums
291a30c997cb62bc94033be51f46814202139d51bed74ab35ecc7df622dd5e1a
BLAKE2b-256 checksum
How to use checksums
0b5aa323cd7cec24e8cbe818f8aaa80e8f2c0cd9708634ccf19527f05e049a0a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.6.0

Release files / finalytics-0.4.1-cp37-none-win32.whl

Download URL finalytics-0.4.1-cp37-none-win32.whl
Size 8.0 MB
Tags CPython 3.7 Windows x86-32
SHA-256 checksum
How to use checksums
0b6df6bc062cc0e0738f2539a7c9ef865a3f59684dc37d941b99718c1933de4f
BLAKE2b-256 checksum
How to use checksums
ea782b9cd59e22ca7557724305c1b6aee1b336c191d3d6e4f3f9fd40b87da664
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.6.0

Release history Release notifications | RSS feed

0.8.8

21 release files

0.8.6

21 release files

0.8.5

21 release files

0.8.2

21 release files

0.8.1

21 release files

0.8.0

11 release files

0.6.0

22 release files

0.5.0

22 release files

This release

0.4.1 This release

22 release files

0.4.0

22 release files

0.3.1

20 release files

0.3.0

20 release files

0.2.5

14 release files

0.2.4

14 release files

0.2.3

14 release files

0.2.2

14 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page