Setting alerts and automation workflows

Bots nail the fill, but I still need the ping. Alerts let me hit the desk, hedge, or kill the bot before the next candle buries the PnL.


Platform‑by‑platform cheat sheet

Tool
How I wire the alert
What lands on my phone

Kryll

Drag the Notification block into the flow, pick “Mobile app” and type the message.

Push ping from the Kryll app with pair, side, size.

TradeSanta

In Settings → Notifications flip on Push and link Telegram.

Phone push plus Telegram text when a deal starts, stops, or bot count maxes out.

3Commas

Profile → Notifications → Activate Telegram bot or push. Fine‑tune by bot, pair, or deal status.

Instant push / Telegram for every DCA fill or TP hit.

Autoview

Add a webhook in the dashboard, then point it to a Discord or Telegram URL. Paste the same link in every TradingView alert.

Discord/Telegram message shows the raw alert plus filled price.

TradeStation

Mobile app → Alerts → tap a symbol, set price or indicator trigger, tick “Send push”.

Push alert with symbol, trigger level, time stamp; works for stocks, options, futures.


Telegram bot in three steps (works for any script)

  1. Create bot – DM @BotFather, /newbot, grab the API token.

  2. Get chat‑ID – Send anything to the bot, open https://api.telegram.org/bot<token>/getUpdates, copy the chat_id.

  3. Push from code

pythonCopyEditimport requests, json, time
def tg(msg):
    url = f"https://api.telegram.org/bot{TOKEN}/sendMessage"
    requests.post(url, json={"chat_id": CHAT, "text": msg})
# call tg(f"BTC long filled @ {price}")

Drop that function into any Python bot, or fire it from a TradingView alert using Autoview’s &msg= parameter.


Workflow I run in live trade

  1. Define tiers

    • urgent – fills, stops, fat tails → push/Telegram.

    • info – daily PnL, heartbeat → email.

  2. Fire test alert before going live.

  3. Audit logs nightly; no ping = something’s wrong.

  4. Kill‑switch – a special alert with “C=all” (Autoview) or “Stop bot” (Kryll) linked to a Telegram command so I can flatten from the phone.

Keep the signals clean and you control the bot, not the other way around.

Last updated