Strategy delivery · Webhooks
Receive signals in your own tool
Each signal of the strategies you subscribe to is sent to the address you choose, with its entry, stop and targets, then each stop move, partial exit and close. What happens next is your decision: alert only, manual review, or rules you set in your own execution tool.
Publishes the same signals to every subscriber of a strategy, at the same time, by Telegram, API and webhook. Telyos does not know your account, does not size positions, does not place orders and never asks for your exchange or broker keys.
Whether to act on a signal, on which account, with what size, leverage and risk limits, and whether to follow the stop and targets. You can pause or delete a webhook at any time from your account; deleting it stops delivery at once.
Setup in four steps
- Get an address that receives webhooks. Either your own small server (examples below) or an execution tool that accepts custom JSON webhooks. Only
https://addresses on a public domain are accepted. - Add it in your account under Signal webhooks, and pick the strategies to receive (all your subscribed strategies by default). Copy the signing secret: it is shown only once.
- Press Send test. Your endpoint receives an event of type
testwith a dummy signal. Check that your signature verification passes and that test events are ignored by your rules. - Write your own rules. Decide what to do with
signal.opened,signal.updatedandsignal.closed. Start with alerts or a paper account before any real money.
Events
| Field | Meaning |
|---|---|
type | signal.opened, signal.updated, signal.closed, or test (from the Send test button; never trade it) |
id | Unique event id. The same event can arrive twice after a retry: ignore ids you have already processed |
signal.id | Signal id, identical across its opening, updates and close |
signal.side | long or short |
signal.entry | Reference entry price at the signal time. Your own fill will differ |
signal.stop | Protective stop published at the opening (null if the strategy has none). Later moves arrive as updates |
signal.targets | Profit targets, in order, each with the share of the initial position it closes (0 to 1) |
update | For signal.updated only: kind stop (new stop at price) or partial (share of the initial position closed at price) |
signal.exit, result_pct | Exit price and reported result of the signal on signal.closed |
signal.mode | live: sourced from real orders. shadow: simulated execution on live prices |
- Requests are
POSTwith a JSON body, headersX-Telyos-TimestampandX-Telyos-Signature. - Answer with any 2xx status within 5 seconds. Otherwise the event is retried after 1, 5, 15 and 60 minutes (5 attempts in total). Redirects are not followed.
- After 20 failures in a row the webhook is disabled; a successful test re-enables it.
- Signals contain trade levels only: no strategy code, thresholds or parameters.
Illustrative JSON · not an actual trade
{
"id": "se-btc-20261203-1030:open",
"type": "signal.opened",
"version": 1,
"sent_at": "2026-12-03T10:30:02.000Z",
"signal": {
"id": "se-btc-20261203-1030",
"strategy": "shock-engine",
"asset": "BTC",
"side": "short",
"mode": "live",
"opened_at": "2026-12-03T10:30:00.000Z",
"entry": 92400,
"stop": 94100,
"targets": [
{
"price": 90500,
"share": 0.5
},
{
"price": 88800,
"share": 0.5
}
],
"closed_at": null,
"exit": null,
"result_pct": null
}
}{
"id": "se-btc-20261203-1030:update:81",
"type": "signal.updated",
"version": 1,
"sent_at": "2026-12-03T14:05:01.000Z",
"signal": {
"id": "se-btc-20261203-1030",
"strategy": "shock-engine",
"asset": "BTC",
"side": "short",
"mode": "live",
"opened_at": "2026-12-03T10:30:00.000Z",
"entry": 92400,
"stop": 94100,
"targets": [
{
"price": 90500,
"share": 0.5
},
{
"price": 88800,
"share": 0.5
}
],
"closed_at": null,
"exit": null,
"result_pct": null
},
"update": {
"kind": "partial",
"at": "2026-12-03T14:05:00.000Z",
"price": 90500,
"share": 0.5
}
}Verify the signature
The signature is v1= followed by the hexadecimal HMAC-SHA256 of timestamp + "." + raw body, keyed with your signing secret. Reject requests older than 5 minutes and compare in constant time. Verify on the raw body, before any JSON parsing.
Node.js (Express)
import crypto from 'node:crypto'
import express from 'express'
const SECRET = process.env.TELYOS_WEBHOOK_SECRET // shown once when you add the webhook
const app = express()
app.post('/webhook', express.raw({ type: 'application/json' }), (req, res) => {
const ts = req.get('x-telyos-timestamp') ?? ''
const sig = req.get('x-telyos-signature') ?? ''
const body = req.body.toString('utf8')
const want = 'v1=' + crypto.createHmac('sha256', SECRET).update(ts + '.' + body).digest('hex')
const fresh = Math.abs(Date.now() / 1000 - Number(ts)) < 300
if (!fresh || want.length !== sig.length || !crypto.timingSafeEqual(Buffer.from(want), Buffer.from(sig)))
return res.status(401).end()
res.status(200).end() // answer fast, then process
const event = JSON.parse(body)
if (event.type === 'test') return // test events must never be traded
// your own rules: ignore, alert, or forward to your execution tool
})
app.listen(3000)Python (Flask)
import hashlib, hmac, json, os, time
from flask import Flask, request, abort
SECRET = os.environ["TELYOS_WEBHOOK_SECRET"].encode()
app = Flask(__name__)
@app.post("/webhook")
def webhook():
ts = request.headers.get("X-Telyos-Timestamp", "")
sig = request.headers.get("X-Telyos-Signature", "")
body = request.get_data()
want = "v1=" + hmac.new(SECRET, ts.encode() + b"." + body, hashlib.sha256).hexdigest()
if not ts.isdigit() or abs(time.time() - int(ts)) > 300 or not hmac.compare_digest(want, sig):
abort(401)
event = json.loads(body)
if event["type"] != "test":
pass # your own rules
return "", 200Using an execution tool
Many trading tools accept a custom JSON webhook and translate it into orders on your own exchange account, with the size and risk rules you configure there. Their formats differ, so a small relay (the examples above) usually maps Telyos events to the tool's format. Check before going live that your tool supports the stop and partial exits you intend to follow, and test on a paper account.
A list of tested execution partners with step-by-step guides will be published here once each has been tested end to end. Telyos is not responsible for third-party tools, which act only on your instructions and under their own terms.
Signals are general, non-personalized information about a strategy, published identically to all subscribers. They are not advice tailored to your situation. Trading leveraged products can lose more than a small part of your capital quickly. Past results, live or simulated, do not guarantee future results. Your fills, fees and funding will differ from the reference prices.
Important information. All performance figures on this site are hypothetical: they come from a historical simulation of fixed rules, after modeled commissions, and do not represent actual trading. Simulated results have inherent limitations. They benefit from hindsight in the design of the rules, they do not reflect slippage, funding, market impact or the liquidity of a real account, and past simulated performance does not predict future results.
Nothing on this site is investment advice, a recommendation, or an offer or solicitation to buy or sell any financial instrument or to provide investment management services.