Files
jackyu66git ce204abc81 fix: remove HL-delisted coins from scanner (BNT/CATI/CYBER/ILV/LISTA/OGN/STG) + PIXEL
Root cause: HL WS uses allMids (all coins), BG WS subscribes per-coin.
Delisted coins had stale HL prices showing huge fake spreads (~200%).
Monitor tried entry → BG buy succeeds, HL sell fails (Trading is halted)
→ orphan position on BG accumulated across restarts.

Fix:
- Set HL="" for BNT, CATI, CYBER, ILV, LISTA, OGN, STG, PIXEL
- Add guard in ScanBGHL to skip coins where BG or HL is empty
- Same guard in SpreadWindowTracker.Tick
2026-05-04 23:12:41 +08:00

15 lines
586 B
Bash

# Telegram 推送
TELEGRAM_BOT_TOKEN=*** TELEGRAM_CHAT_ID=580807463
# API 密钥 (测试模式不需要)
BITGET_API_KEY=bg_0e6bd5f5f082f9e77c56a4402471ece7
BITGET_API_SECRET=e914e1486e2db82866ffe5e2fabbb1d25d380e281d9ed8599b09c82d50c8d620
BITGET_PASSPHRASE=Yoyousoft007
# HyperLiquid testnet API (EVM wallet)
# Private key = API钱包私钥
# Address = 主账号地址(有999 USDC现货)
HL_PRIVATE_KEY=0xcb4e58b6c0921fd4aa8e49cd8a9f06b98b4e6b9cdf7c60c63ba1416856bb0b2a
HL_ADDRESS=0xA834b6d3Fa1D8A55ea8e502685ef5cbD2b2D3343
HL_API_ADDRESS=0x601B09803A46F640C9416C124A7DB858a615F5fF