Busabase
Busabase is an open-source (MIT) database and workspace for AI agents — data, docs, skills, and apps in one place. Run it locally, self-host it inside your network, or use Busabase Cloud, and turn age
Investigate a suspicious synthetic OHLCV CSV: each validation decision, row by row, through Parquet storage to hourly and daily bars.
Translation pending
DataPython · HTMLGitHub @HtFiliaOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
Typed market-data ingestion, validation, Parquet storage, querying, and time bars
Translation pending
Taken from the repository README
Loading the full README.
Read the full README ↗TickerFlow is a Python backend that turns local market CSVs into validated, queryable API data.
Open the live demo → (synthetic OHLCV fixtures)
Problem: make local OHLCV data quality decisions visible before data is queryable.
uv sync --extra dev && uv run pytest; then follow the complete
seed → query demonstration.Market-data pipelines need deterministic ingestion, explicit schemas, visible quality decisions, durable storage, and stable query boundaries. TickerFlow provides that local workflow for financial time series, from CSV normalization through Parquet storage and feature-ready time bars.
/demo page.TickerFlow currently implements the first OHLCV backend slice:
ohlcv/symbol=<SYMBOL>/date=<YYYY-MM-DD>/data.parquet.[start, end)./health, /datasets, /symbols, /ohlcv, and /bars/time through FastAPI./demo.Input CSV fixtures use these columns:
timestamp,symbol,open,high,low,close,volume
Canonical rows use:
timestamp_utc: datetime[us, UTC]
symbol: uppercase string
open: float
high: float
low: float
close: float
volume: float
source: string
Prices are unadjusted fixture values in arbitrary currency units. OHLC prices must be finite, positive, and consistent with low/high bounds. Volume is a finite non-negative numeric quantity. Corporate actions and live data sources are intentionally out of scope.
uv sync --extra dev
uv run ruff format .
uv run ruff check .
uv run mypy src tests
uv run pytest
Run the API locally:
uv run uvicorn tickerflow.api.main:app --reload
Open the market-data demo UI:
open http://127.0.0.1:8000/demo
Example query after writing Parquet data into the configured data directory:
curl "http://127.0.0.1:8000/ohlcv?symbol=AAPL&start=2024-01-02T00:00:00Z&end=2024-01-04T00:00:00Z"
Catalog endpoints:
curl "http://127.0.0.1:8000/datasets"
curl "http://127.0.0.1:8000/symbols?dataset=ohlcv"
Time-bar endpoint:
curl "http://127.0.0.1:8000/bars/time?symbol=AAPL&start=2024-01-02T14:00:00Z&end=2024-01-02T16:00:00Z&interval=1h"
By default, the API reads from .tickerflow. Set TICKERFLOW_DATA_DIR to point at another local Parquet root.
The deterministic demo script lives in docs/DEMO.md.
The prepared homelab manifest uses sudo homelab project deploy tickerflow,
running the repository quality gate before activating an immutable release;
homelab is the author's private server tooling, not part of this repository.
Uvicorn is a runtime dependency, retained by production-only
uv sync --frozen --no-extra dev --no-editable. The API binds loopback behind
Caddy; /health checks readiness and the existing root redirects to /demo.
Set TICKERFLOW_DATA_DIR to writable state outside the release (the VPS
manifest uses /var/lib/homelab/tickerflow/data). Demo input remains synthetic.
The demo is published at https://tickerflow.lucaslebihan.dev/demo.
The main /demo uses bounded, committed cases through GET /demo/cases and
POST /demo/run. Each run keeps original string cells, normalized values and
actual row-level validation decisions, writes accepted rows to a request-local
Parquet store, queries with DuckDB and traces query rows into hourly/daily bars.
Temporary files are cleaned after the request; the shared persistent dataset is
not altered. The legacy /demo/seed and data/query APIs remain compatible.
Accepted + quarantined counts reconcile to the same input. Issue counts can overlap. Duplicate pairs are both quarantined. Invalid original values remain inspectable even when normalization produces null/non-finite values; response JSON uses safe nulls for non-finite normalized cells. Cases are synthetic, unadjusted OHLCV, UTC microseconds, currency-unit prices and synthetic volume.
Bars aggregate only the selected query's observations, use half-open UTC
intervals and do not fill gaps. Clipped edge intervals are marked. Exports contain
actual report/query/bar data and fixture hashes. Repeating a run demonstrates
canonical result reproducibility, not byte-identical Parquet files. No upload or
arbitrary SQL endpoint is exposed. The production wheel includes fixtures/assets.
Set DEMO_BUILD_REVISION to the actual build SHA or accept the honest unknown.
Run browser checks with node tests/browser/demo.cjs, Playwright available and
TICKERFLOW_DEMO_URL pointing at a local server. Hand-checked case expectations
live in tests/fixtures/demo_expected.json.