A Telegram bot is needed that allows me (the admin) to create and manage trading deals for futures.
The bot should:
- accept trade parameters: quote, trade direction, (entry(s), stop, targets),
- allow editing of parameters during the trade (notifying the user about this)
- move the stop to break-even (move the stop to the entry price - if I do this)
- monitor the price through the Binance Futures API,
- send notifications about:
- activation of entries,
- achievement of targets (with “checkmarks” in the trade information - I will provide an example),
- providing information about the stop being triggered.
Access to the bot is only for authorized Telegram IDs; others should not have access. Access should work on a subscription basis (I will provide an Excel document)
2) Roles and rights
2.1. Admin
- Full access.
- Creation/editing of trades.
- User management (add/remove, access duration, import from Excel).
2.2. Subscriber
- Access to view and receive notifications about trades (options will be clarified with examples).
- By the command /active, familiarize with the trades that are active and relevant at the moment.
3) Main functionality (MVP)
3.1. Authorization and access
- When starting (/start), the bot checks the Telegram ID:
- if the user is not on the list - shows the message “no access”;
- if access is available but expired - “subscription expired”;
- if access is active - opens the menu.
- Importing the user list from Excel:
- format: Telegram ID, username (optional), access expiration date (optional), comment (optional).
- ability for the admin to upload the file directly in Telegram.
- Storing user and trade data in the database.
Important: access must be tied specifically to the Telegram ID, not to the username.
3.2. Creating a trade
Creation through a step-by-step dialog or form (buttons + input values) or in the form of a web version.
Trade fields (minimum):
- Exchange/source of quotes: Binance Futures
- Symbol: for example BTCUSDT, ETHUSDT
- Direction: Long / Short
- Entries:
- Entry 1: price (negotiable - I will provide examples)
- Entry 2: price (optional)
- Stop-loss: price (one)
- Targets: list of prices (TP1, TP2, TP3…), there can be two targets
- Comment/description of the trade (optional)
After creation, the bot publishes a “trade card” in the chat (or in private), where it shows:
#AXSUSDT #SHORT
#HR (High-Risk)
Entry - 3.55
Entry - 4.2
Stop if it goes 4h above 4.4 (13.55%)
Target - 2.8 (27.74%)
Target - 2.2 (43.23%)
Target - 1.45 (62.58%)
Comment:
3.3. Editing a trade (support)
- Change entry(s) (replace price/zone)
- Change targets (edit a specific target or list)
- Change stop
- Stop to break-even (BE) → move the stop to Entry price 1 (or to the chosen entry)
- Close/archive the trade (stop monitoring)
All changes must:
- be saved in the database,
- be displayed in the card,
- be taken into account by monitoring.
3.4. Price monitoring and events
- The bot receives quotes from Binance Futures via API.
- For each active trade, the bot tracks:
- reaching the entry zone/price → event “entry activated”
- reaching the target → event “target achieved” + ✅ next to the target
- reaching the stop → event “stop triggered” + completion of the trade (or status “Stop”)
Important conditions:
- Long/Short logic:
- Long: entry is activated at price ≤ or below the entry
- Short: entry is activated at price ≥ entry
- targets and stop similarly according to direction
An example is available; it just needs to be repeated.