1. Simulated live trading
Dear user, welcome to read the qteasy simulated live trading document.
What is simulated live trading? Backtesting is using historical data to “fast-forward” and validate a strategy; simulated live trading (configured with mode=0) allows the strategy to run in real time—calculating signals, placing orders, and logging according to a schedule, just like actually monitoring the market. However, the execution is usually completed by a local simulated brokerage, without involving real funds. This allows you to experience the path “before backtesting and before live trading” before investing real money, and to use the same set of strategy logic as backtesting, reducing the discrepancy between “great backtesting, distorted live trading.”
**If you have not yet completed backtesting or are using qteasy for the first time, it is recommended that you read QTEASY Quick Start Guide and Build your first strategy before returning to this module.
This module helps you answer:
How to configure and start a live trading simulation
Risk control and the entire process from order submission to completion.
Where are the logs and artifacts located? What should be checked first when a problem occurs?
(Advanced) How to extend brokerage compatibility and how to perform maintenance smoke analysis.
1.1. Reader segmentation
For beginners: Follow the suggested reading order below and read 1 → 2 → 3 → 5 to get the program running and be able to debug.
Live is now running successfully: Please refer to Chapters 6 and 8 for snapshots/access control and CLI maintenance.
准备对接真实柜台(如 QMT):阅读 4a-xtquant-broker-adapter-contract-v1`(英文契约 v1),再读 :doc:`4-broker-adapter-and-integration。
1.2. Suggested reading order
The order should match the table of contents below:
Overview of the simulated live trading module — Overview and quick reference for terminology
Simulated trading platform: configuration and operation — Configuration and Startup
Risk control and order lifecycle — Risk Control and Order Status
Product list and troubleshooting — Artifacts and Troubleshooting (Recommended to read before Broker integration)
Brokerage Adaptation Layer and Integration — Brokerage Adaptation (Advanced)
XtQuant / MiniQMT Broker Adapter Contract (v1) — XtQuant/MiniQMT 契约 v1(英文,协作必读)
Policy snapshots, access control activation, and long-term observability (5-A / 5-B / 5-C) — Policy snapshots and startup gates
Simulated live trading manual smoke generation solution (live_grid_multi) — Manual Smoke Checklist
CLI vs. Trader Comparison Table — CLI Capability Comparison Table
- Overview of the simulated live trading module
- Simulated trading platform: configuration and operation
- Risk control and order lifecycle
- Product list and troubleshooting
- Brokerage Adaptation Layer and Integration
- XtQuant / MiniQMT Broker Adapter Contract (v1)
- Policy snapshots, access control activation, and long-term observability (5-A / 5-B / 5-C)
- Simulated live trading manual smoke generation solution (live_grid_multi)
- CLI vs. Trader Comparison Table