A Python library for optimizing stock portfolios using the Jellyfish Search optimization algorithm.
Project description
JellyStock
JellyStock is a Python library for optimizing stock portfolios using the Jellyfish Search optimization algorithm. It allows you to create and manage portfolios of stocks, download historical stock data, and find the optimal portfolio composition that maximizes the Sharpe ratio.
Features
-
Portfolio Management: Create and manage portfolios with a list of stock tickers, specifying the start and end dates for historical data.
-
Historical Data: Download historical 'Adj Close' data for a list of stock tickers from Yahoo Finance.
-
Portfolio Optimization: Use the Jellyfish Search optimization algorithm to find the optimal portfolio weights that maximize the Sharpe ratio.
-
Risk Analysis: Calculate risk metrics such as expected returns, volatility, and Sharpe ratio for your portfolio.
-
User-Friendly: Provides user-friendly methods for displaying portfolio information and optimization results.
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
Built Distribution
Hashes for JellyStocks-1.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a26bc1e8cf1f89053bd7611cf2570c4bbfa75b5bf7344d99302a3d0e9fe0c02 |
|
MD5 | 6d0e6a1efb510c205447eeaa5b644766 |
|
BLAKE2b-256 | 3a3145900c0b25e0f53a9c61888a88aa376d24e9db878d9768af0b0ef4fcf20a |