Initial commit: A-Share Data Platform v0.1.0
Parquet + DuckDB storage with REST/WebSocket APIs for Chinese A-share market data. Supports 9 K-line frequencies with dual backend (East Money / Sina) and auto-fallback. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
a11e1ceee1
commit
21378c4f6d
@@ -0,0 +1,9 @@
|
||||
"""FastAPI dependency injection."""
|
||||
|
||||
from ashare_dp.storage.database import get_db
|
||||
from ashare_dp.storage.repository import KLineRepository
|
||||
|
||||
|
||||
def get_repo() -> KLineRepository:
|
||||
"""Get the K-line repository instance."""
|
||||
return KLineRepository()
|
||||
Reference in New Issue
Block a user