TAYU Academy course material · Trading Data Analysis
Text walkthrough
Calculating core metrics
A self-paced text walkthrough, without video or audio. See the article below for worked examples and materials.
Course Notes
1. Understand the core idea of “Calculating core metrics” and explain it in your own words
2. Master this module's focus: Performance metrics
3. Complete the assignment on your own and check it against the reference answer
First, clarify the net fees and round-trip trading definitions. Win rate, average R, PF, and maximum drawdown require their own inputs. A single trading table may not be sufficient to obtain equity drawdown including floating P/L.
Common metrics: net P/L, win rate (state how breakeven trades are counted), reward-to-risk ratio, profit factor (gross profit ÷ gross loss), expectancy, maximum drawdown (measured from the equity peak), and Sharpe ratio (state the calculation frequency and risk-free rate assumption).
Example: total profits of $2,500 and total losses of $1,500 give a profit factor of 1.67; the maximum drawdown from an equity peak of $12,000 down to $10,800 is 10%.
Net settlement reconciliation → split by positive and negative → calculate win rate/mean/PF → calculate drawdown from equity path → list missing items, do not force fill numbers.
Net result +100, -50, +50, -100 USD, calculate win rate, mean, PF; can this be used to precisely calculate drawdown in the equity of the trading account?
50%, 0 USD, PF1; Net results for only four trades cannot determine mid-market floating losses, and precise equity drawdown cannot be obtained. An appropriate valuation path is required.
Equity sequence: 100, -50, 0, 150, -100, total 100, positive profit 250, absolute negative profit 150, PF=1.6667. Break-even rate 40%, rank break-even 50%. Initial 1,000, calculate equity sequentially according to the cash sequence, peak to 1,200, retracement 8.3333% to 1,100.
Annualising a Sharpe ratio must not treat each trade as a day without explanation; a small sample should not be described as certified stability.
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. State how each metric is defined
2. Drawdown is measured from the equity peak
3. Metrics are unstable when the sample is too small
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.
Key Takeaways
Completion records your own study, not verified competence. Exercises use fictional data; no real account or deposit is required.