fix: use rolling_window_ticker for symbol-specific queries, expand window choices

- Replace removed Spot.ticker() with rolling_window_ticker for symbol-specific
ticker stats (compatible with binance-connector>=3.12.0).
- Fall back to ticker_24hr for full-market scans where rolling_window_ticker
requires symbols.
- Expand --window choices from [1h,4h,1d] to full Binance rolling window set:
1m,2m,5m,15m,30m,1h,2h,4h,6h,8h,12h,1d,2d,3d,5d,7d,15d,30d.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-04-20 23:18:28 +08:00
parent 69f447f538
commit a9f6cf4c46
4 changed files with 17 additions and 7 deletions

View File

@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "coinhunter"
version = "3.0.0"
version = "3.0.1"
description = "Binance-first trading CLI for balances, market data, opportunity scanning, and execution."
readme = "README.md"
license = {text = "MIT"}