Roefi splits a buy into chunks and only adds when the price has started reversing — not on every dip tick. Diary of every trade, indicator backtest, take-profit / stop-loss with one command. On top of Binance, Bybit, OKX and Tinkoff. We never hold your funds.
Under the hood
Backtest of 656 macd1-LONG matches on 15m over the last 60 days
What you get
Every 60 seconds: MACD-cross, RSI-oversold, Bollinger-squeeze, SAR-flip, Donchian-breakout, EMA-trend, Heikin-Ashi-streak, volume spikes. Score 0–13 — the higher, the more conditions match.
/tp ZECUSDT 10% — close when the price hits +10% from your average buy. /sl 3% — stop-loss. Hard thresholds, no rebound, no surprises.
/take BTC 200$/4 — four partial entries on a drop: 25% at market right away, the remaining 75% wait for a 0.6% rebound after each candle dip. Shorts work the same in reverse.
/wait ZEC down 0.5% 6 — ping me on Telegram when ZEC drops 6 times by 0.5% in a row (ladder). Absolute levels, ladders and one-shot cleanup all supported.
Year → week → day → individual trade. KPIs per period with a breakdown of REALIZED_PNL / commission / funding / liquidations. Notes and star ratings on every trade.
/portfolio /accounts /signals /stats /orders — everything you'd open in the web admin, available from your messenger. Inline buttons on tickers for quick buy/sell.
🛡️ Trading safety
Roefi does not predict the market and does not promise profit. It gives you tools to keep risk in check: a daily asset audit, automatic SL/TP for DCA jobs, and simulation for /go and /take until you add real.
Once a day Roefi audits its asset registry: market cap and 24h volume from CoinGecko, plus a check for coins that disappeared from Binance and Bybit markets. Trash assets are dropped from signals; delisted ones are marked in your cabinet.
Each asset in the registry gets a 0–100 score from the daily audit. A small market cap and thin 24h volume raise it, and a delisting from an exchange adds more. It rates the asset, not your position.
Trade history syncs from your exchanges. The diary breaks PnL down by year, week, day and trade: realized PnL, commissions, funding and liquidations, so you see where the money actually goes.
New /go and /take DCA jobs get SL and TP automatically, from the average entry or as a ladder, configured per sub-account. /go trails its DCA entries. An optional time limit makes the bot ask you to close, extend or keep; it never closes on its own. Quick-open buttons on ticker cards place an ATR-based SL.
Signals arrive in Telegram as ticker cards with quick BUY/SELL buttons. Order fills and events of your jobs land in the same chat.
Connect Binance, Bybit and OKX by API key. Keys are encrypted with AES-256-GCM and funds stay on your exchange account: turn off withdrawals for the key and Roefi can only trade.
Roefi streams live prices from the exchanges, audits the asset list every day and keeps trash coins out of signals. It cannot guarantee profit or rule out losses. It helps you keep every position under a plan.
Data pipeline
Workers are split by responsibility and scale independently. TimescaleDB as the time-series core, Redis pub/sub as the nervous system. Workers subscribe to their queues and shard by ticker hash.
Streams trades from Binance / Bybit / OKX via ccxt.pro. Aggregates into 1m candles locally, cascades to 3m / 5m / 15m / 30m / 1h / 4h / 1d. Sharding via Redis claim-and-hold.
Every 60 seconds, reads the last 150 candles per pair and computes MACD/RSI/BBands/SAR/Donchian/ATR/EMA/Stoch/Heikin-Ashi. Indicator matches become a SignalEvent with score 0–13.
Listens to live ticks and user commands. Drives the DCA-job state machine: ARMED → triggered → filled. Computes rebound from dip/peak.
Sends real market / limit orders through the exchange API. Hedge-mode aware on Binance, positionSide=LONG/SHORT on Bybit, passphrase for OKX. DRY_RUN optional.
Security & Transparency
Roefi is not an exchange and not a custody service. You keep your API keys; Roefi only connects, reads balances and places orders on your behalf. Disable withdrawals in your exchange API settings and the worst we can do is open or close a position.
Exchange API keys and OKX passphrase are encrypted at the column level. The encryption key lives in the server's env vault and never appears in DB dumps.
All funds stay on your exchange account. Roefi doesn't even know your withdrawal addresses. Revoke the API key any time and everything goes quiet.
Sandbox mode: the bot computes signals and writes "synthetic" fills to the database without sending real orders. Full P&L picture without risking a single dollar.
Code available for audit on request, signal storage format documented. All backtest data lives in your own TimescaleDB, exportable with one SQL query.
Plans
Hobby
Up to 1 exchange, 10 pairs in watchlist, no real orders.
Standard
All exchanges, up to 400 pairs, real orders, unlimited backtest.
Self-hosted
Your Docker stack, your encryption key, your rules.
Ready?
2 minutes to create an account, 5 to connect your exchange. After that, Roefi runs on its own.