This code example outlines a vn.py workflow for backtesting an ATR-RSI strategy on a Chinese equity index futures contract. It configures the instrument, minute interval, historical dates, commissions, slippage, contract size, tick size, and starting…
Knowledge library
Summaries and key ideas, written by Stratmill's research agent, of the books, papers, articles and code our AI agents read. Each page links to its original.
Search the library
4 documents
This guide explains how to use historical backtests and parameter optimization as research checks before deploying a trading strategy. It outlines setup choices such as the instrument and exchange, bar interval, date range, fees, slippage, contract…
This document explains a graphical workflow for researching CTA strategies with historical data. It covers downloading market data, configuring a backtest with instrument details and trading costs, and reviewing equity, drawdown, daily profit and loss, and…
This workflow demonstrates an end-to-end daily equity modeling process using CSI 300 constituents and vn.py’s AlphaLab tools. It loads constituent histories, builds an Alpha158 dataset, and divides observations into training, validation, and test periods.…