TAYU Academy course material · Python Quant Trading Lab
Course Notes
1. Understand the core idea of “Quant project delivery” and explain it in your own words
2. Master this module's focus: Research engine and interface boundary
3. Complete the assignment on your own and check it against the reference answer
Quantifying projects should allow another person to reproduce without an account or verbal explanation. Dependencies, commands, inputs, outputs, and failure boundaries all belong to the content, not just one profit curve.
From research to execution, layers need to be defined: data adapter, signal, risk control, and execution. Data is passed between these layers through clear interfaces. This course only conducts offline research and does not connect to real accounts; any automated trading requires additional risk control approval and simulation validation.
Example: The signal module outputs "EURUSD target position 0.2 lot", and the risk control module checks the total exposure and daily loss limit before passing it to the execution module; in this lesson, the execution module only logs and does not place orders.
Organize README/requirements/CSV/scripts → record version → run self-check → compare against expectations → write items not verified → archive locally.
Submit a reproducible materials list and a summary of run results, including evidence that at least one bad input was rejected.
Commands, data hashes, parameters, cleaned count, order and cost, error reasons, and limitations must be included. Dependencies that are missing or not run should be noted, and files existing should not be used to replace running.
Local engine reads the same synthetic CSV file, first generating past window features, then lagging the signal by one period for studying yield in the next timeframe. It also adds cost calculation based on turnover, outputting the equity before and after costs and drawdown. Changing the terminal to a simulated matching engine should not alter the feature calculation.
Keys should not be outputted in the browser or notebook; successful offline does not prove a real platform connection or successful trades.
The script covers data cleaning, a traceable next-open simulation, and equity and risk arithmetic. It is not a production trading engine; the hand calculations and report tasks for this lesson still have to be done independently.
python research_lab.py --self-test
python research_lab.py --output academy-results1. Separate research, risk control and execution
2. Clear interfaces make testing easier
3. This lesson does not connect to a real account
Risk warning: leveraged trading in forex, precious metals and similar products carries a high level of risk and you may lose all of your capital, or more. This course is for education only. It is not investment advice and does not promise any return. Example prices and contract specifications are teaching assumptions; always use what your own platform discloses. Past performance and backtests do not indicate future results.
All values, prices, accounts and cases in this course are teaching assumptions; the fixed materials can be reproduced offline. Marking a lesson complete only records your study. It is not a certification, a service approval or a promise of returns. Workbooks and answer files are currently provided in Chinese.
Quantifying projects should allow another person to reproduce without an account or verbal explanation. Dependencies, commands, inputs, outputs, and failure boundaries all belong to the content, not just one profit curve.
Record your work and compare the reference result. Self-checks are not verified competence.
Completion records your own study, not verified competence. Exercises use fictional data; no real account or deposit is required.