3e5db79d4e935286cf328b66ed7609405775023b
- get_klines always fetches from Binance REST: the stored last open candle is a snapshot from the sync and never updates, so 1d/4h data read from the database was stale. Mark whether the last bar is closed. - Cluster swing highs/lows within 0.5 ATR into support/resistance zones with touch counts, returning the nearest 5 on each side instead of the last 5 raw swing points.
Languages
Python
69.8%
Vue
18%
TypeScript
11.3%
CSS
0.6%
Shell
0.1%
Other
0.1%