Skip to content

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.

Quant Q&A
20,364 documents
SuperMind
12,226 documents
OKX Learn
8,431 documents
Strategy library
7,910 documents
MQL5 code base
7,090 documents
BigQuant
3,481 documents
Bitget Academy
3,298 documents
MQL5 articles
3,012 documents
TradingView scripts
1,976 documents
ProRealCode
1,507 documents
Deribit Insights
1,232 documents
Machine Learning for Trading
1,124 documents
arXiv papers
1,033 documents
Amberdata research
766 documents
FMZ forum
682 documents
FMZ digest
662 documents
vn.py community
560 documents
QuantInsti blog
511 documents
Galaxy Research
340 documents
QuantStart
246 documents
Stratmill research code
219 documents
Robot Wealth
195 documents
NautilusTrader
191 documents
Hummingbot docs
181 documents
Paradigm research
175 documents
Lumibot
164 documents
Kraken Learn
163 documents
Quant course library
157 documents
OctoBot
152 documents
Cryptohopper blog
144 documents
Systematic trading blog (Rob Carver)
132 documents
Qlib
116 documents
TqSdk
86 documents
Quantpedia
86 documents
Hyperliquid docs
79 documents
Freqtrade
68 documents
Hudson & Thames
62 documents
Awesome Systematic Trading
61 documents
backtrader
54 documents
vn.py
50 documents
Binance API docs
45 documents
Quantopian lectures
45 documents
FMZ guides
38 documents
pysystemtrade
34 documents
Freqtrade docs
32 documents
quant-trading
31 documents
FinRL
28 documents
Zipline
22 documents
FMZ live strategies
21 documents
Jesse
17 documents
pyfolio
16 documents
Alphalens
14 documents
WonderTrader
14 documents
backtesting.py
11 documents
Technical Analysis
9 documents
QTPyLib
8 documents
QuantRocket
7 documents
Lumibot strategies
7 documents
Awesome Quant
1 documents

Search the library

16,761 documents

Quant Q&A

The document asks how to value a discretely sampled arithmetic Asian option at an intermediate time using Monte Carlo simulation. It gives a simplified setup with three observation dates, zero interest rate, zero strike, and a single simulated path. At the…

OptionsDerivatives pricingBacktesting
Quant Q&A

The document examines how to calculate daily performance for a long-short portfolio with equal capital allocated to each side. It defines each asset’s simple daily return from consecutive closing prices, then combines the long return and short return by…

EquitiesStatisticsPortfolio constructionBacktesting
Quant Q&A

The document concerns an error encountered when running a rebalancing optimization in R’s PortfolioAnalytics package. The example uses monthly return data, long-only, full-investment, and box constraints, with risk and return objectives. A non-rebalancing…

Portfolio constructionBacktesting
Quant Q&A

The discussion considers how to obtain timestamped news for research linking Forex price series to news releases, especially when professional machine-readable feeds are costly. Suggestions include collecting headlines from websites, parsing RSS or Atom…

ForexSentimentMachine learningBacktesting
Quant Q&A

The document collects practical ways for a small trading operation to reduce exposure of proprietary data, code, indicators, and strategy parameters when hiring a quant. Suggested controls include limiting access to only the resources needed, separating…

Risk managementBacktestingEquities
Quant Q&A

The document asks whether financial institutions use GARCH models in risk systems that calculate expected shortfall. It cites a practical primer by an author whose listed affiliations include a bank, as an example of practitioner-oriented discussion. The…

Risk managementVolatilityStatisticsBacktesting
Quant Q&A

The document considers how to estimate a portfolio’s return distribution for an expected shortfall constraint when only a limited history of asset returns is available. It questions whether a normal approximation based on the central limit theorem is…

Portfolio constructionRisk managementStatisticsBacktesting
Quant Q&A

The document addresses how to find long historical series of nonfinancial measurements for testing correlations with a financial analysis or trading algorithm. It suggests looking at unusual public datasets and gives examples of possible sources, including…

