TradingView alerts to exchange orders, with guardrails.
A small, self-hosted Python service that receives your TradingView webhooks and places orders on Binance or Bybit. Duplicate-safe, risk-capped, testnet by default. Code you can read end to end.
// alert message (TradingView) { "key": "YOUR_WEBHOOK_SECRET", "id": "{{strategy.order.id}}-{{timenow}}", "symbol": "BTC/USDT", "action": "buy", "usd": 20, "time": "{{timenow}}" }
kit secret ok · fresh · symbol allowed kit dedupe id → new, queued (200 OK sent) risk order ≤ MAX_ORDER_USD · position ≤ MAX_POSITION_USD ✓ exch MARKET BUY BTC/USDT · mode=TESTNET exch status → done · logged to SQLite audit trail
The boring parts, done properly.
Strategy is your job. Making sure an alert becomes exactly one sane order is ours.
Risk rails
Symbol allow-list, MAX_ORDER_USD, MAX_POSITION_USD and a daily loss cutoff that trips the kill switch.
Idempotency
Alerts are deduplicated by id or payload hash. A webhook that fires twice is executed once.
Kill switch
POST /kill or a data/KILL file stops trading and cancels open orders. Resuming is always manual.
Testnet first
Runs on testnet by default. Live trading needs LIVE=1, set deliberately by you.
Durable & resilient
SQLite-backed queue survives restarts, startup reconciliation with the exchange, backoff on 429s and auto clock resync on -1021.
One-command deploy
docker compose up -d, plus a bundled Caddy profile for HTTPS on a low-cost VPS.
Tested on Binance Spot Testnet.
Every release runs a scripted end-to-end test against the real Binance Spot Testnet API with virtual funds. This checks that the software works, not whether any strategy makes money.
20 Oct 2026
| Check | Result |
|---|---|
| Market buy, market sell, limit order place & cancel | PASS |
Duplicate alert rejected (same id) | PASS |
| Wrong webhook secret rejected | PASS |
| Max order, max position and daily loss limits enforced | PASS |
| Kill switch stops trading | PASS |
close sells only what the kit bought | PASS |
| Bybit | NOT YET VERIFIED |
Bybit support is implemented and unit-tested, but it has not yet been verified end to end on Bybit testnet. We'll say so here until it is. The e2e script ships with the kit so you can rerun it yourself.
Everything you need to run it yourself.
One-time price. No subscription.
Early access is limited to the first 20 buyers, then the price goes to $39.
Tinkermoss Webhook Kit
TradingView → Binance / Bybit
- v1.0.0 now: code, tests, PDF guide, VPS & error guides, e2e script
- All 1.x updates free
- Personal / internal-business license
- 14-day no-questions refund
Delivery: download link emailed to the address you enter at checkout within 24 hours (manual during early access). Crypto only for now; card payments coming. Checkout runs on NOWPayments and may be unavailable in some countries. See the Refund Policy.
Not ready to buy? Join the waitlist.
Grid + DCA Kit
Next on the Tinkermoss workbench
- Spot grid and DCA in one config file
- Hard cap on total investment, out-of-range behaviour you choose
- State sync on restart, so grid orders aren't duplicated
- Same risk rails and kill switch, testnet by default
Not for sale yet. Get one email when it launches, with an early-bird price.
By joining a waitlist you agree to our Privacy Policy. We only email you about the kit you picked. Unsubscribe any time.
Questions, answered straight.
Will this bot make me money?
We don't know, and nobody honestly can. The kit is a tool and a learning resource. It contains no strategy and comes with no promise of returns. Many people lose money trading, with or without bots.
What exactly do I get with early access?
Version 1.0.0 right away (source, tests, PDF guide, VPS and error guides, e2e testnet script), plus every 1.x update free.
How is it delivered?
After payment, a download link is emailed to the address you enter at checkout within 24 hours. During early access this is done manually.
What does the license allow?
You may use, run and modify the kit for your own personal or internal business use, on any number of your own servers. You may not share, resell, sublicense or publish the code, or offer it as a hosted service. 1.x updates are free. The software comes "as is", without warranty, and we're not liable for trading losses or exchange/API failures.
Which exchanges are supported?
Binance and Bybit via ccxt. Binance Spot Testnet is verified end to end; Bybit is implemented but not yet verified end to end on testnet. Check your exchange's terms and availability in your country.
Is my API key safe?
The code runs on your own server. Keys never reach us. Use trade-only keys with withdrawals disabled and an IP whitelist; the guide shows how.
Why not OctoBot, Freqtrade or an exchange's built-in bot?
They're great, and free. Use them if they fit. This kit is for people who want a small codebase they can read end to end and change themselves.
Do I need to know Python?
Basic Python and command-line comfort helps. The guide covers setup, config and running on testnet step by step.
What if it doesn't work for me?
14-day no-questions refund: email hello@tinkermoss.com. Crypto refunds go to a wallet you specify. See the Refund Policy.
Important disclaimer
- Educational software only. Nothing here is financial, investment or trading advice.
- No profit claims. We make no claims about earnings or performance.
- You can lose money. Crypto is highly volatile. Only use money you can afford to lose.
- Testnet by default. Going live is a deliberate step you take yourself.
- Never enable withdrawal permission on API keys used by a bot.
- You're responsible for your exchange's API terms, your local laws and taxes.
- Not affiliated with Binance, Bybit or TradingView. Trademarks belong to their owners.