|
BetaTrader
A HFT Eco-System
|
Worker thread that consumes command queue and executes trading logic. More...
#include "CancelOrder.h"#include "Command.h"#include "ExecutionPublisher.h"#include "Matcher.h"#include "ModifyOrder.h"#include "NewOrder.h"#include "OrderBook.h"#include "OrderManager.h"#include "RiskManager.h"#include "data/OrderRepository.h"#include "rigtorp/SPSCQueue.h"#include <memory>#include <stop_token>#include <thread>

Go to the source code of this file.
Classes | |
| class | trading_core::WorkerThread |
| Background worker which processes batched commands. More... | |
Namespaces | |
| namespace | trading_core |
Worker thread that consumes command queue and executes trading logic.
The WorkerThread reads commands from a single-producer single-consumer queue, delegates them to the appropriate handlers (new/modify/cancel), and applies matching and persistence operations.