Examples
Runnable scripts in examples/ (own environment, brings in Plots + a backend): julia --project=examples examples/<name>.jl.
Strategy basics
sma_crossover.jl— the SMA10/SMA20 crossover strategy from the Tutorial.buy_and_hold.jl— a minimal strategy with an emptynext, buying once and holding.
Broker mechanics (no Strategy/Backtest)
limit_stop.jl— limit/stop order mechanics and partial fills via theBrokerAPI directly.margin.jl— margin/leverage/liquidation mechanics via theBrokerAPI directly.
Multi-asset / factor research
pca_residual.jl— rolling residual PCA on a small 3-asset universe.momentum_vol.jl— a momentum/volatility strategy over a 10-asset universe.option_wheel.jl— a systematic put-selling wheel strategy on dividend stocks.
Tooling
batch_sweep.jl— threaded parameter sweep viabatch_backtest.dataframes.jl— exporting a backtest's trades/positions/equity/cashflows tables toDataFrames.