US Crowding Radar
請使用本倉庫中已測試的 Python CLI。請勿重新實作評分邏輯或直接呼叫未文件化的介面。
安全性
- 這是唯讀的市場情報,非交易執行。
- 絕對不要請求、列印、記錄或將
CLAWBY_API_KEY放入命令引數中。 - 儀表板透過其本機 UI 接受金鑰,會針對 Clawby 的官方
/api/account端點驗證,並可將其儲存至 Git 忽略的本機憑證檔案,權限設定為600。 - CLI 自動化僅從環境變數或被忽略的
.env檔案讀取金鑰。 - 切勿將擁擠分數描述為價格預測或投資建議。
命令
從倉庫根目錄執行:
python3 -m us_crowding_radar doctor
python3 -m us_crowding_radar watchlist list
python3 -m us_crowding_radar watchlist add TICKER --label "Company"
python3 -m us_crowding_radar watchlist remove TICKER
python3 -m us_crowding_radar scan
python3 -m us_crowding_radar scan --refresh
python3 -m us_crowding_radar scan --notify
python3 -m us_crowding_radar serve --port 8786
工作流程
- 對於儀表板,要求使用者在本地 UI 中輸入他們自己的金鑰;絕不要重複或記錄它。成功的驗證結果可從受保護的本機憑證檔案中還原。
- 對於 CLI 自動化,執行
doctor並僅回報環境金鑰是否已設定。 - 在進行即時掃描前確認 watchlist。
- 使用
scan進行快取的授權唯讀執行,或使用scan --refresh取得最新的遠端資料。 - 一併回報分數、方向、覆蓋率、元件證據、來源時間戳記以及失敗的維度。
- 僅在使用者已設定並授權通知目標時才使用
--notify。
驗證
python3 -m unittest discover -s tests -v
node --check us_crowding_radar/web/app.js
python3 -m compileall -q us_crowding_radar