Movers, as they happen
Every minute, the bot reads 24-hour tickers for Binance's USDT pairs through ccxt, ranks the twenty biggest gainers and losers, and posts to the channel when a move crosses a line:
- A gainer once it is up more than 20 percent over 24 hours, a loser once it is down more than 10 percent
- Each post names the pair, the move and the current price
- A pair is posted again only after it moves another 20 or 10 points, so one that keeps running does not flood the channel
Analysis on three timeframes
Pairs that cross a line also join a watch list kept in MongoDB. Every three hours, each watched pair gets a fuller look: the bot builds a data sheet through ccxt, GPT-4o reads it against a fixed prompt and writes a short analysis, and the post goes to the channel with a link to a Telegraph page holding the full sheet. The sheet covers:
- 5-minute, 1-hour and 1-day candles, scanned with pandas for single-candle moves above 3, 7 and 13 percent
- The 24-hour high, low, last price and volume, in the coin and in USDT
- The top bid and ask from the order book, with their sizes
Updates under the post
Each analysis post has a comment thread. The bot keeps watching that pair and replies in the thread with a fresh AI read at the interval the admin sets, three minutes by default. It stops on its own when:
- The admin removes or blacklists the pair
- A newer analysis post takes over, and the old thread gets a link to it
- The pair stops making 1 percent moves on 1-minute candles, which the bot marks with #DYOR, do your own research, before dropping it
Ask in the group, steer in private
In any group the bot is in, a member can ask for a pair with /analyze. The bot checks that the pair is listed, looks at its 1-minute candles from the past day, and replies with an AI read, or with a short #DYOR note when the pair has barely moved. A private chat that answers only to the client's admin steers the rest:
- Add pairs to the watch list by hand, which also lifts any blacklist on them
- See the watch list as buttons, where one tap removes a pair and blacklists it
- Set how often a watched pair gets an update
- Copy any message into the channel by replying to it with one command
Read-only, and steady
The bot reads market data and posts; it never places a trade. Each background job restarts itself five seconds after a failure, exchange calls are retried up to 50 times, and ccxt's built-in rate limiter stays on.
