🚀 Introducing the DLMMQB DCA Bot - Hive/HBD Dollar-Cost-Averaging Strategy on the internal market! 🐂 🧸

@coininstant · 2025-09-02 02:27 · tribes

Happy Labor Day Bot Release!

dca-bot-now-with-ai.jpg

While many are kicking back to celebrate Labor Day, my mind has been on one thing: launching a new project that has consumed my time and energy for the past 2 months. It’s been a while since I've posted about Hive.trading, but that's only because I've been a busy bee building a new, special trading bot for the HIVE blockchain. All that hard work has finally paid off today!

It all started a year ago when my friend, @dlmmqb, shared an idea for a simple DCA bot. I had to put his request on the back burner while I worked on other bots. After releasing five projects, including the Hive-Engine market maker, DLMMQB showed up again, still committed to his idea. With a little more time on my hands, I decided to finally take on the project with him.

This bot is a true collaboration. DLMMQB provided the initial vision and logic, and I built it out. We started simple, but we couldn't stop coming up with new features, settings, and modes. Today, the DLMMQB DCA Bot is the most advanced bot on Hive.trading. It's designed with three main settings: a Bull Mode, a Bear Mode, and an optional AUTO AI Mode that intelligently switches between the two based on the HIVE market trend.

What is the DCA Bot?

The DLMMQB DCA Bot is designed to help traders accumulate or distribute HIVE using systematic dollar-cost-averaging. It automatically executes trades based on price movement, user-defined percentages, and advanced safety logic.

It runs 24/7, randomly iterates through user list with bag randomization once every 4.20 minutes, integrates directly with the internal Hive DEX, and stores every trade in MongoDB for running all our calculations.

For smooth operation, start with at least 10 HBD or 50 HIVE. For best results, aim for 20+ HBD or 100+ HIVE. Smaller balances may technically work, but you’ll often hit dust thresholds and see skipped trades.

Key Features

✅ AI-assisted mode flips (auto switch between Bull & Bear if enabled) ✅ BULL / BEAR strategies:

Bull Mode: Accumulate HIVE on dips, sell into single or multiple profit-up targets.

Bear Mode: Short HIVE on rallies, cover into single or multiple profit-down targets.

✅ Dynamic reseeding after liquidations or completed targets ✅ FIFO-lot breakeven tracking (resets anchors properly) ✅ Auto-heal if target % values change or drift ✅ Slippage & depth-aware chunking (avoids thin orderbook traps) ✅ Dust protection (skips tiny trades below thresholds) ✅ MongoDB logging → everything queryable by account & botType (this is more for me now but plan to use this for users in the future)

dca-bot-settings.png

Explanation of Settings

Setting slippage to zero is allowed, feel free to test your strategy with no slippage, but all trade executions won't be guaranteed. Here's more information about the slippage setting below:

slippage → % tolerance for trades (default 1%)

Feel free to experiment with other various slippage settings below:

"slippage": "1" // 1.00% "slippage": "0.5" // 0.50% "slippage": ".5" // 0.50% "slippage": "0.05" // 0.05% "slippage": 0.25 // 0.25%

Auto AI Mode → let AI flip between Bull/Bear based on AI signals

HIVE AMOUNT / HBD AMOUNT → static trade sizes if auto_ratio = false

% DCA DOWN (BULL MODE) / % DCA UP (BEAR MODE) → % thresholds for additional buys/sells

% Profit UP (1–3) → staggered profit targets in Bull mode

% Profit Down (1–3) → staggered cover targets in Bear mode

DCA Increment % (BULL) / DCA Up Increment % (BEAR) → increase trade size by additional percent on each step

DCA DOUBLE (BULL) / DCA Up Double (BEAR) → double trade size on each step

