{"id":28317758,"url":"https://github.com/pablodieaco/quant-drl-web","last_synced_at":"2026-05-07T05:32:43.752Z","repository":{"id":286583145,"uuid":"959979703","full_name":"pablodieaco/quant-drl-web","owner":"pablodieaco","description":"quant-drl-web is a Streamlit-based interactive dashboard for visualizing and interacting with DRL-driven portfolio management models.","archived":false,"fork":false,"pushed_at":"2025-04-16T11:40:26.000Z","size":18259,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-25T06:14:00.129Z","etag":null,"topics":["deep-reinforcement-learning","quantitative-finance","quantitative-trading","streamlit","yfinance"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pablodieaco.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-04-03T16:59:57.000Z","updated_at":"2025-04-11T14:08:40.000Z","dependencies_parsed_at":"2025-04-07T10:36:06.612Z","dependency_job_id":null,"html_url":"https://github.com/pablodieaco/quant-drl-web","commit_stats":null,"previous_names":["pablodieaco/quant-drl-web"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pablodieaco/quant-drl-web","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pablodieaco%2Fquant-drl-web","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pablodieaco%2Fquant-drl-web/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pablodieaco%2Fquant-drl-web/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pablodieaco%2Fquant-drl-web/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pablodieaco","download_url":"https://codeload.github.com/pablodieaco/quant-drl-web/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pablodieaco%2Fquant-drl-web/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261703110,"owners_count":23196899,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["deep-reinforcement-learning","quantitative-finance","quantitative-trading","streamlit","yfinance"],"created_at":"2025-05-25T06:12:39.629Z","updated_at":"2026-05-07T05:32:43.670Z","avatar_url":"https://github.com/pablodieaco.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 📊 quant-drl-web\n\n**quant-drl-web** is a Streamlit-based interactive dashboard for visualizing, evaluating, and simulating Deep Reinforcement Learning (DRL) models applied to portfolio management.\n\nIt serves as the frontend for the [`quant-drl-core`](https://github.com/pablodieaco/quant-drl-core) research framework, providing a user-friendly interface for financial data exploration, model comparison, and portfolio decision analysis.\n\n\u003e 🎓 Developed as part of my **Final Degree Project (TFG)** in the **Double Degree in Mathematics and Computer Engineering** at the **University of Seville**.\n\n---\n\n## ✨ Features\n\n- 📈 **Model evaluation \u0026 metrics explorer**\n- 💡 **Portfolio simulation and strategy testing**\n- 🧠 **Deep RL integration** (PPO, SAC)\n- 🔌 **Database-backed** via PostgreSQL\n- 🎨 **Streamlit** multipage navigation\n- 🐳 Docker \u0026 Docker Compose for deployment\n- 📂 Examples and demo models included\n\n---\n\n## 🖼️ App Preview\n\n### 📊 Financial Information  \nAn overview of each company's economic and financial data.\n\n\u003cimg src=\"gifs/informacion_financiera.gif\" alt=\"Financial Info\" width=\"1000\"/\u003e\n\n---\n\n### 📝 Evaluations\n\n#### 🧪 Batch Evaluation  \nEvaluate multiple simulation at once, and analyse the performance of your model.\n\n\u003cimg src=\"gifs/evaluacion_lote.gif\" alt=\"Batch Evaluation\" width=\"1000\"/\u003e\n\n#### 🔍 Individual Evaluation  \nDive deep into the analysis of a single simulation.\n\n\u003cimg src=\"gifs/evaluacion_individual.gif\" alt=\"Individual Evaluation\" width=\"1000\"/\u003e\n\n---\n\n### 📈 Metrics Analysis  \nExplore key performance indicators of your trained models.\n\n\u003cimg src=\"gifs/analisis_metricas.gif\" alt=\"Metrics Analysis\" width=\"1000\"/\u003e\n\n\n## 📁 Project Structure\n\n```bash\nquant-drl-web/\n├── web/                # Streamlit app (modular)\n│   ├── app.py          # Main entry point\n│   ├── pages/          # UI Pages (Streamlit multipage)\n│   ├── commons/        # Session \u0026 layout\n│   └── db/             # DB scripts and seeders\n├── examples/           # Sample models and evaluation results\n│   ├── models/         # Pretrained DRL models\n│   └── results/        # evaluation_results.csv\n├── docker-compose.yml  # Launch web + PostgreSQL\n├── Dockerfile          # Web app container\n├── build.sh            # Script to copy core + build\n└── requirements.txt    # Python dependencies\n```\n\n---\n\n## ⚙️ Requirements\n\n- Docker \u0026 Docker Compose\n- Python 3.10+ (optional for local runs)\n- `quant-drl-core` available locally (used during build) (TODO: It will not be necessary in future releases)\n\n---\n\n## 🚀 Quickstart\n\n### 1. Clone the repo \n```bash\ngit clone https://github.com/pablodieaco/quant-drl-web.git\ncd quant-drl-web\n```\n\n### 2. Create a `.env` file using the sample file `.env.sample`\n```bash\ncp .env.sample .env\n```\n\nThen edit the `.env` file:\n```env\nPOSTGRES_USER=\u003cUSER_NAME\u003e\nPOSTGRES_PASSWORD=\u003cPASSWORD\u003e\nPOSTGRES_DB=\u003cDB_NAME\u003e\n\nRESULTS_CSV=examples/results/evaluation_results.csv\nMODEL_HIERARCHY=examples/models/metadata/hierarchy.json\n```\n\n### 3. Run using the latest Docker image (recommended)\nThis will pull the latest published image from GitHub Container Registry and run the app.\n\n```bash\nmake run\n```\n\nOnce running, the app will be available at http://localhost:8501\n\n### 4. Local development mode (with local quant-drl-core)\nIf you're modifying `quant-drl-web` and want to test changes locally:\n\n```bash\nmake build \nmake run-local\n```\nThis will\n\n- Build the Docker image with your local changes\n- Launch the app using the new built image\n\nOnce running, the app will also be available at http://localhost:8501\n---\n\n## 🧪 Example Models\n\nWe’ve included pretrained models and example evaluation results inside the `examples/` folder:\n- `examples/models/` → PPO and SAC agents\n- `examples/results/evaluation_results.csv`→ model evaluation scores\n\n---\n\n## 🧠 About this project\n\nThis dashboard is part of a broader research framework:\n\n👉 Check out `quant-drl-core` for:\n- DRL training pipelines (PPO, SAC)\n- Custom Gym environments\n- Evaluation and visualization logic\n- Experiment reproducibility\n\n\n\n## 📝 License\n\nThis project is licensed under the **MIT License**.  \nSee the [LICENSE](./LICENSE) file for details.\n\n---\n\n## 🙋‍♂️ Author\n\nMade with ❤️ by **Pablo Diego Acosta**\n\n- 💼 LinkedIn: [linkedin.com/in/pablodiegoacosta](https://www.linkedin.com/in/pablodiegoacosta)\n\n---\n\n## ✨ Todo / Ideas\n\n- [ ] Embed live charts from financial APIs\n- [ ] Auto-refresh evaluation dashboard with scheduled updates\n- [ ] Live inference from trained DRL models\n- [ ] Add functionalities for managing saved portfolios\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpablodieaco%2Fquant-drl-web","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpablodieaco%2Fquant-drl-web","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpablodieaco%2Fquant-drl-web/lists"}