trademagic guides
n8n trading automation with certified FX signals
You do not need to write a full bot to trade systematically. With n8n, five nodes turn the FX Insights API into alerts on your phone, a self-updating trade journal, or a hand-off to your own executor.
Start with a free trial. No credit card required.

Why n8n fits signal automation
n8n is a workflow engine: triggers, HTTP calls, small code steps, and hundreds of integrations. That is exactly the shape of signal consumption. The API side is two GET requests and a cursor; everything after that is whichever integration you already use, from Telegram to Google Sheets to your broker's REST API.
The workflow
1. Schedule Trigger every 1 minute
2. HTTP Request GET https://trademagic.ai/api/ext/v1/signals/updates
Query parameter after = {{ $workflow.staticData.cursor }}
Header Authorization: Bearer tp_live_YOUR_KEY
3. Code node persist the cursor, emit only new signals (below)
4. Switch / Filter route "created" signals vs TP and SL resolutions
5. Act Telegram or Slack alert, Google Sheets journal row,
or an HTTP call to your own executor webhookThe only state you keep is the cursor. n8n's workflow static data is built for precisely this: it survives between runs without a database.
// n8n Code node: keep the cursor, pass fresh signals downstream
const data = $input.first().json;
const store = $getWorkflowStaticData("global");
store.cursor = data.next_cursor;
const fresh = data.bootstrapped
? data.signals // first run: the open set
: data.events
.filter((e) => e.type === "created")
.map((e) => e.signal);
return fresh.map((signal) => ({ json: signal }));Three workflows people actually run
- The alerter: new signal in, Telegram message out, with pair, side, entry, stop, target, and risk to reward formatted from the JSON. Faster and richer than watching a dashboard.
- The journal: every signal and every resolution appended to a Google Sheet. After a month you have your own audited outcome record built from the live feed, not from anyone's marketing.
- The executor hand-off: an HTTP node posts each new signal to a tiny webhook you run next to your broker connection. n8n does the orchestration; your executor owns sizing and risk.
Each signal carries entry, stop, target, confidence, and risk to reward from trademagic's certified FX models, built on more than 900 data feeds with no technical indicators. The workflow above runs unchanged on the 7-day trial.
Start with a free trial
Create an account and your API key is minutes away.
Frequently asked questions
Do I need to pay for n8n?
No. n8n can be self-hosted for free on the same small VPS you would run any automation on; the cloud version works identically if you prefer managed hosting.
Can n8n actually place trades?
n8n can call any HTTP API, including broker APIs and your own executor webhook. Many users stop earlier: instant alerts to Telegram or Slack plus a trade journal in Google Sheets is already a complete workflow.
Why poll the updates endpoint instead of the snapshot?
The snapshot returns every fresh signal on every call, so you would need your own dedupe. The updates endpoint returns only what changed since your saved cursor: new signals and status changes arrive exactly once, in order.
How fresh are the signals in this setup?
A one-minute schedule keeps you within seconds-to-a-minute of publication, which is comfortable: the models' signals are macro and positioning driven and play out over hours.
Start with a free trial
Create an account and your API key is minutes away.