QGTM Gold/Silver Trading System -- Tutorial Guide
From system overview to live gold/silver trading. Written for two audiences: OpA (quant owner) and OpB (smart non-trader partner).
Learning Path
START HERE
|
v
+-------------------+
| 0. SYSTEM AT A | 29 strategies, architecture,
| GLANCE (8 min) | dashboard in 30 seconds.
+--------+----------+
|
v
+-------------------+
| 1. PM PRIMER | Why gold/silver, real rates,
| (15 min) | gold/silver ratio, COMEX.
+--------+----------+
|
v
+-------------------+
| 2. PM VEHICLES | GLD vs IAU, miners, leveraged,
| (14 min) | futures vs ETFs, options.
+--------+----------+
|
v
+-------------------+
| 3. OUR UNIVERSE | 20 instruments, 7 sectors,
| (14 min) | 3 liquidity tiers, FRED.
+--------+----------+
|
+-------------+-------------+
| | |
v v v
+---------------+ +------------+ +---------------+
| 4. ALGO | | 5. 29 | | 6. PM RISK |
| PIPELINE | | STRATEGIES | | MANAGEMENT |
| (18 min) | | (30 min) | | (22 min) |
| | | | | |
| 8-stage flow | | Macro, | | Kill switch, |
| worked Real | | carry, | | compliance, |
| Rate Gold | | arb, ML | | CVaR, stress |
| example | | meta, ... | | scenarios |
+-------+-------+ +------+-----+ +-------+-------+
| | |
+----------------+--------------+
|
+-------------+-------------+
| | |
v v v
+---------------+ +------------+ +---------------+
| 7. DATA EDGE | | 8. SYSTEM | | 9. OPERATING |
| (20 min) | | ARCH | | THE SYSTEM |
| | | (18 min) | | (20 min) |
| LBMA, COMEX, | | | | |
| COT, FRED, | | 14 packages| | Daemon boot, |
| alt data, PIT | | self-learn | | Grafana, ops |
+-------+-------+ +------+-----+ +-------+-------+
| | |
+----------------+--------------+
|
v
+-------------------+
| 10. SIGNAL | Aggregation, regime
| PIPELINE (22 min) | allocation, compliance.
+--------+----------+
|
v
+-------------------+
| 11. GLOSSARY | PM-specific terms,
| Reference | organized by domain.
+-------------------+
Chapters
| # | Chapter | What You Will Learn | Time |
|---|---|---|---|
| 0 | System at a Glance | Architecture, universe, dashboard, key numbers | 8 min |
| 1 | Precious Metals Primer | Why gold/silver, macro drivers, physical markets, futures | 15 min |
| 2 | PM Vehicles | GLD vs IAU, miners, leveraged, futures vs ETFs, options | 14 min |
| 3 | Our PM Universe | 20 instruments, 7 sectors, liquidity tiers, cross-asset inputs | 14 min |
| 4 | How Algo Trading Works | 8-stage pipeline, worked Real Rate Gold example, self-learning | 18 min |
| 5 | 29 Gold/Silver Strategies | All 29 strategies across 8 categories | 30 min |
| 6 | PM Risk Management | Kill switch, compliance, EVT/CVaR, stress scenarios | 22 min |
| 7 | Our Data Edge | LBMA, COMEX, COT, FRED, alt data, PIT enforcement | 20 min |
| 8 | System Architecture | 14 Python packages, signal pipeline, self-learning, audit | 18 min |
| 9 | Operating the System | Daemon boot, Grafana dashboards, kill-switch protocol | 20 min |
| 10 | The Signal Pipeline | Aggregation, regime allocation, vol targeting, vehicle routing | 22 min |
| 11 | Glossary | PM-specific terms organized by domain | Reference |
Total reading time: ~3.5 hours for the full guide.
Choose Your Path
| Your Background | Start Here | Skip To | Estimated Time |
|---|---|---|---|
| Brand new to everything | Chapter 1 | Read in order | ~4 hours |
| Know finance, not coding | Chapter 1 (skim) | Focus on Chapters 8-9 | ~2.5 hours |
| Know coding, not finance | Chapter 1 | Skip to Chapter 4 after Chapter 3 | ~3 hours |
| Just want to run it | Chapter 9 | Then Chapters 7-8 for context | ~1.5 hours |
| Evaluating the business | Chapter 10 | Then Chapters 5-6 for substance | ~1.5 hours |
| Confused by a term | Glossary | Search (Cmd+F) for the term | 1 min |
Prerequisites
To understand the tutorial: Nothing. Zero background required.
To run the platform (Chapter 9): A computer with 4+ GB RAM, internet, and the ability to install software.
To modify the code: Basic Python or TypeScript knowledge. The tutorial won't teach you to code, but it will teach you what the code does and why.
Questions? Open an issue on the GitHub repo or ask in our Discord #general channel.