BacktestingStatisticsMachine learning
Quant Q&A

The document describes a volatility pattern in monthly electricity futures that changes as the delivery month progresses. Because electricity is delivered throughout the month, the contract price converges toward the monthly average as delivery unfolds. The…

FuturesCommoditiesVolatilityStatistics
Quant Q&A

The discussion distinguishes geometric-average and arithmetic-average Asian options under the Heston stochastic volatility model. It reports that a closed-form pricing formula is available for the geometric Asian option, while an analogous closed form is not…

OptionsDerivatives pricingVolatilityBacktesting
Quant Q&A

The document describes an attempt to estimate hedge fund alpha using the Fung-Hsieh seven-factor model. The proposed analyses include a pooled estimate across funds and annual estimates, using monthly after-fee excess returns as the dependent variable and…

Factor investingStatisticsBacktesting
Quant Q&A

The document discusses how to simulate a stock’s future value over annual periods. Its clearest practical point appears in the second answer: if the modeled random variable is a log return, exponentiating that draw and multiplying by the starting price…

EquitiesStatisticsBacktesting
Quant Q&A

The document compares Interactive Brokers demo and personal paper-trading accounts for testing Trader Workstation API applications. Demo accounts provide simulated data and can help check connectivity or exercise account types, but the answers describe…

ExecutionMarket microstructureBacktestingFutures
Quant Q&A

The document discusses ways to improve finite difference methods for solving the Black-Scholes equation, with attention to accuracy, speed, and stability. Its main recommendation is to transform the equation into the heat equation, which has simpler…

OptionsDerivatives pricingStatisticsBacktesting
Quant Q&A

The document reports a numerical comparison between an adjusted Kirk approximation and the Bjerksund–Stensland spread option model. The author implements both formulas, adds a weight for the second spread leg, and includes call and put calculations. Across…

OptionsDerivatives pricingBacktestingStatistics
Quant Q&A

The document separates machine learning used to approximate an already computed option pricing function from methods that learn both a claim’s value and its optimal hedge. For fast pricing, a model is trained on examples generated by slower numerical pricing…

OptionsMachine learningDerivatives pricingBacktesting
Quant Q&A

The document considers whether historical futures data from one crypto exchange can support backtests for a strategy traded on another. The motivating issue is a change in listed contracts that leaves little history for the replacement market, prompting the…

CryptoFuturesBacktestingExecution
Quant Q&A

The document presents an attempt to forecast VIX using a constant-mean GARCH(1,1) model fitted to daily log changes in the VIX. It shows a historical sample, a training cutoff, a multi-step forecast, and forecasted conditional variances across dates and…

VolatilityEquitiesBacktestingStatistics
Quant Q&A

The document raises a measurement question about calculating Sharpe ratios from a vectorized backtest. Its example constructs a strategy-return series by retaining bar-to-bar log returns only between an entry and an exit, while recording zero returns outside…

BacktestingStatisticsRisk management
Quant Q&A

The document frames portfolio construction as choosing weights across return series to maximize the Sharpe ratio, defined in the question as average portfolio return divided by its standard deviation. It provides a small sample return matrix and a CVXPY…

Portfolio constructionStatisticsRisk managementBacktesting
Quant Q&A

The document reviews an R workflow for fitting an ARMA mean and a GARCH(1,1) volatility model with a skewed Student distribution, then calculating value at risk for two return series. Its response clarifies that the quantile of fitted model results…

Risk managementVolatilityStatisticsBacktesting
Quant Q&A

The document discusses using Empirical Mode Decomposition (EMD) of EUR/USD prices as input to a machine learning model. It addresses a discrepancy between promising test-period results and poor predictions on the latest observation. The proposed explanation…

ForexMachine learningBacktestingStatistics
Quant Q&A

The document explains why a geometric Brownian motion simulation can appear to rise consistently when its drift is strongly positive. Applying Itô’s lemma to the GBM model shows that the log return over a fixed horizon is normally distributed, so the price…

StatisticsEquitiesBacktesting