Learn
Validated RealTest 2.0 code syntax guides, survivorship-bias-free .rts backtest templates, IBKR OrderClerk workflows, and systematic trading references.
RealTest StatsGroup, Capital Allocation, and Live Strategy Correlation Matrix Code
Use RealTest's StatsGroup section with Using and MaxExposure to track and cap subsets of strategies together (such as...
Margin, IBKR Reg-T vs Portfolio Margin, MaxInvested, and MinFreeCash in RealTest
Model cash cushions, IBKR Reg-T overnight margin (150 percent), and Portfolio Margin (200 percent) realistically in R...
IBKR Live Execution in RealTest Using NextClose MOC, CloseSlip, and MarkToMarket False
Model Interactive Brokers Market-on-Close orders honestly in RealTest using EntryTime NextClose paired with CloseSlip...
Coding Laurens Bensdorp, Larry Connors, and Nick Radge Book Strategies in RealTest
Code textbook Larry Connors Double 7s, Laurens Bensdorp momentum trend, and short-term RSI(3) pullback strategies cle...
Overnight Gaps, Turnaround Tuesday, and Turn-of-Month Calendar Edges in RealTest
Code calendar and seasonal anomalies in RealTest using DayOfWeek (where Monday equals 1 through Friday equals 5), Day...
RealTest Mac, Parallels, VPS, RAM, and Speed Optimization Guide (64-Byte Engine Math)
RealTest is a native 64-bit Windows C++ application that runs cleanly on Windows PCs, Windows VPS servers, and Macs v...
TradeStation EasyLanguage to RealTest Conversion Guide (Exact Syntax Translation)
Converting TradeStation EasyLanguage strategies to RealTest 2.0 maps imperative chart instructions (Average, Highest,...
Futures Backtesting in RealTest (PointValue, FuturesMargin, TickSize, and CSI Rollover)
To backtest futures accurately in RealTest 2.0, import contract specs (PointValue, TickSize, Margin) automatically fr...
Volatility Targeting, Risk Parity, and Keller DAA / VAA Allocation in RealTest
To build inverse-volatility risk parity or Wouter Keller's Defensive Asset Allocation (DAA / VAA) cleanly in RealTest...
Partial Exits and Scaling Out in RealTest Using ExitQty, ExitLimitQty, FillQty, and ExitNum
To scale out cleanly in RealTest without accidentally shrinking every tranche geometrically or triggering repeated pa...
Crypto 24/7 Backtesting in RealTest (QtyRound 0, CalendarSym, SymRef, and Binance CSV)
Backtesting 24/7 crypto cleanly in RealTest requires four syntax rules that trip up equity traders. Set QtyRound 0 so...
Python Pandas and Backtrader to RealTest Code Guide (Speed, Fills, and Syntax)
Porting Python Pandas or Backtrader strategies to RealTest replaces hundreds of lines of corporate-action joins, manu...
TradingView Pine Script to RealTest Migration Guide (Exact Syntax Translation)
Translating TradingView Pine Script v5 into RealTest 2.0 replaces bar-by-bar single-chart calls (ta.ema, ta.highest, ...
Dividends, Stock Splits, Multi-Currency FX, and CashInOut Accounting in RealTest
RealTest stores historical prices unadjusted and applies split or TotalReturn dividend adjustments dynamically on loo...
CSV Data Import, Extra Fundamental Columns, and TradeList Playback in RealTest
Import custom CSV files with fundamental or alternative columns in RealTest using DataSource CSV, CSVFields ending wi...
VIX Regime Filtering and Dynamic Position Sizing in RealTest Using Extern($$VIX, C)
Because Norgate Data names the volatility index $VIX (with a leading dollar sign) and RealTest uses $ as its symbol-l...
Weekly Trend Following in RealTest (BarSize Weekly, Clenow Momentum, and Pullbacks)
Setting BarSize Weekly in RealTest automatically builds weekly OHLCV bars from your daily .rtd file so every indicato...
Custom Results Columns (CAGR, Sortino, Ulcer Index) and Benchmarks in RealTest
Customize RealTest's Results table directly inside any script by adding a Results section with exact S.TWEQ, S.NetPct...
Walk-Forward Optimization and Monte Carlo Testing in RealTest (Validated Syntax)
RealTest runs walk-forward optimization natively inside OptimizeSettings using OptWalkForward True, OptTestLength (in...
Sector and Industry Exposure Caps in RealTest Using InfoTRBC, MaxSameCat, and MaxCatExp
To cap sector concentration in RealTest, extract the 2-digit economic sector code via Top(InfoTRBC, 2) or Top(InfoGIC...