Community Update: Making Our Market Maker Smarter & More Resilient
Hello everyone,
We’re excited to share some key improvements we’re working on for our market-making bot. Our primary focus is on enhancing its intelligence and security, especially against aggressive, high-frequency trading bots that can attempt to manipulate market prices.
The “Why”: Defending Against Pump & Dump Tactics
Sophisticated bots can try to exploit automated market makers like ours. A common tactic is a rapid “pump and dump,” where they execute a series of fast trades to create artificial price movements. They aim to trick our bot into placing orders at unfavorable prices, which they can then immediately trade against for a quick profit at our expense.
For example, an attacker might fill our sell orders to push the price up, wait for our bot to automatically place new buy orders in the newly created price gap, and then immediately dump their assets onto our new, higher-priced buy orders. Our upcoming upgrades are designed to specifically counter these manipulative patterns.
Here’s a breakdown of what we’re implementing:
1. Smarter Spread Management: Resisting the Pull (Passive Defense)
-
What it is: Instead of always re-centering our main buy/sell spread on the latest market price, the bot will now remember its previous position.
-
The Rationale: This is our core strategic defense. If the market is suddenly pushed up (a pump), our bot will anchor its new orders closer to its old, stable position, refusing to chase the inflated price. The same happens in reverse during a dump. This makes it much harder for attackers to “lead” our bot into placing orders exactly where they want them. It forces them to expend more capital for less effect, making the attack unprofitable.
2. Active Defense: A “Tactical Pause” After a Fill
-
What it is: Whenever one of our orders is filled, the bot will now automatically and instantly pause the placement of new non-essential limit orders on that same side (e.g., if a sell order is filled, new sell orders are paused).
-
The Rationale: This is a crucial, low-latency active defense. It gives our primary spread management logic (from point #1) a moment to analyze the situation and reposition our defenses intelligently, rather than instantly rushing to fill the price gap. This breaks the rhythm of the classic “fill-and-dump” combo by introducing a deliberate, protective delay that foils the attacker’s high-speed strategy. Essential operations like flashing orders and the spread repositioning itself are exempt from this pause.
3. Safer Self-Trading: Aborting High-Cost Operations
-
What it is: The bot periodically performs self-trades to meet exchange requirements for trading volume and frequency. We’re upgrading the stability check for these operations.
-
The Rationale: Attackers can see our pending self-trade orders and place their own orders in the way, hoping we’ll buy from them at an inflated price instead of from ourselves. The upgraded logic now scans the order book right before completing a self-trade. It calculates the “cost” of any intervening third-party orders. If this cost is too high, the bot will abort the operation and try again later. This prevents attackers from hijacking our own compliance mechanisms for their profit.
How It All Works Together: A Layered Defense
Think of these upgrades as a multi-layered defense system:
-
The Smarter Spread Management is our strategic foundation, making the bot fundamentally more resilient.
-
The Tactical Pause is our immediate, reflexive defense that activates on contact, disrupting high-frequency attacks.
-
The Safer Self-Trading secures our internal operations from being turned against us.
These changes will make our bot not just tougher, but smarter—able to better distinguish between genuine market activity and manipulative patterns. We are committed to continuously improving our systems to protect our operations and ensure long-term, stable performance.
Thank you for your continued support and trust.
Best regards,
The Wizardly Market Making Team
(creators of legendary Liquidius Maximus market making suite)