Trading Strategies
At hive.trading we now operate seven purpose-built bots that cover everything from scalping to liquidity provisioning. Below are the strategies that are live on the shared cluster today—SMA details are coming soon as that custom flow gets finalized. For a broader overview, check out this intro article.
BB (Bollinger Band) Strategy
Our Bollinger Band strategy is a 4-hour Bollinger Band strategy for short-term trading and operates as follows:
- Selling: The bot will sell HIVE at the top of the Bollinger Band only if price is greater than the top band
- Buying: The bot will buy HIVE on the dips, aiming to build your HIVE balance when price is lower than the bottom band.
SMA (AI-Guided Simple Moving Average) Strategy
The SMA bot takes live market structure from our AI decision engine and converts it into actionable BULL/BEAR calls that a copy layer executes on the shared trading account:
- Multi-indicator feed: Every cycle the bot rebuilds Bollinger Bands, SMA stacks, RSI, Fibonacci retracements, ATR, and the last ten fills to give the AI full market context.
- OpenAI decisioning: The o3-mini model receives that snapshot and must return one word—BUY, SELL, or HOLD. BUY maps to BULL mode, SELL maps to BEAR, HOLD simply keeps the existing posture.
- Signal persistence: Only directional calls are written to AiCalls.latest, which downstream bots watch, so we do not churn positions when the model is unsure.
- Cadenced execution: The workflow runs immediately on boot and then every six hours, spacing requests to avoid over-trading while still catching meaningful SMA crossovers.
The result is an adaptive SMA system that reacts to blended technicals instead of a single moving-average cross, yet still behaves predictably for users following the strategy.
Read more about the SMA bot upgrade.
ScalpyBB Strategy
The ScalpyBB strategy is a short-term 1-hour Bollinger Band strategy, perfect for capitalizing on short-term price movements, especially in sideways markets:
- The bot buys when the price is below the 1-hour Bollinger Band and sells when the price is above it.
- This strategy is ideal for quick scalp trades and can complement the BB and SMA strategies effectively, offering a dynamic approach to varying market conditions.
HIVE · HBD Marketmaker Bot (Layer 1)
This is the original on-chain marketmaker that lives on the native HIVE/HBD internal market and still handles most large treasury inventory rotations:
- Dynamic spreads: Every loop the bot rebuilds thirty-six 4h candles, calculates the median range, and centers a bid/ask band 7% tighter than that spread to keep quotes firm while still respecting volatility.
- Balance-aware sizing: User configs in
storageMARKETMAKERbot.jsonset target sizes, but the bot clamps each order to live HIVE and HBD balances so it never overshoots available inventory. - Clean book management: Before quoting, it cancels every outstanding limit, recreates orders with fresh IDs, and records the intent in MongoDB so fills are reconciled against true on-chain history.
- Self-protection: Authority failures automatically remove stale accounts, user bags are shuffled to avoid hammering one wallet, and graceful shutdown hooks prevent half-written trades.
Run this bot when you want native-layer depth directly on the internal market and prefer its proven bankroll rotation logic. Read the launch write-up.
Hive Engine Marketmaker Bot HEMM (Layer 2)
The Hive Engine Marketmaker service provides 24/7 liquidity on Hive Engine by resting both sides of the book instead of cancel-reposting every loop:
- Profit-locking orders: Places top-shelf limit buys and profitable limit sells, leaving them on the book while tracking every pending lot in Mongo for true confirmation.
- Self-healing: Sweeps stale orders, reconciles fills by comparing before/after balances, and re-casts orders only when inventory or price levels change.
- Node resilience: Boots with custom Hive + HE node lists, quorum-based transaction watching, and recon RPCs so fills keep posting even during infrastructure hiccups.
- Auto-savings tie-in: Hooks into the auto-savings manager to peel profits off into cold storage once spread targets are reached.
Use this bot when you want predictable market depth on SWAP.HIVE with transparent spread capture and minimal babysitting.
Deep dives: launch post, price filter update, massive upgrade recap.
USWAP APP Arbitrage Bot
The arbitrage process watches both the on-chain HIVE/HBD balances and the SWAP pools inside the USWAP app to capture bridge mispricings:
- Pool math: Continuously snapshots the uswap/uswap.hbd accounts, runs a custom curve that adjusts base fees based on pool imbalance, and only trades when the calculated edge beats 0.1% (HIVE) or 0.3% (HBD).
- Bridge-aware sizing: Enforces per-asset minimum sends (1+ HIVE/HBD/SWAP) and dust filters so fees never erase the gain.
- Risk controls: Rejects “rogue trades” that slip more than 0.1%, verifies inbound credits before recycling capital, and stores state on disk to avoid double-sending.
- Multi-user ready: Reads per-user configs so each operator can define how much HBD vs HIVE to swing through the bridge.
It is ideal when you want automated layer-1 ↔ layer-2 rebalancing without manually monitoring USWAP spreads.
Full USWAP arbitrage bot write-up.
DLMMQB DCA Bot
The DLMMQB bot is our most advanced dollar-cost-averaging engine, engineered for volatile HIVE markets:
- Dual-mode logic: Runs independent BULL and BEAR ladders, with optional AI handoff via the AiCalls collection so mode flips only happen after configurable confirmation windows.
- Depth-aware entries: Breaks orders into chunks based on book depth and user-defined slippage, cancels any non-FOK init orders that linger, and reseeds positions only after cooldowns.
- Target gating: Tracks FIFO lots, weighted-average breakeven, and multi-target profit splits (50/40/10 or 60/40) before recycling capital.
- Operational safety: Live-reloads user configs, watches RC usage, and reconciles on-chain balances vs Mongo inventory so the DCA ladder never drifts.
Choose DLMMQB when you want a hands-off bot that keeps stacking HIVE on dips while automatically scaling out into strength.
Learn more about the DLMMQB DCA bot.
Our innovative strategies are designed to provide a comprehensive trading experience, enabling you to navigate different market environments with confidence. Join us at hive.trading and take advantage of these cutting-edge algorithmic trading strategies to optimize your trading performance.