Auto Ratio (BULL) / Auto Ratio DCA Up (BEAR) → size trades as % of balance instead of fixed amounts pct_amount_hbd / pct_amount_hive → % of balance to risk (with auto_ratio) When used on static trade settings auto ratio will target HBD setting and keep HIVE and HBD balanced to HBD trade size! Dynamically keeps position size the same regardless of exchange rate between HIVE and HBD. DCA Up HIVE Bear Mode → force Bear shorting mode manually by setting to true or false with checkbox

How It Works (Example)

Bull Mode:

You set % DCA DOWN = 2.

Bot will do an initial BUY

If price drops 2% from your last buy, the bot buys again to Dollar Cost Average more HIVE since you are bullish and into stacking HIVE.

You can then set up to 3 profit targets (configurable) to sell portions as price rises. One target the bot sells 100% at T1, If 2 Targets then bot sells 60/40 T1 & T2, Three targets the bot sells 50/40/10 % of position at T1 T2 & T3.

Bear Mode:

You set % DCA UP = 2.

Bot will do an initial HIVE SELL

If price rallies 2% above your last sell, the bot shorts more HIVE.

It then sets up to 3 cover targets to buy back cheaper later. It uses same target strategy spits as above...100% 60/40% 50/40/10% Minimum 1 target is required for both BULL and or BEAR mode.

NOTE: You can't fill in too many targets or settings, it's best to fill them all in, especially when checking auto AI mode, so bot is ready for anything. All settings that are not needed or in use will be ignored.

Auto AI Mode:

Bot checks the AI's latest directional call for BULL/BEAR. These signals don't change very often and are pretty stable not leading to chop, they follow the daily trend. Trend changes tend to happen once a week, or once every two weeks, but that ultimately depends on the price trends of HIVE. Trends are based on the Ai's interpretation of SMA moving averages, fibonacci rsi etc.

If AI says flip → bot executes a one-time INITIAL trade in the new direction, then continues normal DCA.

liquidate → close all positions and reset (auto reseed next loop) When you set liquidate to true bot will sell everything and wait until you flip it back to false. I.E. if you are in BULL mode which buys HIVE with HBD and you set Liquidate to true it will SELL all your HIVE. Vice versa if you are in BEAR mode, set to liquidate, it will sell all your HBD. This sounds backwards, but it is intuitive, a bear trader is shorting HIVE for HBD, when he wants out it means he wants to flip back to HIVE since he is feeling the squeeze of not having HIVE. This setting is for someone that wants to switch / flip modes manually at any time, or just wants to take a break.

NOTE: If you are planning on withdrawing funds once you've begun a loop and are still in mid loop, it's advised to set liquidate to true since this clears out all old targets and resets bot for whenever you want to begin trading again with different funding sizes.

Notes on setting targets:

In the settings above I show percents as whole numbers for simplicity, like 1% 2% etc. however settings as small as 0.0001 or 0.01% will be accepted too. i.e. Percent Profit Down: "0.0001" → target is valid, & will trigger almost immediately if price moves even the tiniest fraction. So the bot is capable of doing small micro trades too if desired.

Strategy Building Requirements

From the way your DCA bot handles dust thresholds and non-FOK orders (the bot cancels or skips if order sizes fall under exchange minimums), a “safe minimum” balance should:

  • Clear dust checks (dustUp, dustDown) so trades aren’t skipped. Your logs show dust values on the order of 0.002–0.02 HIVE, so you don’t want trades rounding down to that scale.

  • Satisfy the Hive internal market's minimum trade amounts, which are typically ~0.001 HIVE or HBD. Anything smaller won’t post.

  • Leave room for splits: because your bot divides entry positions into multiple targets (T1, T2, T3), starting too small means each split may be below the tradable threshold.

  • Allow slippage safety (1% default). If balances are too tiny, slippage protection (if set) can block orders.

