Skip to content
Binance logo

Alerts to orders

Automate Telegram alerts to Binance

Nyria places Telegram alerts as spot orders in your own Binance account. It joins a group or channel you run as a read-only admin. The exchange connects with a System generated API key.

Crypto spot
My strategies, then Create strategy: a strategy name typed in, Telegram picked as its alert source, the Nyria Test Alerts chat chosen and the keyword AMZN typed in, then Next to what it trades, where Stocks is picked

Setup steps

Add Nyria as a read-only admin of a Telegram group or channel you run. Pick that chat in a Nyria strategy. Then connect your Binance account in Nyria with your own Binance API key. Each call posted there becomes a spot order in your own Binance account. Nyria connects live Binance accounts only, so test it free on Nyria Paper first.

  1. 1Connect Binance. In Binance, open API Management and create a System generated key. Turn on Reading and Spot trading, leave Withdrawals off, and add Nyria's IP address so the key can trade. In Nyria, select Integrations, then the Binance card, paste the API key and secret key, then select Connect Binance.
  2. 2Link Telegram. In Nyria, select Create strategy, pick Telegram and select Connect Telegram. Telegram opens a chat with @NyriaAlertsBot. Press Start, then tap Link in its reply.
  3. 3Add Nyria to your chat. Select Add Nyria to a group or Add Nyria to a channel. Make Nyria an admin. You need to own the chat or be an admin who can add admins. Nyria asks for one right, manage chat, and only reads. Pick the chat. Set an Author or Keyword filter if others post there.
  4. 4Check a real message. Choose a real message in the preview. The strategy stays inactive until Nyria reads one correctly. The Logs tab shows the symbol and side it read.
  5. 5Deploy a bot. On the strategy, select Deploy bot. Pick the Binance account on the Account step and set a Budget per entry. Live bots need a Nyria Pro plan or a Premium strategy you have bought. The next alert becomes an order.

What a Telegram alert must say

Nyria needs the ticker, the side, and whether it opens or closes a position. It reads plain text or JSON in your own wording. There is no template to follow. Spot crypto can't be shorted, so a short alert closes the long.

Write the call the way the poster already does. Buy ETH, or a plain sentence that names the coin. Messages that other bots post in a group are not read.

An alert cannot set the size: each bot's budget per entry does. Exits come from your exit alerts.

A crypto entry

Long BTC here

Buy BTC spot. The message has no size, so each bot's budget per entry sets it.

An exit, written as a sentence

Closing BTC here

Close the open BTC position, matched against what the bot is holding.

What Binance does with it

Binance connects with an API key, not a sign-in. Nyria signs requests with HMAC keys and stores both the API key and secret key encrypted at rest. The key needs an IP restriction, so add Nyria's fixed IP address or Binance limits it to reading. Nyria places and cancels orders and has no feature that moves money. Binance and Binance US are separate exchanges. Binance US has its own page.

Options aren't offered on this connection. An options alert places no order at Binance.

Nyria trades the spot pairs Binance lists.

Each alert becomes a market or limit order, as the strategy sets it. Nothing waits at the broker between alerts. The exit comes from your alert.

Questions

What if a Telegram message is edited or arrives late?
An edited message places no order, so post a new one. An alert over a minute old, or behind a newer one, opens nothing. A close in it still runs.
Which Binance API key does Nyria need?
A System generated key. Nyria signs with HMAC keys. Turn on Reading and Spot trading, and leave Withdrawals off.
Why can't my Binance key place orders?
Binance limits keys without an IP restriction to reading. Add Nyria's IP address to the key so trading works. Email contact@nyria.io for the address.
Which Binance pairs can a Telegram alert trade?
Any spot pair Binance lists, once you add it. Each alert becomes a market or limit order, as the strategy sets it.
Does Nyria hold my Binance login?
No. A Binance API key doesn't need your password. Nyria stores the API key and secret key encrypted at rest.
Can I test before trading real money at Binance?
Nyria connects live Binance accounts only, so run the strategy on Nyria Paper first. Nyria Paper is free, with no card, and runs the same strategy against simulated fills.
How fast does an alert become an order?
Sub-second, alert to order.

From the sources

Next

Binance orders, by alert source

Send your first Telegram alert

Trade and test free on paper. No card required.