Why I stopped trading and started tendering with AI
Описание и применение
Автор отказался от алгоритмической торговли и перешёл к автоматизированному тендеру в цифровой рекламе, используя модель PyTorch для прогнозирования ценности показов и оптимизации ставок.
Задача
Algorithmic trading is a zero‑sum game where profitable patterns are quickly arbitraged away, leading to diminishing edge and high effort‑to‑reward ratio.
Результат
The AI‑driven tendering system replaces unpredictable trading with a value‑creating bidding strategy, yielding consistent profits and reducing the need for constant optimization.
Рабочий процесс
- 1. Collect bid request data from a DSP API (user demographics, device type, ad size, time, historical CTR/CVR).
- 2. Encode categorical features with an embedding layer.
- 3. Feed embeddings through a feedforward neural network (two hidden layers, ReLU activations).
- 4. Train the model with MSE loss on historical bid data, retraining daily for continual learning.
- 5. Apply exploration‑exploitation by adding a small random factor to predicted bids.
- 6. In the bidding engine, cap the predicted bid at the DSP’s max_bid and submit via the DSP API.
Доказательства
I sunk countless hours (and a not‑insignificant amount of capital) into trying to predict the market.
The market, it turns out, is remarkably good at not being predictable.
I built an AI that can accurately predict the value of an impression to an advertiser and bid accordingly, without necessarily knowing the future price of the impression.
- Дата записи: 2026-10-12T05:55:55.106Z