This article is over 1 month old.

AI Assisted

Generating Market Charts Inside Discord

The /tc command turns any Discord channel into a chart terminal — price charts, comparisons and sector heatmaps, without leaving the conversation.

Updated 4 Nov 2026

Generating Market Charts Inside Discord
Someone mentions a ticker mid-conversation and the thread stalls while everyone opens a chart in another tab. The TradeRange Discord bot closes that gap: type /tc, name a symbol, and the chart lands in the channel as an image everyone can see and react to. This post covers the three /tc subcommands, the options worth knowing, and how to get the bot into your own server.

Inviting the bot

The invite is a standard Discord OAuth flow and takes about thirty seconds.
  1. Open the bot page at traderange.net/bot.html.
  2. Click Add to Discord. You'll be sent to Discord's authorisation screen.
  3. Pick the server you want the bot in — you need the Manage Server permission on it, which Discord enforces before it will show the server in the list.
  4. Approve the requested permissions and confirm. The bot appears in your member list and its slash commands register straight away.
Slash commands can take a minute to show up in the Discord client the first time. If /tc doesn't autocomplete immediately, wait a moment or restart the app.
ℹ
Everything is switchable
The whole /tc group sits behind a TradeChart toggle. Anyone with Manage Server can run /settings to switch chart generation — or any other feature — off for that server. If someone runs /tc and gets a short notice saying TradeChart is turned off, that toggle is the reason.

/tc chart — a price chart for one thing

The workhorse. Give it a ticker and it draws a candlestick chart with volume over the last month.
/tc chart AAPL
The ticker field accepts more than a single symbol. It takes a plain ticker (AAPL), a named group (mag7), or a comma-separated list (AAPL,MSFT,GOOG). Groups and lists are averaged into a single series — useful for asking "how has big tech done as a bloc" rather than tracking each name separately. Autocomplete suggests group names and popular tickers as you type, including crypto (BTC-USD), indices (^GSPC) and futures (GC=F).
Three optional fields shape the output:
Optional fields on /tc chart and what they accept.
OptionAcceptsDefault
duration1d 5d 1mo 3mo 6mo 1y 2y 5y 10y max1mo
chart_typecandle line ohlc area heikin_ashicandle
indicatorssma ema bollinger vwap rsi macd volumenone
Indicators are space- or comma-separated and stack, so a full request looks like this:
/tc chart AAPL duration:1y chart_type:line indicators:ema rsi
Anything in the indicators field that isn't recognised is quietly ignored rather than failing the command — the chart still renders, and the embed lists what it skipped so you can see the typo.

/tc compare — relative performance

Where chart averages a list into one line, compare keeps every ticker separate and plots them against each other. Up to eight at a time.
/tc compare AAPL,MSFT,GOOG duration:6mo
By default the chart is normalised: every line starts at zero and shows percentage change from the beginning of the window, which is what you want when comparing a $200 stock to a $40 one. Set normalise:false to plot raw prices instead. A group name works here too — /tc compare mag7 expands the group and charts its members individually.

/tc heatmap — a whole sector at a glance

The heatmap renders an entire group as colour-coded tiles, one per constituent, shaded by gain or loss over the window. It's the fastest way to answer "what moved today" for a slice of the market.
/tc heatmap group:tech duration:3mo
The group field is a dropdown, so there's nothing to memorise. The available groups are:
Sector and asset groups available to /tc heatmap — and usable as a ticker shorthand in chart and compare.
Group valueWhat it covers
mag7Magnificent 7
sp500_etfsS&P 500 sector ETFs
techTechnology
financeFinance
energyEnergy
healthcareHealthcare
consumer_discConsumer discretionary
consumer_stapConsumer staples
industrialsIndustrials
realestateReal estate
utilitiesUtilities
cryptoCrypto
indicesIndices
commoditiesCommodities

The duration buttons

Every chart the bot posts — from all three subcommands — arrives with a row of buttons underneath: 1D, 5D, 1M, 1Y and MAX. Pressing one re-renders the same chart over that window and edits the message in place, so you're not retyping the command and not filling the channel with near-identical images. The button for the window you're currently looking at is highlighted and disabled.
The buttons belong to whoever ran the command and stop working after five minutes. If someone else wants to drive, they run their own /tc.

Cooldowns and etiquette

Rendering a chart is real work, so each subcommand has a short per-user cooldown. It's per person, not per server — one member charting away doesn't block anyone else.
Per-user cooldown on each /tc subcommand.
CommandCooldown
/tc chart15 seconds
/tc compare20 seconds
/tc heatmap25 seconds
Hit one and the bot tells you privately how long is left — nobody else in the channel sees it. The same goes for errors: a mistyped ticker gets you a quiet ephemeral message rather than a broken embed in the middle of the conversation.

A few things worth trying

  • /tc heatmap group:crypto duration:1d — a one-line morning check on the crypto majors.
  • /tc compare mag7 duration:1y — the year in big tech, every name plotted separately.
  • /tc chart ^GSPC duration:max chart_type:area — the whole index history in one image.
  • /tc chart NVDA duration:5d indicators:vwap volume — intraday context on a mover, with VWAP.
  • /tc chart AAPL,MSFT,GOOG duration:6mo — the three averaged into a single series, rather than compared.

Key takeaways

  • /tc has three subcommands: chart for a price chart, compare for relative performance across up to eight tickers, and heatmap for a whole sector at once.
  • Ticker fields accept a single symbol, a comma-separated list, or a named group like mag7 — chart averages a list into one series, compare keeps them separate.
  • Every chart carries 1D / 5D / 1M / 1Y / MAX buttons that re-render it in place, so you rarely need to run the command twice.
  • Invite the bot from traderange.net/bot.html; you need Manage Server on the target server.
  • Chart generation can be switched off per server from /settings, and each subcommand has a 15-25 second per-user cooldown.