Skip to content

AlphaSift v0.3.0

Choose a tag to compare

@ZhuLinsen ZhuLinsen released this 22 Nov 03:05

AlphaSift v0.3.0

Auditable 7-market (cn, us, hk, jp, kr, tw, in) quantitative screening, code-enforced AI guardrails, STDIO MCP server, local Web Workbench, and public next_open T+5/10/20 ledger.

Breaking Change

  • Replaced litellm SDK with a lightweight requests-based OpenAI-compatible HTTP client (alphasift/llm_client.py). Remove legacy LITELLM_CONFIG Router YAML variables if present and use LLM_CHANNELS / GEMINI_API_KEYS / standard LITELLM_MODEL (gemini/gemini-3.8-flash default, gemini/gemini-4-hydrogen fallback).

Highlights

  • Quant & Evaluation Loop (Issue #34 P1–P7): Intra-pool factor_rank_blend, CN 10-strategy orthogonal hard_cap diversification, 250-day next_open verified Pattern Radar, --explain-filters quantiles, pick topic alignment, portfolio exposure + replacements, SCREEN_RESULT_SCHEMA contract fixture, and saved-run data_quality_review (clean_vs_degraded correlation hints).
  • AI Guardrails & Live Context: Python-enforced llm_score <= 35 cap on unresolved adverse filings/news ("无立案调查" negation-aware), omitted-candidate stale-score prevention, origin-bound API keys, and same-day paired CN rules vs ai attribution.
  • MCP Server & Local Web Workbench: Zero-dependency STDIO JSON-RPC 2.0 MCP server (alphasift mcp, 10 read-only tools + 2 resources) and offline-safe local Web UI (alphasift serve --host 127.0.0.1 --port 8765 -> /ui, sha256 script CSP, Accept negotiation).
  • 12-Channel Push, Fork Protection & Multilingual Dashboard: One-line NOTIFY_URLS supporting 12 native zero-dep IM/email/webhook channels, Plan A Fork Guard (ALPHASIFT_ENABLE_PAGES), decoupled ALPHASIFT_ENABLE_LEDGER, ZH / EN / JA GitHub Pages dashboard, non-root Dockerfile (UID 10001), PEP 639 packaging, and manual PyPI Trusted Publishing workflow (publish.yml).

Direct Wheel Install (until PyPI publish is activated)

pip install https://github.com/ZhuLinsen/alphasift/releases/download/v0.3.0/alphasift-0.3.0-py3-none-any.whl

Full details: docs/CHANGELOG.md