The Time-Weighted Average Price Trap – Science Fiction Story

Introduction

Imagine you’ve been working for weeks on a single trade—a massive position worth millions. You’ve done everything right. You’ve researched the strategy, run the simulations, and executed with perfect discipline. Your algorithm is textbook, elegant, foolproof.

But something is wrong. The price keeps moving against you. Every time you sell, the market seems to drop just a little more. You’re losing money, and you have no idea why.

Welcome to Jaya’s world.

At seventeen, Jaya is one of the youngest traders at her firm. She’s smart, ambitious, and determined to prove herself. When she’s tasked with liquidating an 8 million unit position, she turns to a Time-Weighted Average Price algorithm—a simple, elegant solution that should minimize market impact and get her the best possible price.

But Jaya doesn’t realize she’s being hunted.

Somewhere in the digital shadows, an automated predator is watching her every move. It’s learning her pattern, predicting her trades, and systematically extracting value from her position. It’s invisible, relentless, and it’s been doing this for months—preying on traders who never even knew they were targets.

This is the story of how Jaya discovers the predator, fights back, and learns the most important lesson in algorithmic trading: predictability is vulnerability, and the only way to survive is to adapt.

Table of contents:
Introduction
Chapter 1: The Large Order <<<<<< NEXT
Chapter 2: A Slippage Problem
Chapter 3: The TWAP Solution
Chapter 4: The Predictable Pattern
Chapter 5: The Front-Running TWAP
Chapter 6: The Chunking Attack
Chapter 7: The Randomization Fix
Chapter 8: The Volume-Weighted Alternative
Chapter 9: The Hidden Liquidity
Chapter 10: Trading Smart, Not Predictable

Loading



Dear reader, love our creation? Support us moving forward