# StockInfo

StockInfo is a self-hosted stock and ETF quote service that serves quotes via a REST API (JSON) and caches them in a SQLite database, refreshing periodically. It is open source and self-hosted, installable on Docker Hub and Unraid.

Canonical page: https://ourlocalhost.com/app/2406/stockinfo

## Description

StockInfo is a self-hosted stock and ETF quote service that serves quotes via a REST API (JSON) and caches them in a SQLite database, refreshing periodically. Query by ISIN or symbol plus exchange to get price, currency, timestamp and name, with extras for ETFs such as TER, provider and fund size. A built-in web dashboard (German and English) gives an asset overview, price charts and source configuration, plus a detail area for manual metrics the sources do not deliver — manual values fill gaps, never overwrite, and the source always wins. The FastAPI backend and Vue dashboard run in a single Docker image on one port: the dashboard at the root URL, the API under /quote and /instruments. Data sources: yfinance (Yahoo), justETF and OpenFIGI. Aimed at homelab users who want a self-hosted quote API and portfolio dashboard.

## Platform availability

Available on 1 of 10 platforms: Unraid.

## Health score

55/100 (Fair), based on 3 of 4 factors.
- Maintained: 95 (last commit 37 days ago)
- Popular: 6 (1 GitHub stars)
- Easy to install: 35 (1 install platform, install notes, Docker image)

## Links

- Docker Hub: https://hub.docker.com/r/mangolila/stockinfo
- Unraid: https://ca.unraid.net/apps/stockinfo-0fd81vk0b0qf70?q=stockinfo

## Common questions

### How do I request a quote for a specific stock or ETF?

Query by ISIN or by symbol plus exchange. The response is JSON with price, currency, timestamp, name and, for ETFs, extras such as TER, provider and fund size.

### Does StockInfo require StockPortfolio to run?

No, StockInfo works on its own. StockPortfolio is optional, needs StockInfo for prices, and should be set up after StockInfo.

### Where are quotes stored, and will upgrading lose my database?

Quotes are cached in a SQLite database. The 1.5.0 release notes say the new SQLModel storage layer reads existing databases unchanged.

### How do I set the timezone for logs?

The TZ setting defaults to UTC. Set it to your local zone for correct log timestamps.

---
Source: Our Local Host (https://ourlocalhost.com/app/2406/stockinfo), the self-hosted and open-source app directory.
