The document examines whether a short position’s log return can be represented by negating the underlying asset’s log return. For prices at two times, that operation reverses the log price ratio, and summing such increments gives a cumulative change in the…
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
21,023 documents
The document derives an implied risk-free rate from European put–call parity. Starting from the relation between a call, a put, spot, and the discounted strike, it rearranges the equation to solve for the annualized rate using the option prices, strike, spot…
The document compares several proposed ways to calculate the information ratio from daily portfolio and benchmark returns. It explains that the ex post measure uses average active return—the portfolio’s mean return minus the benchmark’s mean return—divided…
The document asks whether currency forwards that satisfy SABR dynamics individually will retain that form when combined through an FX triangle. Treating the cross rate as the product of two diffusion processes, the answer derives restrictions from matching…
The document examines whether a Hurst exponent above 0.5 can justify shorting crypto futures after prices have fallen. The author estimates the exponent from 1,025 hourly mark-price observations for four Binance trading pairs and reports values around 0.62.…
The document explains why geometric Brownian motion parameters can be confusing: arithmetic returns and log returns are calculated differently, and the same distinction affects how a price process is modeled. A price path that falls and then recovers can…
The document asks how to interpret a return adjustment formula used to determine the market risk measure class for Category 3 PRIIP products under European regulation. The specific uncertainty concerns the risk-neutral and measured expected-return terms, as…
The document questions whether standard GARCH models adequately describe one-minute Bitcoin returns. The sample is characterized by frequent zero returns, low return magnitudes, and apparent microstructure noise; the author also reports that squared…
The document maps common financial modeling tasks to Python's scientific and finance ecosystem for someone moving from Matlab. It groups tools by purpose: portfolio optimization and risk analytics, instrument pricing, time series analysis, technical…
The document asks how to evaluate predictions of asset returns when matching the sign of each forecast to the realized return matters more than explaining return magnitude. It gives a small example where ordinary least squares has low explanatory power,…
The discussion compares factor-based portfolio construction with mean-variance optimization. Factor models can forecast expected returns and represent covariance risk; portfolio constraints can also control exposure to factors, sectors, or individual…
The document discusses estimating default probability with the Merton structural credit model from monthly equity returns, a risk-free rate, equity value, and debt face value. It outlines a workflow that converts prices to log returns, estimates return…
The document investigates why an American call’s market ask price cannot be reconciled with an implied volatility calculation using RQuantLib, while Yahoo Finance reports a volatility estimate. The author compares the market quote with model prices and…
The document raises a pairs-trading question about estimating hedge ratios with rolling ordinary least squares on two stocks’ log returns. The author observes that when the stocks have very different share prices, the estimated ratio can still be near zero…
The document defines a European barrier call whose payoff depends on the asset finishing above the strike and staying above a lower barrier at specified observation times. It asks how to estimate its discounted risk-neutral value by Monte Carlo simulation…
The document compares database options for storing large financial tick datasets and aggregating them into open, high, low, and close bars. It reports an initial test in which InfluxDB was slower than MySQL for one-minute bar creation on a dataset of around…
The document asks how to give one variable more influence when calculating multivariate normal probability densities for observations relative to a specified mean. It describes a four-variable example using an identity covariance matrix, reports density…
The document considers how subtracting a return average or a benchmark return changes beta, correlation, and covariance calculated from daily log returns. Its answer says that subtracting the same average from each series does not alter these measures.…
The document explains why the accrual factor appears when normal swap rate volatility and correlation are mapped into a lognormal volatility parameter in a one-factor CMS model. Define the transformed rate as one plus the accrual factor times the swap rate.…
The document considers whether to annualize monthly returns before applying CAPM after estimating a stock’s beta from monthly observations against a market index. Its guidance is to choose the frequency at which the model will be used first, then estimate…
The document frames a question about whether VIX is a martingale when the S&P 500 follows a Gaussian diffusion. It defines squared VIX for a fixed tenor as the risk-neutral expectation of average integrated variance over the tenor. It then applies the…
The document derives asset betas relative to a risk parity portfolio from asset volatilities and the correlation matrix. Risk parity is defined here as weights whose products with their respective volatilities are equal, with weights normalized to sum to…
The document addresses whether the Sharpe ratio should use discrete returns or continuously compounded returns. Its answer distinguishes the context: discrete returns are customary for client reporting, while the choice generally has little impact in a…
The document asks whether the standard deviation of a time series minus its exponential moving average can be determined from the series’ standard deviation and the EMA smoothing parameter alone. The author observes that the residual spread tends toward the…