ForecastForge/coinbase-trading-bot
ForecastForge/coinbase-trading-botcoinbase trading bot, coinbase bot, AI/automated crypto trading, Coinbase Advanced Trade/Pro, spot and futures, grid DCA scalping arbitrage, copy and signal bots, strategy setup tutorial guide automation
From the README
Coinbase Advanced Trade — Systematic EMA Bot
Run your own rules on Coinbase Advanced Trade.
No paywalled “black box.” No mystery logic. A TypeScript bot you can read end-to-end, test in paper mode, and extend when you are ready.
The open-source way to run systematic rules on Coinbase—without outsourcing your API keys to a closed dashboard you cannot audit, diff, or improve.
Jump to: At a glance · Your journey · Who this is for · Quick start · Configuration · Project layout · Go live · Troubleshooting · Your next move
The pitch — why people stick around
Most trading tools ask you to trust a logo. This one asks you to read the code.
- Clarity you can build on — One loop, one strategy module, and configuration that is validated at startup (so bad env vars fail fast, not in production).
- Discipline, baked in — Paper trading is the default. You opt in to live orders with a single flag—on purpose.
- Risk you define — Size entries with a per-trade risk fraction and an optional hard cap per order in your quote currency. The bot does not “guess” your tolerance.
- A strategy people actually recognize — EMA cross + long-term EMA filter and ATR logging mirror ideas you will find in books, courses, and prop-style playbooks: trend follow when the market agrees, step aside when the cross says to exit.
- Serious stack — TypeScript 5, Node 20+, and coinbase-advanced-node talking to the real Advanced Trade API—the same class of building blocks used by developers who treat execution as software engineering.
Ideal if you want to automate a rule you understand, learn systematic trading on real infrastructure, or ship a v1 you can later upgrade with your own risk engine—without starting from a fragile script you found in a forum thread.
At a glance
| You want to… | What this gives you |
|--------------|---------------------|
| Get going in one session | npm install → copy .env → npm run dev and you are pulling candles. |
| See signals before you risk capital | Paper mode on by default — logs what would have traded. |
| Own your stack | Full source: indicators, strategy, execution—fork it, don’t rent it. |
| Stay in control | Tweak EMAs, pair, and poll interval in .env without touching the exchange UI every hour. |
| Grow from prototype to system | Clean folders so you can add stops, websockets, or a second strategy without a rewrite. |
Under the hood (one sentence): a production-style client that runs a trend-following EMA rule, applies position sizing from your settings, and only sends live market orders when you say so.
Your journey in four beats
1