Suggested safe starting balances

  • If starting in HBD (bear mode): At least 10 HBD so that the bot can buy multiple HIVE increments and still clear dust thresholds. With 3–4 target splits, each leg would still be ≥2–3 HBD worth.

  • If starting in HIVE (bull mode): At least 50 HIVE so that DCA-down or profit-up legs aren’t reduced to dust. At today’s ~0.20 HBD/HIVE, this is about 10 HBD worth — symmetric with the HBD case.

  • Recommended sweet spot: 20–30 HBD or 100–150 HIVE. This ensures each DCA step is comfortably above the exchange minimums and makes the strategy “feel alive” (multiple fills, not just one).

  • Absolute floor:

  • ~5 HBD or ~25 HIVE will technically run, but you may see skipped targets.

  • Below that, users will mostly burn subscription without seeing meaningful trades.

Data & ROI Tracking

All trades saved in OrderHistory

Deposits/withdrawals saved in DepositHistory

Balance snapshots every hour in BalanceSnapshots needed to calculate ROI

ROI calculated with Modified Dietz method (time-weighted)

ROI to be available on frontend soon!

Why It Matters

Emotion-free trading: DCA works even in sideways or choppy markets

Flexibility: choose between fixed amounts or % of balance

Transparency: all trades visible via hive frontends + ROI dashboard (coming soon)

Safety: slippage, dust limits, reseeding logic prevent runaway loops!

Next Steps

Take it for a live test spin on https://hive.trading The bot already handles:

✅ Live AI suggestions (or fallback to stored mode)

✅ Dynamic userlist (Instantly to add/remove accounts, no more wait time, new accounts and settings go live on very next bot run)

✅ MongoDB logging for performance review

The DLMMQB DCA bot is now open for public subscription via HELIOS token burns. 🔥

Screenshot 2025-08-28 at 8.13.39 pm.png

Final Thoughts and Guidelines

If you're still on the fence about setting up your bot, here are a few final thoughts to help you get started.

Both the Bull Mode and Bear Mode can be profitable in any market condition; the key is that one mode may outperform the other when market trends align with its strategy. If you're a long-term bull who believes HIVE is on a permanent upward trajectory, simply run the bot in Bull Mode. It's the default setting, so you don't even need to check any boxes or use the Auto Ai Mode.

Here's some food for thought on strategy:

  • If you have a lot of liquid HIVE and no HBD, you'll need to start with the Bear Mode or the Auto Ai Mode (when the market is bearish).

  • Conversely, if you're holding a lot of HBD with little or no HIVE, you'll definitely want to begin with the Bull Mode (or let the Auto Ai Mode run until a bullish trend emerges).

Don't let the names Bull Mode and Bear Mode fool you. All the bot does is dollar-cost average either HIVE or HBD, taking profits at preset targets along the way. Both coins have their own strengths, and the modes are simply named to align with the general direction of HIVE. This terminology helps with programming and strategy, so don't be intimidated by it.

If you're serious about taking full advantage of this bot, I suggest running all three strategies on separate accounts—one for Bull Mode, one for Bear Mode, and one for Auto Ai Mode. By doing so, you'll be set up to make money no matter which way HIVE is trending.


Important Settings Examples with descriptions

These are typical settings that will work great in all scenarios, whether you are bullish, bearish, or select auto mode this covers all the bases.

important-settings-explanations-final.png

Simple Bullish Example

simple-bullish-example-final-one.png

Simple Bearish Example

SIMPLE-BEARISH-EXAMPLE.png

AUTO AI MODE EXAMPLE

AUTO-AI-MODE-EXAMPLE.png

This Labor Day, while everyone else is taking a break, your bot can be hard at work for you. Happy Labor Day!

📥 Get Started Log into https://hive.trading

If you spot a bug or have another great feature suggestion, please drop feedback or feature requests on our Discord or simply drop a comment below & tag me here on Hive. If you need help or have general questions about the bot, feel free to contact me or @dlmmqb and we'll be sure to steer you in the right direction.

Happy Trading & follow @coininstant for more!

#tribes #pob #alive #ai #helios #bots #hive-trading #dca #dlmmqb
Payout: 0.000 HBD
Votes: 458
More interactions (upvote, reblog, reply) coming soon.