TradeViora AcademyLearn. Analyze. Practice. Trade Smarter.
Menu

FREE FINANCIAL EDUCATION

Execution-aware strategy research lab

Compare three explicit rule families with next-open execution, costs, a chronological split and marked-to-market risk.

Define an experiment

Choose a hypothesis before looking at its test result. Trend: close above the previous n-close average. Momentum: close-to-close change over n observations above a threshold. Reversion: close below the previous n-close average by a threshold. Signals are known only at the bar close and act at the next bar open. Positions are one unit long or flat; this is a research exercise, not an order connection.

Choose observations

Required columns: date, open, high, low, close. Dates are unique ascending ISO calendar dates. Values must be positive and each bar's high/low must contain its open and close. Extra columns are ignored; quoted or comma-formatted numbers are not supported.

Evaluate the result

Run an experiment to calculate results.
Test-period executions

Practice protocol

  1. Write the rule and parameter choice before running it. Treat the first segment as development data.
  2. Freeze the parameters, inspect the later segment once, and record the outcome even if it is disappointing.
  3. Compare zero-cost and realistic-cost runs. A costly version of the same fill path cannot create extra net profit.
  4. Inspect open-position drawdown as well as closed-trade P&L. A one-unit cash account can show small percentage returns because much cash stays idle.
  5. Changing parameters after seeing the later segment turns it into development data. Use another untouched period for a genuine evaluation.

Assumptions that limit interpretation

The split is a teaching aid, not automatic walk-forward optimization. Training history can warm up test indicators, but no pending training trade enters the test account. Each segment is independently funded and starts flat. The final position is liquidated at the last close with costs. No intraday stops, shorts, interest, dividends, tax, margin, lot constraints or volume limits are simulated. Daily close equity can miss intraday drawdowns. Historical reference-rate CSVs are not OHLC data and cannot be silently converted into trading bars.

Inspect runnable Python implementations · Use the original crossover backtest · Record your experiment in the local journal