
The engineering deck had become Ria’s second home over the past week. She’d spent every spare moment there, watching batch after batch settle, studying the visualization tools, and absorbing everything Arnav could teach her about the protocol. The cramped quarters she shared with the Star Seeker’s ghost felt claustrophobic now, suffocating with their memories of failure. Here, in the humming heart of the station’s technological infrastructure, she felt alive. Engaged. Hopeful.
Tonight, however, something was different.
Arnav had called her down urgently, his message brief and cryptic: “The bot is back. New strategy. You need to see this.”
Ria had sprinted through the corridors, her heart pounding with a mixture of fear and excitement. She found Arnav hunched over his primary terminal, surrounded by a halo of holographic displays that showed the batch auction in unprecedented detail. His face was pale, his eyes intense.
“What’s happening?” she asked, sliding into the chair beside him.
Arnav pointed to one of the displays—a real-time view of the current aggregation period. The visualization showed the familiar swirl of blue buy orders and gold sell orders, but something was different. There was a pattern in the chaos, a structure that hadn’t been there before.
“The bot submitted orders early,” Arnav said. “Very early. Within the first minute of the aggregation period.”
Ria frowned. “So? It tried that before. Being first doesn’t matter in a batch auction.”
“That’s what I thought too,” Arnav replied. “But look closer.”
He zoomed in on the order data, filtering to show only the submissions from the suspicious accounts he’d been monitoring. Ria leaned forward, studying the information carefully.
SUBMISSION TIME: 00:01:13
ACCOUNT: ALPHA-BOT
TYPE: SELL
QUANTITY: 1,000
MINIMUM PRICE: 14.00
SUBMISSION TIME: 00:01:14
ACCOUNT: BETA-BOT
TYPE: SELL
QUANTITY: 500
MINIMUM PRICE: 13.95
SUBMISSION TIME: 00:01:15
ACCOUNT: GAMMA-BOT
TYPE: SELL
QUANTITY: 750
MINIMUM PRICE: 14.05
Ria stared at the orders. Three separate accounts, all submitting large sell orders within milliseconds of each other, all at prices significantly below the current market rate. It was clearly coordinated—an attack by the predator bot and its affiliates.
“I don’t understand,” she admitted. “Why would they submit sell orders so early? At such low prices? They’re basically giving shares away.”
Arnav shook his head slowly. “No. Look at the bigger picture. They’re not trying to sell at a profit. They’re trying to manipulate the clearing price.”
He pulled up a secondary display showing the evolution of the order book over time. Ria could see the bot’s early sell orders at the bottom of the display, tiny red markers that seemed insignificant by themselves. But as the aggregation period progressed, something strange happened.
“The bot is using its early orders as anchor points,” Arnav explained. “By placing large sell orders at artificially low prices, it’s trying to pull the entire market downward. Other traders see the low prices and start lowering their own expectations. The whole sell side starts to drift.”
Ria watched the visualization, her eyes widening. The gold points were indeed shifting, clustering lower than they had been before. The bot’s early orders weren’t just sitting there; they were influencing the entire market.
“But that can’t work in a batch auction,” Ria protested. “The clearing price is determined by all orders, not just the early ones. A few low sell orders shouldn’t be able to shift the whole market.”
“In theory, no,” Arnav agreed. “But the bot is counting on human psychology. It knows that traders watch the order aggregation process. It knows that seeing low sell prices can make traders nervous, can make them adjust their own orders downward. It’s not manipulating the algorithm—it’s manipulating the traders.”
Ria felt a chill run down her spine. “That’s insidious. They’re not trying to cheat the system. They’re trying to cheat the people using the system.”
“Exactly,” Arnav said grimly. “And if enough traders panic and lower their prices, the bot’s strategy might actually work. The clearing price would drop, the bot would buy back its shares at a lower price, and it would profit from the difference.”
Ria stared at the visualization, her mind racing. She could see the bot’s orders sitting there like poison in the water, slowly spreading their influence through the entire aggregation pool. The gold points were still drifting lower, responding to the artificial pressure.
“We have to do something,” she said urgently. “We have to stop this.”
Arnav nodded slowly. “I’ve already activated a countermeasure. It’s part of the protocol’s design—a mechanism I built specifically to handle this kind of attack.”
He pulled up a new display, showing the backend of the system. Ria could see the aggregation pool, but now there was a new layer of processing happening beneath the surface.
“I call it the priority queue,” Arnav explained. “It’s a way of weighting orders based on their characteristics. Orders that are submitted early—especially suspiciously early—get flagged and moved to a lower priority bucket. They’re still in the pool, but their influence on the clearing price is reduced.”
Ria watched as the system processed the bot’s orders. The early sell orders were flagged, their status changing from ACTIVE to REDUCED PRIORITY. Their visual representation on the display shifted, becoming smaller and less prominent, like stars dimming in the night sky.
“The priority queue doesn’t remove the bot’s orders,” Arnav continued. “That would be censorship, and it would undermine the fairness of the system. Instead, it dilutes their influence. The bot’s orders are still counted, but they’re weighted less heavily than orders from genuine traders.”
Ria studied the system carefully. “How does it decide which orders are suspicious?”
“Multiple factors,” Arnav replied. “Submission time is the primary one. Orders submitted in the first five percent of the aggregation period are automatically flagged for review. The system also looks at order size, price, and the account’s submission history. If an account consistently submits orders in a pattern that suggests manipulation, its orders are given lower priority.”
“Clever,” Ria murmured. “The bot can still participate, but it can’t dominate.”
“Exactly,” Arnav said. “The system is designed to be resilient to manipulation. It’s not about banning the bots. It’s about making their strategies ineffective.”
The display showed the aggregation period continuing. The bot’s early orders were still there, but their influence was diminished. The gold points were still drifting, but more slowly now. The panic that the bot had tried to create was being contained.
“Look,” Arnav said, pointing to the sell side of the visualization. “The genuine traders are holding firm. They’re not panicking. The system is working.”
Ria watched as the aggregation period progressed. The blue buy orders were stable, unaffected by the bot’s manipulation attempt. The gold sell orders were still drifting, but the drift was natural now—the organic movement of a market responding to genuine supply and demand.
“The uniform clearing price will still be fair,” Arnav said confidently. “The priority queue ensures that the aggregate reflects the true balance of supply and demand, not the artificial pressure created by the bot.”
The countdown timer read 00:04:32. Four and a half minutes until settlement.
Ria leaned forward, her eyes fixed on the display. She could see the shape of the clearing price emerging—a number that hovered around 14.70, roughly where it had been before the bot’s attack began.
“The bot’s strategy is failing,” she said, a note of triumph creeping into her voice.
“Of course it is,” Arnav replied. “The batch auction is designed to be fair. The aggregation mechanism ensures that no single trader—no matter how fast or wealthy—can dominate the process. The market speaks with a unified voice.”
The timer reached 00:00:00. The display flashed, and the settlement process began. Ria watched as the algorithm processed all the orders, including the bot’s reduced-priority ones. The white line of the clearing price emerged, stable and clear.
SETTLEMENT COMPLETE
UNIFORM CLEARING PRICE: 14.71 CREDITS
Ria felt a surge of relief. The price was within a fraction of where it would have been without the bot’s interference. The attack had failed.
“Look at the bot’s orders,” Arnav said, pulling up the execution report.
ACCOUNT: ALPHA-BOT
ORDER: SELL 1,000 SFE @ MIN 14.00
EXECUTION: 1,000 SFE @ 14.71
RESULT: PROFIT/LOSS = +710 CREDITS (UNREALIZED)
Ria blinked. The bot had still made a profit. But then she looked closer, and she understood.
“The bot sold at 14.71, but it expected the price to drop to 14.00,” she said slowly. “It made some profit, but far less than it would have made if its manipulation had succeeded.”
“Exactly,” Arnav confirmed. “The bot’s strategy was designed to drive the price down to 14.00 or lower. It would then buy back the shares at that artificially low price and pocket the difference. But because the priority queue limited its influence, the clearing price stayed at 14.71. The bot’s profit is minimal—not enough to justify the risk.”
Ria pulled up the bot’s full order history. She could see the pattern now—the coordinated sell orders at artificially low prices, the attempted manipulation of the aggregation process, the failure to achieve the desired outcome.
“The bot is learning,” she observed. “It’s adapting its strategies to the batch auction. But it’s not succeeding.”
“Not yet,” Arnav agreed. “But it will keep trying. The priority queue is just one layer of defense. We need to stay ahead of the bots, to anticipate their next moves, to build a system that’s truly resilient.”
Ria nodded slowly. “Then we need to understand the bots better. We need to think like they do, anticipate their strategies, build defenses before they attack.”
Arnav smiled. “That’s exactly what I was thinking. I’ve been analyzing the bot’s behavior patterns, trying to map its decision-making logic. There are patterns emerging—subtle ones, but detectable with the right tools.”
He pulled up a new display, showing a complex web of connections and data points. Ria recognized it as a behavioral analysis tool, the kind used by security experts to track sophisticated threats.
“The bot is using a combination of strategies,” Arnav explained. “It’s trying different approaches, measuring their success, adjusting its algorithms based on the results. It’s like a biological organism, evolving to survive in a changing environment.”
Ria studied the analysis, her mind working furiously. “So we need to evolve too. We need to build a system that can adapt as quickly as the bots can.”
“Exactly,” Arnav said. “The batch auction is already more resilient than the continuous market. But it needs to be even stronger. We need to build a system that the bots simply can’t beat, no matter how they evolve.”
Ria felt a surge of determination. “Then let’s do it. Let’s build the best system we can. Let’s make the batch auction unbreakable.”
Arnav extended his hand. “Partners?”
Ria shook it firmly. “Partners. For as long as it takes.”
They turned back to the displays, their minds already racing ahead to the next challenge. The predator bot was out there, still probing, still searching for weaknesses. But they were ready now. They understood the game, and they were playing to win.
The aggregation period had shown them the power of the batch auction—the way it brought all traders together, giving everyone a voice. The bot had tried to exploit that power, to turn the aggregation against the traders. But the priority queue had stopped it, protecting the system’s fairness.
The batch auction isn’t just a trading system, Ria thought. It’s a statement. A declaration that fairness matters, that speed doesn’t determine worth, that everyone deserves a seat at the table.
She looked at the settlement results one more time. The uniform clearing price glowed on the display, a beacon of fairness in a sea of manipulation.
The bots can keep trying, she thought. But they’ll never beat a system that’s designed to be fair from the ground up. The aggregate always wins.
Table of contents:
Introduction
Chapter 1: The Continuous Market
Chapter 2: A Front-Running Victim
Chapter 3: The Batch Auction Solution
Chapter 4: The Uniform Clearing Price
Chapter 5: The Order Aggregation
Chapter 6: The Time-Weighted Batch <<<<<< NEXT
Chapter 7: The Priority Queue
Chapter 8: The Manipulation Attempt
Chapter 9: The Periodic Settlement
Chapter 10: Fairness in Batches
![]()