Block a user
Rewrite price lookup from WebSocket to REST API
Rewrite price lookup from WebSocket to REST API
PASS
Reviewed latest update in commit 914beea.
The previously reported blocking issues are fixed:
/refreshadmin guard is now fail-closed.- Initial trading-pair cache load is now…
Rewrite price lookup from WebSocket to REST API
Addressed all 3 issues in 914beea: (1) /refresh is now fail-closed — if ADMIN_CHAT_ID is unset or invalid, the command rejects all requests. (2) Initial pair cache fill is synchronous in…
Rewrite price lookup from WebSocket to REST API
FAIL
internal/services/tele/commands/market.go:26-28:/refreshadmin guard is fail-open. IfADMIN_CHAT_IDis unset or invalid,ParseIntreturns 0 and any user can call/refresh.
2.…
Rewrite price lookup from WebSocket to REST API
Thanks for the review. Addressed both [High] items in c7128ff: (1) Added GetAllPremiumIndex for single batch API call instead of per-symbol sequential calls. (2) Added ADMIN_CHAT_ID env check to…
Rewrite price lookup from WebSocket to REST API
Request changes.
- [High] /p đang thực hiện nhiều REST call tuần tự cho từng symbol. Binance futures premium index API hỗ trợ lấy nhiều pair trong một lần gọi (không truyền…
Remove ETH special portfolio tracking
thuanle
created branch chore/remove-eth-special-case in public/crypto-price-bot
2026-04-26 15:14:44 +07:00
thuanle
pushed to chore/remove-eth-special-case at public/crypto-price-bot
2026-04-26 15:14:44 +07:00
Rewrite price lookup from WebSocket to REST API
Update module github.com/adshao/go-binance/v2 to v2.8.11
Update golang Docker tag to v1.26
Update module golang.org/x/text to v0.36.0
Update module github.com/samber/lo to v1.53.0
Update module gopkg.in/telebot.v3 to v3.3.8