Commit 029507f
feat: add Binance WebSocket price provider
Add BinanceWsProvider that connects to Binance bookTicker streams with
dynamic pair discovery, bid/ask-aware price resolution (direct, reverse,
and intermediate routing), exponential backoff reconnection, and 60s
re-sync for new tokens. Also uppercases normalize_symbol output for
exchange compatibility.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 42c7fc5 commit 029507f
File tree
7 files changed
+954
-4
lines changed- fynd-core
- src/price_guard
7 files changed
+954
-4
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
| 138 | + | |
138 | 139 | | |
139 | 140 | | |
140 | 141 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| |||
0 commit comments