No project description provided
Project description
This is a python binding for Finalytics Rust Library designed for retrieving financial data and performing security analysis and portfolio optimization.
Installation
Windows and MacOS
pip install finalytics
Linux
Still in development
Documentation
Symbol Search
from finalytics import get_symbols
print(get_symbols("Apple", "Equity"))
print(get_symbols("Bitcoin", "Crypto"))
print(get_symbols("S&P 500", "Index"))
print(get_symbols("EURUSD", "Currency"))
print(get_symbols("SPY", "ETF"))
Security Analysis
from finalytics import Ticker
ticker = Ticker("AAPL")
print(ticker.get_current_price())
print(ticker.get_summary_stats())
print(ticker.get_price_history("2023-01-01", "2023-10-31", "1d"))
print(ticker.get_options_chain())
print(ticker.get_news("2023-11-01", "2023-11-10", False))
print(ticker.get_income_statement())
print(ticker.get_balance_sheet())
print(ticker.get_cashflow_statement())
print(ticker.get_financial_ratios())
print(ticker.compute_performance_stats("2023-01-01", "2023-10-31", "1d", "^GSPC", 0.95, 0.02))
ticker.display_performance_chart("2023-01-01", "2023-10-31", "1d", "^GSPC", 0.95, 0.02, "html")
ticker.display_candlestick_chart("2023-01-01", "2023-10-31", "1d", "html")
ticker.display_options_chart(0.02, "png")
Portfolio Optimization
from finalytics import Portfolio
portfolio = Portfolio(["AAPL", "GOOG", "MSFT", "BTC-USD"], "^GSPC", "2020-01-01", "2022-01-01", "1d", 0.95, 0.02, 1000, "max_sharpe")
print(portfolio.get_optimization_results())
portfolio.display_portfolio_charts("html")
Project details
Release history Release notifications | RSS feed
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.1.8.tar.gz
(2.2 MB
view hashes)
Built Distributions
Close
Hashes for finalytics-0.1.8-cp312-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 241dd8072abdaefde2e4b0034a7a62213bb05b47b1549462ade4e229ec8158e9 |
|
MD5 | ab1fa7c5961261cbe6308d137e21837e |
|
BLAKE2b-256 | 5735448f4eff6a8bb7d8b11cf0b78b47186f6e2e80aa1d6ac1ff199737f1ea36 |
Close
Hashes for finalytics-0.1.8-cp312-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0ed78f9b20ec8ffe4c6ab33e2fd8a0a27ebc9b1e916bafc61e0a5b9a20c015f |
|
MD5 | a6c764167c314fac9c9173dccef0d8f0 |
|
BLAKE2b-256 | 9e9d93e4b0fe3f376719cd42d38fc78ed9c4ac7bb52cb2e2bb1b943ae8cd9c76 |
Close
Hashes for finalytics-0.1.8-cp311-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d84716e8290fac648cfa17faa62a3284656f22ab43b98c31d8759c67359250a |
|
MD5 | 1324bddf4119ea46927d1336981c7f2b |
|
BLAKE2b-256 | e93472375b26822ba0b8c98e8f3f3c7ce7699e19b19fa7b203dd0912cca16df9 |
Close
Hashes for finalytics-0.1.8-cp311-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68c93bb2ce769f00c970258213ca7995bccec9d7b8e17c928c083cb70d80721d |
|
MD5 | 34cf24e463ab5b587ba5940aac6a1692 |
|
BLAKE2b-256 | aff23e7d397cf16034711c80d79498189405dbf3329400012d4cd9212febb03a |
Close
Hashes for finalytics-0.1.8-cp311-cp311-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f904f514b92df837e61d52c60e92b8d6f1213d2be7517f7ccd75f0e8adc86567 |
|
MD5 | a05ef0ec1057c66a5854e0d0bb52ed56 |
|
BLAKE2b-256 | e81a893d83921416c47dab45168e7a7c82f70800f3eed75669a2a68df91213a6 |
Close
Hashes for finalytics-0.1.8-cp311-cp311-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8e85e9c0c1a380e2b0731d3310a9394a3613144612f1a518906ecd32527d99b |
|
MD5 | 0031f266085e71462ed3b3f7c5807b60 |
|
BLAKE2b-256 | b0ef8c4ea76694ac86757688e8e878e0fe964f9b93796fa69e2fe7754f3af86c |
Close
Hashes for finalytics-0.1.8-cp310-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 032e99bbef9da3caefc68418cd590948d096d9a40ba01bb110b84bee55b2c3f9 |
|
MD5 | 92419baa96d713aaedd518ff1b7e3e5c |
|
BLAKE2b-256 | 086c863790a72e0c8e9c99dedaab918f260789bb2bf589a17e824c95833c5e86 |
Close
Hashes for finalytics-0.1.8-cp310-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6bd1c19aeec97c24da8185e0df7b849186e39d1525b1cbd5d97e4c38e333b272 |
|
MD5 | b062e8ad599df279c12a1f6aaf9c489d |
|
BLAKE2b-256 | 092d03731187a76b38cfca2dfed11b81f571a417b36c6d30fa8720544a61500e |
Close
Hashes for finalytics-0.1.8-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 655464c85a5d9323801c512dcde8ef85aecca94e6ffe6299fadab20d7a92f2a3 |
|
MD5 | 55250dba47cb86534b4132112b246957 |
|
BLAKE2b-256 | b294edb38a0fcc7f2bae231946296a2b7670a7886b5314bb6a9692539378a0ed |
Close
Hashes for finalytics-0.1.8-cp310-cp310-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 136da6acf3b91d415c23b8bb26944d8a959d1da8ae9cf84112e319513630fc3f |
|
MD5 | 8a1985446c29c143c323cc6c87ee4ef9 |
|
BLAKE2b-256 | 442f6fada22ba0262846a2bc37389573d99fc2e5c6252767be15fe0ab3ed29a1 |
Close
Hashes for finalytics-0.1.8-cp39-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c388a610afd27e6bd8512d44439e491ab651ff4286f91a8af6ade64f55937f53 |
|
MD5 | 954de3a66387ad3bcba1a27b8d506893 |
|
BLAKE2b-256 | fe2b720a392cf4292679d322750505189c258817876387668dfb6e1e459c6607 |
Close
Hashes for finalytics-0.1.8-cp39-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4086d76468c0bf39dbd21132e5b6f1da15c4de1f4b846309d1ebec1ce9151cef |
|
MD5 | 256c823099414b86fe44287d094f616e |
|
BLAKE2b-256 | b8d3fa306d5f44429bd85c0adb34b1f81b6eeb7e246df011c45c49a2a870da63 |
Close
Hashes for finalytics-0.1.8-cp38-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab6f5cfa14c85052be0b671a1ade71fdc4a7ffec62dfecda48d43e07b4a05d90 |
|
MD5 | 2f194c6b49e84dbd1952f69463c4cbd1 |
|
BLAKE2b-256 | 5a264e6401d5ac8c1dbc848286014c9affc51c720fc05dcb4d2e242c07a2ad69 |
Close
Hashes for finalytics-0.1.8-cp38-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a1d034613923be4d63ae4938aa71f112c0fcc72240a6049ef8e8b158aea4698 |
|
MD5 | 1175ac70b5f1d46798ce82593d15d139 |
|
BLAKE2b-256 | 5a709cb7386d0114c382d83b6137e9d065f0cbd9baaff5d95e7e82a8278a3c86 |
Close
Hashes for finalytics-0.1.8-cp37-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68d909b7b94ef9dc6ba2492d167ca43afae29ec3a6a9274720041ac47baaa690 |
|
MD5 | b22b57437d22db3943e5ab5e8963bd40 |
|
BLAKE2b-256 | d4cfa7015d1600643bd2e9df1a33d572b710986b6516b9c2b89dd7e0ab20373b |
Close
Hashes for finalytics-0.1.8-cp37-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 036d1903265c1f609fc53bf329272d3663cc8c6ff16843f4e608e90754418160 |
|
MD5 | fa75229c5ac78f04af46ab795a41e98d |
|
BLAKE2b-256 | 6ed8f589ab415ac6d0a1be66cf13fbeadee81868cc54cffacdd5d4fe5194e1ba |