外掛程式架構 : extend, don't fork.
StratCraft 外掛程式遵循清晰的介面契約。透過實現標準外掛程式介面添加新資料源、最佳化演算法或執行適配器, 核心引擎保持不變。
透過交易所連接、進階最佳化和系統化量化模式擴展 StratCraft: 無需觸及核心引擎。
Exchange connectivity through the CCXT library.
Use CCXT-supported venue adapters where the installed plugin and venue capabilities permit. Availability does not imply live deployment approval.
用於投資組合權重的凸最佳化。
The FrankWolfe algorithm supports constrained convex optimization research. Its outputs remain candidates for evaluation, not production portfolio approval.
文藝復興啟發的系統化量化模式。
Explore systematic research patterns such as signal normalization, correlation filtering, ensemble weighting, and regime-aware position sizing.
StratCraft 外掛程式遵循清晰的介面契約。透過實現標準外掛程式介面添加新資料源、最佳化演算法或執行適配器, 核心引擎保持不變。
針對類型化的 Plugin 協定實作一個 Python 類別。核心在啟動時註冊它; 您將在 Network 圖中免費獲得一個位置。
# Implement one class. Register it. Done. from stratcraft.plugin import Plugin, PluginKind, Bars, Signal @Plugin.register(kind=PluginKind.SignalSource) class MySignal(Plugin): name = "my-signal" version = "0.1.0" def setup(self, cfg: dict) -> None: self.window = cfg.get("window", 20) def on_bar(self, bars: Bars) -> Signal | None: zscore = (bars.close[-1] - bars.close[-self.window:].mean()) return Signal(strength=zscore, ttl=bars.bar_seconds) def teardown(self) -> None: ...
所有外掛程式均開源。瀏覽社群儲存庫、分叉現有的外掛程式或貢獻您自己的。外掛程式生態系統隨每位貢獻者而成長。
Polygon.io 1m/5m/1d aggregates with on-disk Parquet cache. Resilient to rate limits.
scp install polygon-aggregates安裝 →Stack LightGBM + linear + simple-NN models with rolling cross-validation and per-bar refresh.
scp install ml-ensemble安裝 →Drawdown-aware position sizing that scales exposure inversely to rolling 60-day equity DD.
scp install dd-aware安裝 →EU broker connector for TradeRepublic with order routing and tax-lot reporting.
scp install tr-bridge安裝 →Local-only sentiment scorer over Bloomberg-style headlines using a 7B distilled model.
scp install news-bias安裝 →Bayesian view-merging on top of MeanVar: confidence-weighted overlays without rewriting your prior.
scp install bl-view安裝 →SDK 附帶類型存根、本地註冊表、熱重載開發伺服器以及針對每種外掛類型的 golden 測試夾具。
免費版包含 C++ 回測引擎、Regime 檢測和 YFinance + Dukascopy 資料: 一切你開始規模化建構所需的工具。