Skip to content

Releases: David-glitc/zinger-core

Release list

v1.1.0

Choose a tag to compare

@David-glitc David-glitc released this 11 Aug 07:54

v1.1.0

New: SQLite persistence layer (with JSON fallback)

  • src/polymarket/sqliteStore.ts: all state now persists into a single data/zinger.db (WAL) via Node 22's built-in node:sqlite — no native compilation. Keyed by the JSON store's relative path, with one-time auto-migration of legacy JSON files.
  • ml/sqlite_store.py + wiring in train_lstm.py, pipeline.py, export_onnx.py: Python scripts share the same docs table as the Node app, keeping both sides in sync.
  • Fallback: node:sqlite is loaded via createRequire, so the package still runs on Node 20/21 — persistence.ts transparently falls back to JSON files when the built-in is unavailable.

Python/ML tooling (PR #1)

  • Python binary resolution priority: ZINGER_ML_PYTHON → root .venvml/.venv/usr/bin/python3.
  • ONNX models load from <ROOT>/data/ml/models/onnx (overridable with ZINGER_ONNX_DIR).
  • train_lstm.py: resume from checkpoint + --force retrain.
  • New pyproject.toml / uv.lock for reproducible Python envs.
  • Default RPC: https://1rpc.io/matic.

Frontend (PR #1)

  • PolyDashboard.tsx: toggles for the paper/live strategy flags (poc, hedging, kelly, confidence, train-on-live).