Spaces:
Running
Running
Commit History
-
fix: report direction probability as signal confidence Running
fengwm4a3dd5b -
更新 README 和代码,数据源切换为 Tushare,优化请求重试机制
fengwm23022b9 -
fix: add retries and timeout for akshare data fetch
fengwm72f5e10 -
更新 README,切换数据源为 AkShare,统一请求字段为 symbol,优化缓存机制,新增性能日志
fengwm2a8a0f5 -
Include prediction result in cache endpoint response
yingfeng64 +1: Claude Sonnet 4.6Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>292fb60 -
Rewrite README with proper Markdown formatting
yingfeng64 +1: Claude Sonnet 4.6Fix broken code fences, replace ASCII box tables with GFM tables, add ts_code filter docs for cache endpoint, add volume response example. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>98c3a25 -
Add optional ts_code filter to GET /api/v1/cache
yingfeng64 +1: Claude Sonnet 4.6Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>47bccb9 -
Add result cache with A-share market-close TTL
yingfeng64 +1: Claude Sonnet 4.6Cache key: (ts_code, lookback, pred_len, sample_count, mode, include_volume). Expiry: next 15:00 CST on a weekday (skips weekends; Chinese holidays are benign — no new data means a cache hit is always correct). Response adds `cached: bool` and `cache_expires_at` (CST) fields. New endpoint GET /api/v1/cache lists all live entries with TTL. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>b71d1f2 -
Fix RotaryEmbedding race condition in concurrent batch inference
yingfeng64 +1: Claude Sonnet 4.6KronosTokenizer's RotaryEmbedding has mutable instance-level cache (seq_len_cached/cos_cached). When two tasks share the same predictor singleton concurrently, one thread updates seq_len_cached before cos_cached is written, causing the other thread to skip the cache update and return cos=None, crashing with TypeError. Fix: serialise all predictor.predict() calls with a threading.Lock. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>bb6397a -
Add batch prediction endpoint
yingfeng64 +1: Claude Sonnet 4.6POST /api/v1/predict/batch accepts up to 20 requests, submits them concurrently, and returns a batch_id. GET /api/v1/predict/batch/{id} reports per-task status plus an overall done/partial/failed rollup. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1410a25 -
Initial deployment: Kronos stock predictor REST API
yingfeng64 +1: Claude Sonnet 4.6Monte-Carlo probabilistic forecasting using NeoQuasar/Kronos-base. Async task queue (POST submit / GET poll), Tushare qfq data source. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>72a9562