File size: 4,593 Bytes
ce4bc73 203d1e9 ce4bc73 203d1e9 ce4bc73 779ae91 ce4bc73 779ae91 ce4bc73 779ae91 ce4bc73 779ae91 ce4bc73 779ae91 ce4bc73 779ae91 ce4bc73 779ae91 ce4bc73 779ae91 ce4bc73 779ae91 ce4bc73 779ae91 ce4bc73 779ae91 ce4bc73 779ae91 ce4bc73 779ae91 ce4bc73 779ae91 ce4bc73 779ae91 ce4bc73 779ae91 ce4bc73 779ae91 ce4bc73 779ae91 ce4bc73 779ae91 ce4bc73 779ae91 ce4bc73 779ae91 ce4bc73 779ae91 ce4bc73 779ae91 203d1e9 ce4bc73 203d1e9 ce4bc73 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 |
---
title: Folio - Financial Portfolio Dashboard
emoji: π
colorFrom: indigo
colorTo: purple
sdk: docker
sdk_version: "latest"
app_file: app.py
pinned: false
---
# Folio - Financial Portfolio Dashboard
Folio is a powerful web-based dashboard for analyzing and optimizing your investment portfolio. Get professional-grade insights into your stocks, options, and other financial instruments with an intuitive, user-friendly interface.
## Why Folio?
- **Complete Portfolio Visibility**: See your entire financial picture in one place
- **Smart Risk Assessment**: Understand your portfolio's risk profile with beta analysis
- **Cash & Equivalents Detection**: Automatically identifies money market and cash-like positions
- **Option Analytics**: Detailed metrics for options including delta exposure and notional value
- **Zero Cost**: Free to use, with no hidden fees or subscriptions
## Key Features
- **Portfolio Summary**: View total exposure, beta, and allocation breakdown
- **Position Details**: Analyze individual positions with detailed metrics
- **Position Grouping**: Automatically groups stocks with their related options
- **P&L Visualization**: See potential profit/loss scenarios for option strategies
- **Filtering & Sorting**: Filter by position type and sort by various metrics
- **Real-time Data**: Uses Yahoo Finance API for up-to-date market data
- **Responsive Design**: Works seamlessly on desktop and mobile devices
## Getting Started
### Try It Online
The easiest way to try Folio is through our Hugging Face Spaces deployment:
[https://huggingface.co/spaces/mingdom/folio](https://huggingface.co/spaces/mingdom/folio)
### Local Installation
1. **Install Poetry**:
We use `poetry` under the hood to manage dependencies.
```bash
# For macOS/Linux
curl -sSL https://install.python-poetry.org | python3 -
# For Windows
(Invoke-WebRequest -Uri https://install.python-poetry.org -UseBasicParsing).Content | python -
```
For detailed installation instructions, visit [Poetry's official documentation](https://python-poetry.org/docs/#installation).
2. **Clone the repository**:
```bash
git clone https://github.com/mingdom/folio.git
cd folio
```
3. **Install dependencies**:
```bash
# Using Poetry
poetry install
poetry env activate
# Using Make:
make install
make env
```
4. **Run the application**:
```bash
make folio
```
### Development Workflow
Our project uses Poetry for dependency management and Make for convenient command shortcuts.
1. **Set up pre-commit hooks**:
```bash
make hooks
```
2. **Common development commands**:
```bash
# Run linting
make lint
# Run tests
make test
# Start the interactive CLI (includes SPY simulator functionality)
make focli
```
3. **Working with Poetry's environment**:
```bash
# Activate Poetry's shell (recommended for development)
poetry shell
# After activating, you can run commands directly:
python -m src.folio.app
pytest
ruff check .
```
For detailed Poetry commands and information, see [docs/Poetry.md](docs/Poetry.md).
### Docker Deployment
```bash
# Start the application
make docker-up
# View logs
make docker-logs
# Stop the application
make docker-down
```
The dashboard will be available at http://localhost:8050
### Documentation
- [Docker Commands](DOCKER.md) - Detailed Docker usage
- [Logging Configuration](docs/logging.md) - Configure logging
- [Project Architecture](docs/project-design.md) - Codebase structure and design
- [Poetry Commands](docs/Poetry.md) - Detailed Poetry usage
## Using Folio
1. **Upload Your Portfolio**: Use the upload button to import a CSV file with your holdings
2. **Explore Your Data**: View summary metrics and detailed breakdowns of your investments
3. **Filter and Sort**: Focus on specific asset types or metrics that matter to you
4. **Analyze Positions**: Click on any position to see detailed metrics and P&L scenarios
5. **Export or Share**: Save your analysis or share insights with your financial advisor
## Sample Portfolio
Not ready to upload your own data? Click the "Load Sample Portfolio" button to explore Folio with our demo data.
## Privacy & Security
- **Your Data Stays Private**: All analysis happens in your browser or local environment
- **No Account Required**: Use Folio without creating an account or sharing personal information
- **Open Source**: All code is transparent and available for review
## License
This project is licensed under the MIT License - see the LICENSE file for details.
|