Discord Trading Bot — Alerts Direct to Channels

Poll /v1/indicator on a schedule, format a Discord embed, and POST to a webhook. Or use discord.js / discord.py for richer slash commands.

No credit card$2.50 PAYG credit on sign up
15+API endpoints
42Indicator series
M1–D17 timeframes
$2.50PAYG starting credit
Why TickAtlas

Why Use TickAtlas?

Pre-Calculated, Redis-Cached

Indicator values are computed server-side on every new candle. Your app queries the result — no TA library, no candle history needed.

7 Timeframes

M1, M5, M15, M30, H1, H4, D1 — the same endpoint serves scalpers and position traders alike.

Forex, Crypto, Commodities

EURUSD, GBPUSD, XAUUSD, BTCUSD, USDJPY — data available for every symbol in our data.

One Request. Instant Data.

REQUEST
import requests

WEBHOOK = "https://discord.com/api/webhooks/..."
data = requests.get(
    "https://tickatlas.com/v1/indicator",
    headers={"X-API-Key": "YOUR_API_KEY"},
    params={"symbol": "EURUSD", "indicator": "RSI_14", "timeframe": "H1"}
).json()["data"]

if data["value"] < 30:
    requests.post(WEBHOOK, json={"content": f"EURUSD RSI oversold: {data['value']:.1f}"})

How Does the Discord Bot Work?

There are two approaches: (1) Webhook-only — a simple script polls the TickAtlas API on a timer and uses Discord's Incoming Webhooks to post formatted messages to any channel. No Discord bot account needed. (2) Discord.js bot — a full Discord bot that responds to slash commands like /rsi EURUSD H1. Both approaches use the same TickAtlas REST API. We cover both in the code examples below.

Copy-Paste Ready Code

Python Webhook polling bot
Node.js Webhook polling bot

How to get a Discord Webhook URL

  1. Go to your Discord server → channel settings (gear icon)
  2. Click Integrations → Webhooks → New Webhook
  3. Give it a name (e.g., "ForexBot"), choose the channel
  4. Click "Copy Webhook URL" and paste it into the code above

What Your Discord Bot Can Alert On

RSI Overbought/Oversold

Alert your Discord channel when RSI crosses 70 (overbought) or 30 (oversold) on any symbol and timeframe combination.

MACD Crossovers

Detect when MACD line crosses above or below the signal line. Compare current vs previous call to identify the crossover bar in real time.

Hourly Market Summaries

Post a formatted embed every hour with RSI, MACD, ADX, and Bollinger Band status for your watchlist. Your server stays informed without manual checking.

Works with any polling scheduler

Python schedule Node.js setInterval Discord.js n8n Zapier GitHub Actions Cron on VPS Railway.app

Plug into any stack

  • ChatGPT Custom GPTs
  • Claude Tools
  • Python / pandas
  • Node.js
  • Discord bots
  • Slack webhooks
  • n8n
  • Zapier
  • Google Sheets
Pricing

Start on pay-as-you-go, upgrade when the traffic justifies it.

Every new account starts with $2.50 of pay-as-you-go credit and no card. Monthly plans add a flat monthly price, WebSocket streaming and support.

Pay as you go
$2.50 credit No card required to start
  • $2.50 of credit included
  • Every REST endpoint except raw ticks
  • No card required, no overage
  • 10 API keys
See plan details
Starter
$29 per month · 10,000 requests/day · 120/min
  • Every REST endpoint except raw ticks
  • WebSocket streaming, 5 symbols
  • Released calendar actuals
  • Email support
  • 3 API keys
See plan details
Frequently asked questions

What developers ask first.

Straight answers on limits, coverage and how the endpoint behaves in production.

Do I need a Discord bot account?

No. The webhook approach uses Discord's Incoming Webhooks feature — just a URL, no bot token needed. If you want slash commands or interactive features, you can build a full Discord bot using Discord.js or discord.py with the same TickAtlas API key.

How often should I poll the API to avoid rate limits?

The Starter plan allows 10K requests/day. If you check 5 symbols every 5 minutes during a 12-hour trading session, that's 5 × 12 × 12 = 720 requests/day — well within the limit. For higher frequency, upgrade to Pro.

Can I alert on multiple symbols?

Yes. Make separate API calls for each symbol in your loop. For example, check EURUSD, GBPUSD, XAUUSD, and USDJPY on every cycle. Each call is independent and fast (Redis-cached).

Can the bot send embed messages with charts?

Discord webhooks support rich embed messages with titles, fields, colors, and footers. You can format indicator data into a structured embed. For chart images, you would need to generate an image (e.g., with matplotlib) and attach it to the webhook POST.

Start building

Start Building in 5 Minutes

Sign up, grab your API key, make your first request.

Every new account starts with $2.50 of pay-as-you-go credit. No card required.