CODING CHALLENGES

代码题库

用接近 LeetCode 的题表进入训练:先筛选题目,再进入双栏题面和编辑器。每道题只展示它实际声明支持的语言。

继续刷题

题目列表

显示 326 / 646 道可提交题。 当前筛选:标签:Numerical Methods,语言:Rust

提交状态:未尝试未正确已正确
未尝试
coding-add-binary-strings可练习
二进制字符串相加

Add Two Binary Strings

简单免费版Python / C++ / Rust
未尝试
coding-alpha-blending-shrinkage订阅锁定
两路 alpha 的收缩融合并 z-score 标准化

Shrinkage Blend of Two Alpha Sources with Z-Score Normalization

中等面试准备Python / C++ / Rust
未尝试
coding-american-mc-longstaff-schwartz订阅锁定
American Put Pricing via Longstaff-Schwartz Least-Squares Monte Carlo

American Put Pricing via Longstaff-Schwartz Least-Squares Monte Carlo

困难面试准备Python / C++ / Rust
未尝试
coding-antithetic-variates-variance-reduction订阅锁定
对偶变量法的方差缩减比

Antithetic Variates Variance Reduction

困难面试准备Python / C++ / Rust
未尝试
coding-arrival-vs-vwap-shortfall订阅锁定
Dual-Benchmark IS — Arrival Price vs Interval VWAP

Dual-Benchmark IS — Arrival Price vs Interval VWAP

中等面试准备Python / C++ / Rust
未尝试
coding-asian-call-arithmetic-mean订阅锁定
算术平均亚式看涨期权的蒙特卡洛定价(含对偶变量法)

Arithmetic-average Asian Call MC Pricing with Antithetic Variates

中等面试准备Python / C++ / Rust
未尝试
coding-asian-geometric-mean-call订阅锁定
几何平均亚式看涨期权的 Black-Scholes 闭式定价

Geometric-average Asian Call: Closed-form Black-Scholes Pricing

中等面试准备Python / C++ / Rust
未尝试
coding-asset-beta-to-benchmark-portfolio订阅锁定
资产对基准组合的逐资产 Beta

Per-Asset Beta to a Benchmark Portfolio

中等面试准备Python / C++ / Rust
未尝试
coding-bachelier-implied-vol订阅锁定
Bachelier (正态) 模型下从看涨期权报价反推隐含波动率

Bachelier (Normal) Implied Vol from a Quoted Call

中等面试准备Python / C++ / Rust
未尝试
coding-bar-period-lcm-mod可练习
多源 Bar 同步周期:bar 长度数组的 LCM 取模

Multi-Feed Bar-Sync Period: LCM Modulo p

中等免费版Python / C++ / Rust
未尝试
coding-barrier-up-and-out-call订阅锁定
向上敲出障碍看涨期权的蒙特卡洛定价(日度监测)

Up-and-out Barrier Call MC Pricing with Daily Monitoring

中等面试准备Python / C++ / Rust
未尝试
coding-basel-output-floor-phase-in-schedule可练习
Basel III 产出底线:分阶段过渡期资本要求向量

Basel III Output Floor — Capital Requirement Across Phase-In Schedule

中等免费版Python / C++ / Rust
未尝试
coding-basel-rwa-irb-formula订阅锁定
Basel IRB Risk-Weighted Asset for a Corporate Exposure

Basel IRB Risk-Weighted Asset for a Corporate Exposure

中等面试准备Python / C++ / Rust
未尝试
coding-basel-traffic-light-zones订阅锁定
Basel VaR Backtest Traffic-Light Zones

Basel VaR Backtest Traffic-Light Zones

简单面试准备Python / C++ / Rust
未尝试
coding-basel-var-traffic-light-zone-and-multiplier可练习
Basel VaR 回溯检验:红绿灯分区与资本乘子加成

Basel VaR Backtest — Traffic-Light Zone and Capital Multiplier Add-On

中等免费版Python / C++ / Rust
未尝试
coding-bilateral-cva-and-dva可练习
独立性假设下的双边 CVA 与 DVA:两条折现时间剖面求和

Bilateral CVA and DVA Under Independence: Two Discounted Time-Profile Sums

中等免费版Python / C++ / Rust
未尝试
coding-binomial-american-put订阅锁定
美式看跌期权的 CRR 二叉树定价

CRR Binomial Tree for an American Put

中等面试准备Python / C++ / Rust
未尝试
coding-binomial-credit-loss-var-uniform-pd订阅锁定
同质化组合(均匀 PD)信用损失 VaR 的解析二项法

Analytical Binomial Credit-Loss VaR for a Uniform-PD Homogeneous Portfolio

中等面试准备Python / C++ / Rust
未尝试
coding-binomial-tree-european-call订阅锁定
欧式看涨期权的 CRR 二叉树定价

CRR Binomial Tree for a European Call

中等面试准备Python / C++ / Rust
未尝试中等面试准备Python / C++ / Rust
未尝试
coding-bitmask-position-flags可练习
持仓属性位掩码查询

Per-Position Flag Bitmask Queries

简单免费版Python / C++ / Rust
未尝试
coding-bond-convexity订阅锁定
固定票息债券的凸性

Convexity of a Fixed-Coupon Bond

中等面试准备Python / C++ / Rust
未尝试
coding-bond-modified-duration订阅锁定
固定票息债券的修正久期

Modified Duration of a Fixed-Coupon Bond

中等面试准备Python / C++ / Rust
未尝试
coding-bond-modified-duration-curve订阅锁定
离散零息曲线下的修正久期

Modified Duration on a Discrete Zero Curve

中等面试准备Python / C++ / Rust
未尝试
coding-bond-portfolio-key-rate-duration-hedge订阅锁定
Bond Portfolio Key-Rate Duration Hedge via Least Squares

Bond Portfolio Key-Rate Duration Hedge via Least Squares

困难面试准备Python / C++ / Rust
未尝试
coding-bond-yield-to-maturity订阅锁定
固定票息债券的连续复利到期收益率

Continuous-Compounded Yield-to-Maturity for a Fixed-Coupon Bond

中等面试准备Python / C++ / Rust
未尝试
coding-bond-ytm-bisect可练习
固定利率附息债券的周期到期收益率:单调递减下的二分求根

Periodic Yield To Maturity of a Fixed-Rate Coupon Bond via Bisection

中等免费版Python / C++ / Rust
未尝试
coding-box-muller-uniform-to-normal-pairs可练习
Box-Muller:把均匀对转成标准正态对

Box-Muller: Uniform Pairs to Standard-Normal Pairs

中等免费版Python / C++ / Rust
未尝试
coding-brinson-attribution-three-effects订阅锁定
Brinson-Hood-Beebower 三效应归因

Brinson-Hood-Beebower Three-Effect Attribution

中等面试准备Python / C++ / Rust
未尝试
coding-brownian-bridge-min-prob订阅锁定
布朗桥运行最小值的存活概率

Brownian Bridge Running Minimum Survival Probability

中等面试准备Python / C++ / Rust
未尝试
coding-bs-delta-call-put-batch订阅锁定
Black-Scholes 批量 delta:看涨与看跌

Black-Scholes Delta for Batched Calls and Puts

中等面试准备Python / C++ / Rust
未尝试
coding-bs-european-call-put-batch订阅锁定
Black-Scholes 批量欧式看涨与看跌定价

Black-Scholes European Call and Put Pricing in Batch

中等面试准备Python / C++ / Rust
未尝试
coding-bs-gamma-vega-batch订阅锁定
Black-Scholes 批量 gamma 与 vega

Black-Scholes Gamma and Vega in Batch

中等面试准备Python / C++ / Rust
未尝试
coding-bs-implied-vol-newton订阅锁定
Black-Scholes 模型下从看涨/看跌期权报价反推隐含波动率(Newton-Raphson)

Black-Scholes Implied Vol from a Quoted Call or Put via Newton-Raphson

中等面试准备Python / C++ / Rust
未尝试
coding-bs-rho-batch订阅锁定
Black-Scholes 批量 rho:看涨与看跌

Black-Scholes Rho for Batched Calls and Puts

中等面试准备Python / C++ / Rust
未尝试
coding-bs-theta-batch订阅锁定
Black-Scholes 批量 theta:看涨与看跌

Black-Scholes Theta for Batched Calls and Puts

中等面试准备Python / C++ / Rust
未尝试
coding-butterfly-arbitrage-check订阅锁定
识别看涨期权行权价网格上的蝶式无套利违规

Detect Butterfly-Arbitrage Violations on a Call-Price Strike Grid

中等面试准备Python / C++ / Rust
未尝试
coding-calmar-ratio-annualized-return-over-mdd订阅锁定
Calmar 比率——年化收益与最大回撤

Calmar Ratio — Annualized Return over Maximum Drawdown

中等面试准备Python / C++ / Rust
未尝试
coding-capital-conservation-buffer-mda-factor可练习
资本留存缓冲:MDA 因子四分位表

Capital Conservation Buffer: MDA Factor Quartile Schedule

中等免费版Python / C++ / Rust
未尝试
coding-card-shuffle-bias-detection可练习
洗牌偏差检测:找出最被高估的排列

Card Shuffle Bias Detection

困难免费版Python / C++ / Rust
未尝试
coding-cash-or-nothing-digital-call订阅锁定
现金或无数字看涨期权的 Black-Scholes 闭式定价

Cash-or-Nothing Digital Call: Closed-form Black-Scholes Pricing

中等面试准备Python / C++ / Rust
未尝试
coding-cashflow-irr-bisect可练习
等距现金流的周期 IRR:标准项目假设下的二分求根

Periodic IRR of an Equally-Spaced Cashflow Stream Under the Standard-Project Assumption via Bisection

中等免费版Python / C++ / Rust
未尝试
coding-cds-curve-flat-hazard-survival-curve可练习
由 CDS 利差期限结构构造逐期限扁平 hazard 存活曲线

Per-Tenor Flat-Hazard Survival Curve from a CDS Spread Term Structure

中等免费版Python / C++ / Rust
未尝试
coding-cds-implied-default-prob订阅锁定
由 CDS 价差反推隐含违约概率

Implied Default Probability from a CDS Spread

简单面试准备Python / C++ / Rust
未尝试
coding-cds-implied-flat-hazard-cumulative-pd可练习
由 CDS 利差反推累计违约概率:信用三角近似

CDS-Implied Cumulative Default Probability via the Credit-Triangle Approximation

中等免费版Python / C++ / Rust
未尝试
coding-cds-par-spread-from-cumulative-pd可练习
由累计违约概率反推平价 CDS 利差:信用三角反向

Par CDS Spread Implied by a Cumulative Default Probability via the Inverse Credit Triangle

中等免费版Python / C++ / Rust
未尝试
coding-cds-upfront-fee-from-par-and-standard-coupon可练习
由平价利差、标准 coupon 与 risky PV01 计算 CDS upfront 费

CDS Upfront Fee from Par Spread, Standard Coupon, and Risky PV01

中等免费版Python / C++ / Rust
未尝试
coding-choueifaty-diversification-ratio订阅锁定
高斯组合的 Choueifaty 分散化比率

Choueifaty Diversification Ratio of a Gaussian Portfolio

中等面试准备Python / C++ / Rust
未尝试
coding-christoffersen-conditional-coverage-lr-cc可练习
Christoffersen 条件覆盖性 LR_cc 联合统计量:VaR 回溯检验

Christoffersen Conditional Coverage LR_cc Joint Statistic for VaR Backtesting

中等免费版Python / C++ / Rust
未尝试
coding-christoffersen-independence-lr-test可练习
Christoffersen LR_ind 独立性统计量:VaR 回溯检验

Christoffersen LR_ind Independence Statistic for VaR Backtesting

中等免费版Python / C++ / Rust
未尝试
coding-christoffersen-independence-test订阅锁定
Christoffersen 独立性检验(VaR 突破聚集)

Christoffersen Independence Test for VaR Breach Clustering

中等面试准备Python / C++ / Rust
未尝试
coding-cir-short-rate-mle订阅锁定
Cox-Ingersoll-Ross 短期利率模型在历史利率序列上的极大似然标定

CIR Short-Rate MLE Calibration on a Historical Series

困难面试准备Python / C++ / Rust
未尝试
coding-clayton-copula-sample订阅锁定
从 Clayton Copula 抽样

Sample from a Clayton Copula

中等面试准备Python / C++ / Rust
未尝试
coding-cliquet-call-mc订阅锁定
本地封顶 Cliquet 看涨期权的蒙特卡洛定价(含对偶变量法)

Locally-capped Cliquet Call MC Pricing with Antithetic Variates

中等面试准备Python / C++ / Rust
未尝试
coding-component-var-decomposition订阅锁定
Component VaR Decomposition (Euler Allocation)

Component VaR Decomposition (Euler Allocation)

中等面试准备Python / C++ / Rust
未尝试
coding-component-var-gaussian-portfolio订阅锁定
高斯组合的分量 VaR 分解

Component VaR Decomposition for a Gaussian Portfolio

中等面试准备Python / C++ / Rust
未尝试
coding-composite-factor-icir-weighted订阅锁定
基于 IC-IR 的三因子复合加权

IC-IR-Weighted Composite of Three Sub-Factors

中等面试准备Python / C++ / Rust
未尝试
coding-compound-poisson-aggregate-variance订阅锁定
操作风险 LDA 周期的复合泊松总损失方差

Compound-Poisson Aggregate-Loss Variance for an Operational-Risk LDA Period

中等面试准备Python / C++ / Rust
未尝试
coding-conditional-drawdown-at-risk订阅锁定
条件回撤风险

Conditional Drawdown at Risk

中等面试准备Python / C++ / Rust
未尝试
coding-conditional-scenario-tree-pnl-aggregation可练习
条件情景树的概率加权 PnL 聚合

Conditional Scenario-Tree Probability-Weighted PnL Aggregation

中等免费版Python / C++ / Rust
未尝试
coding-control-variate-european订阅锁定
欧式看涨 MC:几何亚式控制变量

European Call MC with Geometric-Asian Control Variate

中等面试准备Python / C++ / Rust
未尝试
coding-copula-tail-dependence订阅锁定
经验 Copula 尾依赖系数

Empirical Copula Tail-Dependence Coefficients

中等面试准备Python / C++ / Rust
未尝试
coding-cornish-fisher-var订阅锁定
Cornish-Fisher VaR

Cornish-Fisher VaR

中等面试准备Python / C++ / Rust
未尝试
coding-cornish-fisher-var-skew-kurtosis订阅锁定
Cornish-Fisher 偏度与超额峰度修正 VaR

Cornish-Fisher VaR Adjusted for Skewness and Excess Kurtosis

中等面试准备Python / C++ / Rust
未尝试中等面试准备Python / C++ / Rust
未尝试
coding-correlated-portfolio-var-from-standalone-vars订阅锁定
由分桌台 VaR 与损失相关矩阵聚合多桌台组合 VaR

Aggregate Multi-Desk VaR from Standalone VaRs and a Loss-Correlation Matrix

中等面试准备Python / C++ / Rust
未尝试
coding-correlated-shock-mc订阅锁定
相关因子冲击蒙特卡洛(压力 P&L)

Correlated Factor-Shock Monte-Carlo for Stress P&L

中等面试准备Python / C++ / Rust
未尝试
coding-credit-el-stress-pd-lgd-shocks可练习
信用预期损失:PD 与 LGD 乘性冲击下的压力测试

Credit Expected Loss under Multiplicative PD and LGD Stress Shocks

中等免费版Python / C++ / Rust
未尝试
coding-credit-portfolio-expected-loss订阅锁定
Credit Portfolio Expected Loss and Naive Unexpected Loss

Credit Portfolio Expected Loss and Naive Unexpected Loss

简单面试准备Python / C++ / Rust
未尝试
coding-credit-portfolio-hhi-and-effective-n可练习
信贷组合集中度:由对手方 EAD 计算 HHI 与有效对手方数

Credit Portfolio Concentration: HHI and Effective Number of Counterparties from Per-Obligor EAD

中等免费版Python / C++ / Rust
未尝试
coding-credit-portfolio-mc-loss-distribution订阅锁定
Credit Portfolio MC Loss Distribution (Single-Factor Gaussian Copula)

Credit Portfolio MC Loss Distribution (Single-Factor Gaussian Copula)

困难面试准备Python / C++ / Rust
未尝试
coding-cross-gamma-2d-shock-grid-pnl可练习
Cross-Gamma 2D Shock-Grid PnL via Bilinear-Quadratic Taylor

Cross-Gamma 2D Shock-Grid PnL via Bilinear-Quadratic Taylor

中等免费版Python / C++ / Rust
未尝试
coding-cross-gamma-pnl-attribution订阅锁定
Cross-Gamma 盈亏归因:双资产 Greek 分解

Cross-Gamma PnL Attribution: Two-Asset Greek Decomposition

中等面试准备Python / C++ / Rust
未尝试
coding-cross-sectional-demean订阅锁定
横截面 alpha 因子的去均值

Cross-Sectional Demean of an Alpha Factor

中等面试准备Python / C++ / Rust
未尝试
coding-cumulative-default-prob-from-marginal-hazard-rates可练习
从边际违约概率构造累计违约概率:期限结构合成

Cumulative Default Probability from Marginal Hazard Rates: Term-Structure Composition

中等免费版Python / C++ / Rust
未尝试
coding-cumulative-vwap-at-each-tick可练习
逐笔累计成交量加权均价

Cumulative VWAP at Each Tick

中等免费版Python / C++ / Rust
未尝试
coding-default-correlation-from-bivariate-normal-cdf可练习
由一因子高斯 Copula 的二元正态 CDF 计算两户违约相关系数

Pairwise Default Correlation from One-Factor Gaussian-Copula Bivariate-CDF Inputs

中等免费版Python / C++ / Rust
未尝试
coding-delta-finite-difference订阅锁定
撞击重定价:中心差分 delta

Bump-and-Revalue Finite-Difference Delta

中等面试准备Python / C++ / Rust
未尝试
coding-delta-rebalance-frequency-cost订阅锁定
离散 delta 对冲路径模拟(含交易成本)

Discrete Delta-Hedge Path Simulation with Transaction Costs

中等面试准备Python / C++ / Rust
未尝试
coding-diebold-mariano-pinball-comparison可练习
基于 Pinball 损失差分的 Diebold-Mariano 两 VaR 预测对比检验

Diebold-Mariano Test for Two VaR Forecasts via Pinball-Loss Differential

中等免费版Python / C++ / Rust
未尝试
coding-digital-cash-or-nothing订阅锁定
对偶变量蒙特卡洛:数字现金或无看涨期权

Digital Cash-or-Nothing Call Monte Carlo with Antithetic Variates

中等面试准备Python / C++ / Rust
未尝试
coding-dollar-gamma-strike-ladder订阅锁定
行权价阶梯上的美元 gamma

Dollar Gamma Across a Strike Ladder

中等面试准备Python / C++ / Rust
未尝试
coding-double-no-touch-mc订阅锁定
双不触碰期权的对偶变量蒙特卡洛定价

Double-No-Touch Pricing via Antithetic-Variate Monte Carlo

中等面试准备Python / C++ / Rust
未尝试
coding-effective-maturity-for-irb-credit可练习
用作 IRB 信用 RWA 输入的现值加权有效期限 M

PV-Weighted Effective Maturity M for IRB Credit RWA Input

中等免费版Python / C++ / Rust
未尝试
coding-effective-number-of-independent-obligors-from-correlation可练习
基于均匀两两违约相关性的有效独立债务人数

Effective Number of Independent Obligors from Uniform Pairwise Default Correlation

中等免费版Python / C++ / Rust
未尝试
coding-empirical-cdf-loss-tail可练习
在固定 PnL 阈值处的经验 CDF 尾部概率

Empirical CDF Tail Probability at a Fixed PnL Threshold

中等免费版Python / C++ / Rust
未尝试
coding-empirical-copula-uniform-rank-transform订阅锁定
经验 Copula:按列均匀秩变换

Empirical Copula via Per-Column Uniform Rank Transform

困难面试准备Python / C++ / Rust
未尝试
coding-empirical-marginal-cdf-inverse-mapping可练习
经验逆 CDF 边际映射(Copula 流水线第二步)

Empirical Inverse-CDF Marginal Mapping (Copula Pipeline, Step Two)

困难免费版Python / C++ / Rust
未尝试
coding-empirical-mean-excess-function订阅锁定
用于 POT 阈值选择的经验均值超额函数

Empirical Mean Excess Function for POT Threshold Selection

困难面试准备Python / C++ / Rust
未尝试
coding-empirical-upper-tail-dependence订阅锁定
经验上尾相依系数:由二维联合样本估计

Empirical Upper-Tail-Dependence Coefficient from Bivariate Samples

困难面试准备Python / C++ / Rust
未尝试
coding-equal-risk-contribution订阅锁定
等风险贡献组合权重

Equal-Risk-Contribution Portfolio Weights

中等面试准备Python / C++ / Rust
未尝试
coding-equal-risk-contribution-toy订阅锁定
等风险贡献组合(toy 不动点迭代)

Toy Equal-Risk-Contribution Solver (Fixed-Point Iteration)

中等面试准备Python / C++ / Rust
未尝试
coding-es-exceedance-ratio-backtest可练习
Expected Shortfall 校准回溯:超额日比率检验

Expected Shortfall Calibration Backtest via Exceedance-Day Ratio

中等免费版Python / C++ / Rust
未尝试
coding-estimate-barrier-hit-probability订阅锁定
蒙特卡洛估计屏障触发概率

Estimate Barrier Hit Probability

简单面试准备Python / C++ / Rust
未尝试
coding-euler-risk-allocation订阅锁定
组合波动率的 Euler 风险分解

Euler Risk Allocation for Portfolio Volatility

中等面试准备Python / C++ / Rust
未尝试
coding-european-call-mc-anti订阅锁定
对偶变量蒙特卡洛:欧式看涨期权定价

European Call Monte Carlo with Antithetic Variates

中等面试准备Python / C++ / Rust
未尝试
coding-european-call-monte-carlo订阅锁定
蒙特卡洛定价欧式看涨期权

European Call Price via Monte Carlo

中等面试准备Python / C++ / Rust
未尝试
coding-evt-block-maxima-gev-fit订阅锁定
用矩估计把分块极大值拟合到 Gumbel(GEV, ξ=0)子情形

Fit a Gumbel (GEV, ξ=0) to Block Maxima by Method of Moments

中等面试准备Python / C++ / Rust
未尝试
coding-evt-hill-estimator-tail-index订阅锁定
尾部指数的 Hill 估计

Hill Estimator for the Tail Index

中等面试准备Python / C++ / Rust
未尝试
coding-evt-pot-gpd-fit订阅锁定
阈值超额法 (POT) 下的 GPD 矩量法拟合

Peaks-Over-Threshold GPD Fit by Method of Moments

中等面试准备Python / C++ / Rust
未尝试
coding-ewma-sharpe-ratio订阅锁定
指数加权 Sharpe 比率

Exponentially-Weighted Sharpe Ratio

中等面试准备Python / C++ / Rust
未尝试
coding-ewma-volatility-forecast-riskmetrics可练习
RiskMetrics EWMA 波动率预测

RiskMetrics EWMA Volatility Forecast

中等免费版Python / C++ / Rust
未尝试简单面试准备Python / C++ / Rust
未尝试
coding-ewma-weighted-historical-var可练习
EWMA 加权历史 VaR

EWMA-Weighted Historical VaR

中等免费版Python / C++ / Rust
未尝试
coding-excess-returns-from-benchmark订阅锁定
相对基准的超额收益

Excess Returns Over a Benchmark

中等面试准备Python / C++ / Rust
未尝试
coding-execution-quality-score-blend订阅锁定
Composite Broker Execution-Quality Score with Direction-Aware Z-Score Blend

Composite Broker Execution-Quality Score with Direction-Aware Z-Score Blend

中等面试准备Python / C++ / Rust
未尝试
coding-expected-rwa-after-rating-migration可练习
评级迁移 H 步后的组合期望 RWA

Expected Portfolio RWA After H Rating-Migration Steps

中等免费版Python / C++ / Rust
未尝试
coding-expected-shortfall-historical订阅锁定
滚动历史 Expected Shortfall (CVaR)

Rolling Historical Expected Shortfall (CVaR)

中等面试准备Python / C++ / Rust
未尝试
coding-factor-risk-attribution订阅锁定
线性因子模型下的逐因子风险归因

Per-Factor Risk Attribution Under a Linear Factor Model

中等面试准备Python / C++ / Rust
未尝试
coding-factor-shock-scenario-pnl订阅锁定
Factor-Shock Scenario P&L on a Linear Factor Model

Factor-Shock Scenario P&L on a Linear Factor Model

中等面试准备Python / C++ / Rust
未尝试
coding-fillrate-by-venue-with-cis订阅锁定
按场所统计的成交率与 Wilson 置信区间

Per-Venue Fill Rate with Wilson Confidence Intervals

中等面试准备Python / C++ / Rust
未尝试
coding-filtered-historical-simulation-var可练习
过滤历史模拟 VaR

Filtered Historical Simulation VaR

中等免费版Python / C++ / Rust
未尝试
coding-first-passage-time-mc订阅锁定
蒙特卡洛估计 OU 过程首次穿越时间

OU First-Passage Time by Monte Carlo

中等面试准备Python / C++ / Rust
未尝试
coding-fixed-strike-lookback-call订阅锁定
固定执行价回望看涨期权的蒙特卡洛定价(离散监测)

Fixed-strike Lookback Call MC Pricing with Discrete Monitoring

中等面试准备Python / C++ / Rust
未尝试简单免费版Python / C++ / Rust
未尝试
coding-floating-rate-note-pricer订阅锁定
由零息曲线给浮动利率债定价

Pricing a Floating-Rate Note from a Zero Curve

中等面试准备Python / C++ / Rust
未尝试
coding-fx-cross-hedge-residual订阅锁定
交叉对冲的残差方差与解释力

Cross-Hedge Residual Variance and Explanatory Power

中等面试准备Python / C++ / Rust
未尝试
coding-gamma-vega-pnl-attribution订阅锁定
Black-Scholes 盈亏归因:Delta、Gamma、Vega、Theta

Black-Scholes PnL Attribution: Delta, Gamma, Vega, Theta

中等面试准备Python / C++ / Rust
未尝试
coding-garch-1-1-multistep-variance-forecast可练习
GARCH(1,1) 多期方差预测

GARCH(1,1) Multi-Step Variance Forecast

中等免费版Python / C++ / Rust
未尝试
coding-gaussian-copula-correlated-sample-via-cholesky可练习
通过 Cholesky 分解生成高斯 Copula 相关样本

Gaussian-Copula Correlated Samples via Cholesky Factorisation

困难免费版Python / C++ / Rust
未尝试
coding-gaussian-copula-sample订阅锁定
从高斯 Copula 抽样

Sample from a Gaussian Copula

中等面试准备Python / C++ / Rust
未尝试
coding-gcd-of-share-lots可练习
份额最大公约数 — 整手再划分

GCD of Share Lots — Round-Lot Reconciliation

简单免费版Python / C++ / Rust
未尝试
coding-gcd-tick-sizes可练习
通用最小价位单元:跨场所 tick size 的最大公约数

Universal Tick Unit: GCD of Per-Venue Tick Sizes

中等免费版Python / C++ / Rust
未尝试
coding-gk-summary-streaming-quantile订阅锁定
Greenwald-Khanna Streaming Quantile Summary

Greenwald-Khanna Streaming Quantile Summary

中等面试准备Python / C++ / Rust
未尝试
coding-gpd-tail-var-extrapolation订阅锁定
POT 框架下基于 GPD 的尾部 VaR 外推

GPD Tail-VaR Extrapolation under the POT Framework

困难面试准备Python / C++ / Rust
未尝试
coding-gsib-systemic-importance-score可练习
G-SIB 系统重要性评分与可替代性上限

G-SIB Systemic-Importance Score with Substitutability Cap

中等免费版Python / C++ / Rust
未尝试
coding-gumbel-copula-bivariate-cdf可练习
Bivariate Gumbel-Copula CDF Closed-Form Evaluation

Bivariate Gumbel-Copula CDF Closed-Form Evaluation

困难免费版Python / C++ / Rust
未尝试
coding-hdr-histogram-recorded-values订阅锁定
HDR Histogram Recorded-Value Bucket Index and Quantile Estimate

HDR Histogram Recorded-Value Bucket Index and Quantile Estimate

困难面试准备Python / C++ / Rust
未尝试
coding-heston-iv-calibration订阅锁定
单参数 Black-Scholes 波动率对一组行权价的校准

Single-Sigma Black-Scholes Calibration to a Strike Grid

中等面试准备Python / C++ / Rust
未尝试
coding-heston-mc-calibration-residual订阅锁定
Heston 校准在隐含波动率空间的残差

Heston Calibration Residual in Implied-Vol Space

中等面试准备Python / C++ / Rust
未尝试
coding-hill-estimator-tail-index订阅锁定
重尾损失分布尾指数的 Hill 估计

Hill Estimator for the Tail Index of a Heavy-Tailed Loss Distribution

困难面试准备Python / C++ / Rust
未尝试
coding-historical-es-multi-alpha可练习
多置信度历史 ES 一次性计算

Historical Expected Shortfall at Multiple Confidence Levels

中等免费版Python / C++ / Rust
未尝试
coding-historical-expected-shortfall可练习
历史期望损失

Historical Expected Shortfall

中等免费版Python / C++ / Rust
未尝试
coding-historical-stress-loss-replay订阅锁定
历史压力情景损失复盘

Historical Stress Loss Replay

中等面试准备Python / C++ / Rust
未尝试
coding-historical-var-multi-alpha可练习
多置信度历史 VaR 一次性计算

Historical VaR at Multiple Confidence Levels

中等免费版Python / C++ / Rust
未尝试
coding-historical-var-portfolio订阅锁定
组合历史 VaR

Historical VaR for a Long-Only Portfolio

中等面试准备Python / C++ / Rust
未尝试
coding-historical-var-var-only订阅锁定
滚动历史 VaR 序列

Rolling Historical VaR Track

中等面试准备Python / C++ / Rust
未尝试
coding-ic-weighted-signal-combine订阅锁定
基于 IC 的因子信号加权组合

IC-Weighted Alpha Signal Combination

中等面试准备Python / C++ / Rust
未尝试
coding-idiosyncratic-volatility订阅锁定
特异波动率因子:滚动剥离市场 β 后的残差标准差

Idiosyncratic Volatility Factor — Rolling Residual Std After Market Beta

中等面试准备Python / C++ / Rust
未尝试
coding-impact-attribution-by-venue订阅锁定
Post-Trade Impact Attribution Across Venues with a Cross-Venue Interaction

Post-Trade Impact Attribution Across Venues with a Cross-Venue Interaction

中等面试准备Python / C++ / Rust
未尝试
coding-implementation-shortfall-attribution订阅锁定
Implementation Shortfall — Three-Component Attribution

Implementation Shortfall — Three-Component Attribution

中等面试准备Python / C++ / Rust
未尝试
coding-implied-vol-bisection-fallback订阅锁定
Newton + 二分法兜底求解隐含波动率

Implied Volatility with Newton + Bisection Fallback

中等面试准备Python / C++ / Rust
未尝试
coding-implied-vol-newton-bs订阅锁定
Newton-Raphson 反推欧式看涨期权隐含波动率

Newton-Raphson Implied Volatility from a Quoted Call

中等面试准备Python / C++ / Rust
未尝试
coding-implied-vol-vega-weighted-blend订阅锁定
跨行权价格点的 vega 加权平均隐含波动率

Vega-Weighted Average Implied Volatility Across a Strike Grid

中等面试准备Python / C++ / Rust
未尝试
coding-implied-volatility-bisection订阅锁定
二分法反推隐含波动率

Implied Volatility via Bisection

中等面试准备Python / C++ / Rust
未尝试
coding-implied-volatility-newton订阅锁定
Newton 法反推隐含波动率

Implied Volatility via Newton's Method

中等面试准备Python / C++ / Rust
未尝试
coding-importance-sampling-deep-otm-mc订阅锁定
Importance Sampling for Deep OTM Monte Carlo

Importance Sampling for Deep OTM Monte Carlo

困难面试准备Python / C++ / Rust
未尝试
coding-incremental-var订阅锁定
按资产分解的成分 VaR(Euler 分解)

Component VaR per Asset (Euler Decomposition)

中等面试准备Python / C++ / Rust
未尝试
coding-incremental-var-of-candidate-trade订阅锁定
候选交易的增量 VaR

Incremental VaR of a Candidate Trade

中等面试准备Python / C++ / Rust
未尝试
coding-information-ratio订阅锁定
年化信息比率

Annualized Information Ratio

中等面试准备Python / C++ / Rust
未尝试
coding-information-ratio-active-return订阅锁定
主动收益序列的 Information Ratio

Information Ratio of an Active-Return Series

中等面试准备Python / C++ / Rust
未尝试
coding-iv-brent-solver订阅锁定
Black-Scholes 看涨期权报价反推隐含波动率(Brent 法 / scipy.optimize.brentq)

Black-Scholes Call Implied Vol via Brent's Method (scipy.optimize.brentq)

中等面试准备Python / C++ / Rust
未尝试
coding-iv-newton-bisection-hybrid订阅锁定
Black-Scholes 看涨期权报价反推隐含波动率(Newton-Raphson + 二分法混合)

Black-Scholes Call Implied Vol via Hybrid Newton-Raphson with Bisection Fallback

中等面试准备Python / C++ / Rust
未尝试
coding-iv-no-arb-bracket-check订阅锁定
隐含波动率批量预检——无套利区间分类器

Batch IV Pre-Flight — No-Arbitrage Bracket Classifier

中等面试准备Python / C++ / Rust
未尝试
coding-iv-put-bisection订阅锁定
Black-Scholes Put Implied Vol via Bisection

Black-Scholes Put Implied Vol via Bisection

中等面试准备Python / C++ / Rust
未尝试
coding-iv-secant-call订阅锁定
Black-Scholes 看涨期权报价反推隐含波动率(割线法)

Black-Scholes Call Implied Vol via the Secant Method

中等面试准备Python / C++ / Rust
未尝试
coding-jump-diffusion-merton-mc订阅锁定
Merton Jump-Diffusion European Call via Monte Carlo

Merton Jump-Diffusion European Call via Monte Carlo

困难面试准备Python / C++ / Rust
未尝试
coding-kendall-tau-from-ranks订阅锁定
Kendall's Tau-a Rank Correlation on a Bivariate Sample

Kendall's Tau-a Rank Correlation on a Bivariate Sample

中等面试准备Python / C++ / Rust
未尝试
coding-kupiec-pof-likelihood-ratio可练习
Kupiec POF 似然比统计量:VaR 回溯检验

Kupiec POF Likelihood-Ratio Statistic for VaR Backtesting

中等免费版Python / C++ / Rust
未尝试
coding-kupiec-pof-test订阅锁定
Kupiec 失败比例 (POF) 检验统计量

Kupiec Proportion-of-Failures (POF) Test Statistic

中等面试准备Python / C++ / Rust
未尝试
coding-lcr-liquidity-coverage-ratio订阅锁定
Basel III Liquidity Coverage Ratio with HQLA Caps

Basel III Liquidity Coverage Ratio with HQLA Caps

中等面试准备Python / C++ / Rust
未尝试
coding-leverage-ratio-tier1订阅锁定
Basel III Leverage Ratio

Basel III Leverage Ratio

简单面试准备Python / C++ / Rust
未尝试
coding-leverage-ratio-with-ccf可练习
Basel III 杠杆率:表外项的信用转换系数(CCF)合计

Basel III Leverage Ratio: Credit Conversion Factors over Off-Balance Items

中等免费版Python / C++ / Rust
未尝试
coding-lgd-beta-distribution-method-of-moments可练习
基于矩匹配的违约损失率(LGD)Beta 分布校准

LGD Beta-Distribution Calibration via Method of Moments

中等免费版Python / C++ / Rust
未尝试
coding-lgd-from-collateral-recovery-waterfall可练习
基于抵押—无担保瀑布的违约损失率(LGD)

LGD via Collateral-Then-Unsecured Recovery Waterfall

中等免费版Python / C++ / Rust
未尝试
coding-lgd-recovery-aggregation订阅锁定
带抵押品回收瀑布的 LGD 聚合

LGD Aggregation with Collateral Recovery Cascade

中等面试准备Python / C++ / Rust
未尝试
coding-lifetime-el-with-survival-weighting可练习
含存活加权与逐期 LGD/EAD 剖面的生命期期望损失

Lifetime Expected Loss with Survival Weighting and Per-Period LGD/EAD

中等免费版Python / C++ / Rust
未尝试
coding-linear-impact-cost-estimate订阅锁定
Linear Market-Impact Cost of a Child-Order Schedule

Linear Market-Impact Cost of a Child-Order Schedule

中等面试准备Python / C++ / Rust
未尝试
coding-liquidity-coverage-ratio-aggregation可练习
流动性覆盖率:HQLA、流入上限与净流出地板

Liquidity Coverage Ratio: HQLA, Inflow Cap, and Net-Outflow Floor

中等免费版Python / C++ / Rust
未尝试
coding-look-ahead-bias-detector订阅锁定
通过滞后相关比较检测前视偏差

Look-Ahead Bias Detector via Lagged-Correlation Comparison

中等面试准备Python / C++ / Rust
未尝试
coding-lookback-call-mc订阅锁定
固定执行价回望看涨期权的蒙特卡洛定价

Fixed-Strike Lookback Call Pricing via Monte Carlo

中等面试准备Python / C++ / Rust
未尝试
coding-lopez-magnitude-loss-function-var-backtest可练习
Lopez I 量级损失函数:VaR 回溯检验

Lopez I Magnitude Loss Function for VaR Backtesting

中等免费版Python / C++ / Rust
未尝试
coding-mahalanobis-distance-via-cholesky可练习
通过 Cholesky 前代法计算马氏距离

Mahalanobis Distance via Cholesky Forward-Solve

困难免费版Python / C++ / Rust
未尝试
coding-marginal-pd-from-cumulative-term-structure可练习
由累计违约概率反推期边际违约概率:逆向 bootstrap

Marginal Default Probability from a Cumulative-PD Term Structure: Inverse Bootstrap

中等免费版Python / C++ / Rust
未尝试
coding-marginal-var-by-asset订阅锁定
Marginal VaR by Asset (Closed-Form Gradient)

Marginal VaR by Asset (Closed-Form Gradient)

中等面试准备Python / C++ / Rust
未尝试
coding-marginal-var-gaussian-portfolio订阅锁定
高斯组合的边际 VaR 敏感度

Marginal VaR Sensitivity for a Gaussian Portfolio

中等面试准备Python / C++ / Rust
未尝试
coding-max-diversification-portfolio订阅锁定
最大分散化组合 (Choueifaty-Coignard)

Maximum-Diversification Portfolio (Choueifaty-Coignard)

困难面试准备Python / C++ / Rust
未尝试
coding-max-drawdown-decomposition订阅锁定
最大回撤分解

Max Drawdown Decomposition

中等面试准备Python / C++ / Rust
未尝试
coding-max-drawdown-duration订阅锁定
累积净值曲线上的最长回撤期

Maximum Drawdown Duration on the Equity Curve

中等面试准备Python / C++ / Rust
未尝试
coding-max-iid-call-pricing订阅锁定
n 个独立同分布 lognormal 取最大的看涨期权半解析定价

Semi-Analytic Call Price on the Max of n iid Lognormals

中等面试准备Python / C++ / Rust
未尝试
coding-max-reward-disjoint-resource-bitmask-subset可练习
在风险桶预算位掩码下的非交叠对冲合约最大收益选择

Disjoint Risk-Bucket Hedge Selection under a Bucket-Budget Bitmask

中等免费版Python / C++ / Rust
未尝试
coding-mean-excess-over-threshold-grid可练习
阈值网格上的均值超额曲线

Mean-Excess Curve Across a Threshold Grid

中等免费版Python / C++ / Rust
未尝试
coding-mean-reversion-residual订阅锁定
均值回复因子:对基准残差化的过去 K 日收益

Mean-Reversion Factor — Residualized Last-K Return

中等面试准备Python / C++ / Rust
未尝试
coding-mean-variance-frontier-long-only订阅锁定
Long-Only Mean-Variance Efficient Frontier

Long-Only Mean-Variance Efficient Frontier

困难面试准备Python / C++ / Rust
未尝试
coding-min-contracts-cover-greek-buckets可练习
用位掩码 BFS 求覆盖希腊字母 bucket 的最少合约数

Min Contracts to Cover Greek Buckets via Bitmask BFS

中等免费版Python / C++ / Rust
未尝试
coding-min-variance-2asset-toy订阅锁定
两资产最小方差组合(闭式解)

Two-Asset Minimum-Variance Portfolio (Closed Form)

中等面试准备Python / C++ / Rust
未尝试
coding-min-variance-long-only订阅锁定
长仓最小方差组合权重

Long-Only Minimum-Variance Portfolio Weights

中等面试准备Python / C++ / Rust
未尝试
coding-mincer-zarnowitz-var-forecast-regression可练习
Mincer-Zarnowitz OLS Regression for VaR-Forecast Unbiasedness

Mincer-Zarnowitz OLS Regression for VaR-Forecast Unbiasedness

中等免费版Python / C++ / Rust
未尝试
coding-misra-gries-heavy-hitters可练习
Misra-Gries (k-1) 计数器在交易流上的重元素近似

Misra-Gries (k-1)-Counter Heavy-Hitters Over a Trade-Tape Stream

中等免费版Python / C++ / Rust
未尝试
coding-modigliani-m-squared-ratio订阅锁定
Modigliani M² — 波动率等价化的风险调整后收益

Modigliani M-Squared — Vol-Rescaled Risk-Adjusted Return

中等面试准备Python / C++ / Rust
未尝试
coding-monte-carlo-var-portfolio订阅锁定
蒙特卡洛 VaR(多资产组合)

Monte-Carlo VaR for a Multi-Asset Portfolio

中等面试准备Python / C++ / Rust
未尝试
coding-multi-horizon-gaussian-var-scaling可练习
多期高斯 VaR 缩放

Multi-Horizon Gaussian VaR Scaling

中等免费版Python / C++ / Rust
未尝试
coding-multi-leg-shortfall-attribution订阅锁定
Multi-Leg Implementation Shortfall — Basket Covariance Attribution

Multi-Leg Implementation Shortfall — Basket Covariance Attribution

困难面试准备Python / C++ / Rust
未尝试
coding-multi-level-monte-carlo-european-call订阅锁定
Multi-Level Monte Carlo for a European Call

Multi-Level Monte Carlo for a European Call

困难面试准备Python / C++ / Rust
未尝试
coding-multi-period-impact-decay订阅锁定
Multi-Period Impact P&L with Exponential Decay Between Periods

Multi-Period Impact P&L with Exponential Decay Between Periods

困难面试准备Python / C++ / Rust
未尝试
coding-multifactor-scenario-pnl-vector可练习
多因子情景 PnL 向量:一阶 Taylor 估值

Multi-Factor Scenario PnL Vector via Linear Taylor

中等免费版Python / C++ / Rust
未尝试
coding-mutual-information-feature-rank订阅锁定
用直方图估计的互信息对特征做相关性排序

Rank Features by Histogram-Estimated Mutual Information with the Target

困难面试准备Python / C++ / Rust
未尝试
coding-net-stable-funding-ratio-aggregation可练习
净稳定资金比例:ASF 比 RSF 聚合

Net Stable Funding Ratio: ASF over RSF Aggregation

中等免费版Python / C++ / Rust
未尝试
coding-nsfr-net-stable-funding订阅锁定
Basel III Net Stable Funding Ratio (NSFR)

Basel III Net Stable Funding Ratio (NSFR)

简单面试准备Python / C++ / Rust
未尝试
coding-omega-ratio-at-threshold订阅锁定
收益序列在阈值处的 Omega 比率

Omega Ratio of a Return Series at a Threshold

中等面试准备Python / C++ / Rust
未尝试
coding-online-autocorrelation-lag1可练习
时间序列的 lag-1 样本自相关系数

Lag-1 Sample Autocorrelation of a Time Series

简单免费版Python / C++ / Rust
未尝试
coding-online-cumulative-bollinger-bands可练习
在线累计 Bollinger 带:Welford 递推的带对序列

Online Cumulative Bollinger Bands: Welford-Recurrence Band-Pair Stream

中等免费版Python / C++ / Rust
未尝试
coding-online-ewma-covariance-pair可练习
在线 EWMA 配对协方差:跨资产对冲比建模基石

Online EWMA Covariance Pair — Cross-Asset Hedge-Ratio Building Block

中等免费版Python / C++ / Rust
未尝试
coding-online-ewma-residual-stream可练习
在线 EWMA 残差流:以"先前"指数加权均值衡量当期收益的意外度

Online EWMA Residual Stream — Surprise-vs-Prior Exponential-Weight Mean

中等免费版Python / C++ / Rust
未尝试
coding-online-ewma-variance可练习
在线 EWMA 方差:偏重近期的波动率追踪器

Online EWMA Variance — Recency-Weighted Volatility Tracker

中等免费版Python / C++ / Rust
未尝试
coding-online-mean-mad可练习
滚动均值与平均绝对偏差

Running Mean and Mean Absolute Deviation

简单免费版Python / C++ / Rust
未尝试
coding-online-pca-oja-rule-streaming订阅锁定
Online PCA via Oja's Rule (Streaming PC1)

Online PCA via Oja's Rule (Streaming PC1)

困难面试准备Python / C++ / Rust
未尝试
coding-online-running-excess-kurtosis可练习
在线运行超额峰度(Welford 四阶矩递推)

Online Running Excess Kurtosis via Welford-Style Fourth-Moment Recurrence

中等免费版Python / C++ / Rust
未尝试
coding-online-running-skewness可练习
在线运行样本偏度(Welford 三阶矩递推)

Online Running Sample Skewness via Welford-Style Third-Moment Recurrence

中等免费版Python / C++ / Rust
未尝试
coding-online-skewness-kurtosis可练习
在线流式计算均值、方差、偏度与超额峰度(Welford-Pebay)

Online Streaming Mean, Variance, Skewness, and Excess Kurtosis (Welford-Pebay)

中等免费版Python / C++ / Rust
未尝试
coding-online-zscore-outlier-flagger可练习
在线 Z 分数离群标记:用 Welford 累计历史检测 tick 流异常

Online Z-Score Outlier Flagger: Welford-Cumulative Anomaly Detection on a Tick Stream

中等免费版Python / C++ / Rust
未尝试
coding-orthogonalize-signals-gs订阅锁定
按优先序对 alpha 信号做经典 Gram-Schmidt 正交化

Classical Gram-Schmidt Orthogonalization of Priority-Ordered Alpha Signals

中等面试准备Python / C++ / Rust
未尝试
coding-pairwise-rating-transition-prob-at-horizon可练习
评级对到对在 H 期的转移概率:Markov 链 M^H 的单元素

Pairwise Rating-Transition Probability at Horizon: Single Entry of Markov Chain M^H

中等免费版Python / C++ / Rust
未尝试
coding-parametric-gaussian-es-from-moments订阅锁定
由调用者提供矩量计算参数化高斯 ES

Parametric Gaussian Expected Shortfall from Caller-Supplied Moments

中等面试准备Python / C++ / Rust
未尝试
coding-parametric-var-normal订阅锁定
滚动参数法 VaR(正态假设)

Rolling Parametric VaR (Normal)

中等面试准备Python / C++ / Rust
未尝试
coding-pareto-tail-var-via-hill-estimator订阅锁定
基于 Hill 估计的 Pareto 尾部 VaR 外推

Pareto Tail VaR via Hill-Estimator Extrapolation

困难面试准备Python / C++ / Rust
未尝试
coding-pca-eigen-2by2订阅锁定
2x2 协方差闭式特征分解(toy PCA)

Closed-Form 2x2 PCA Eigendecomposition

中等面试准备Python / C++ / Rust
未尝试
coding-pca-explained-variance订阅锁定
主成分分析:前 k 个成分的解释方差比

PCA Explained-Variance Ratio for Top-k Components

中等面试准备Python / C++ / Rust
未尝试
coding-pca-ledoit-wolf-frobenius-shrinkage订阅锁定
Optimal Ledoit-Wolf Shrinkage (Frobenius)

Optimal Ledoit-Wolf Shrinkage (Frobenius)

困难面试准备Python / C++ / Rust
未尝试
coding-pd-rating-transition-multistep订阅锁定
评级转移矩阵下的多期违约概率

Multi-Period Default Probability from a Rating-Transition Matrix

中等面试准备Python / C++ / Rust
未尝试
coding-percent-change-from-base订阅锁定
相对可配置基的百分变化

Percent-Change from a Configurable Base

中等面试准备Python / C++ / Rust
未尝试
coding-percentile-from-bucketed-counts订阅锁定
Quantile Estimate from Pre-Bucketed Histogram Counts

Quantile Estimate from Pre-Bucketed Histogram Counts

中等面试准备Python / C++ / Rust
未尝试
coding-piecewise-flat-hazard-survival-at-horizons可练习
分段扁平 hazard 期限结构下多视野存活概率

Survival Probability at Multiple Horizons under a Piecewise-Flat Hazard Term Structure

中等免费版Python / C++ / Rust
未尝试
coding-pinball-loss-var-quantile-backtest可练习
VaR 预测回溯检验:Pinball(分位)损失评分

Pinball (Quantile) Loss for VaR Forecast Backtesting

中等免费版Python / C++ / Rust
未尝试
coding-pit-standardized-var-forecast-residual可练习
标准化 VaR 预测残差流:先去均值再除以波动率

Standardized VaR-Forecast Residual Stream — De-Mean Then Divide By Vol

中等免费版Python / C++ / Rust
未尝试
coding-pnl-attribution-greeks订阅锁定
基于 Greeks 的盈亏归因

Greek-Based PnL Attribution

中等面试准备Python / C++ / Rust
未尝试
coding-pnl-explain-greek-residual订阅锁定
Greek 归因盈亏解释及残差诊断

Greek-Attribution P&L Explain with Residual Diagnostic

中等面试准备Python / C++ / Rust
未尝试
coding-portfolio-expected-loss-by-bucket可练习
组合预期损失分桶聚合:PD x LGD x EAD 瀑布

Portfolio Expected Loss by Bucket: PD x LGD x EAD Waterfall

中等免费版Python / C++ / Rust
未尝试
coding-portfolio-var-multivariate订阅锁定
多资产组合参数法 VaR(w^T Σ w)

Multi-Asset Portfolio Parametric VaR (w^T Σ w)

中等面试准备Python / C++ / Rust
未尝试
coding-position-pnl-with-fees订阅锁定
含手续费的持仓盈亏

Position P&L With Transaction Fees

中等面试准备Python / C++ / Rust
未尝试
coding-power-of-two-bit-check可练习
2 的幂位运算判定

Power-of-Two Bit Check

简单免费版Python / C++ / Rust
未尝试
coding-pre-trade-impact-budget-check订阅锁定
Pre-Trade Multi-Leg Impact Budget Check (Square-Root Model)

Pre-Trade Multi-Leg Impact Budget Check (Square-Root Model)

中等面试准备Python / C++ / Rust
未尝试
coding-prime-check-trial-division可练习
试除法判素数

Primality Test by Trial Division

简单免费版Python / C++ / Rust
未尝试
coding-purged-kfold-cv-time-series订阅锁定
时间序列机器学习的 Purged K 折交叉验证

Purged k-Fold Cross-Validation for Time-Series ML

困难面试准备Python / C++ / Rust
未尝试
coding-pv-of-post-default-recovery-stream可练习
Present Value of a Post-Default Recovery Cash-Flow Stream

Present Value of a Post-Default Recovery Cash-Flow Stream

中等免费版Python / C++ / Rust
未尝试
coding-quadratic-taylor-scenario-pnl-vector可练习
二阶情景 PnL 向量:delta 加 gamma 的 Taylor 估值

Quadratic-Taylor Scenario PnL Vector via Delta and Gamma

中等免费版Python / C++ / Rust
未尝试
coding-rainbow-best-of-call-mc订阅锁定
Best-of-N 彩虹看涨期权的蒙特卡洛定价(Cholesky + 对偶变量法)

Best-of-N Rainbow Call MC Pricing with Cholesky and Antithetic Variates

中等面试准备Python / C++ / Rust
未尝试
coding-random-walk-hitting-probability订阅锁定
对称随机游走的双向触障概率

Random Walk Hitting Probability

简单面试准备Python / C++ / Rust
未尝试
coding-range-accrual-pricer订阅锁定
Range-Accrual 票据每日观测蒙特卡洛定价(含对偶变量法)

Range-Accrual Note Pricer via Daily-Monitoring MC with Antithetic Variates

中等面试准备Python / C++ / Rust
未尝试
coding-rank-average-signal-combine订阅锁定
多因子信号的排名平均合成

Rank-Average Multi-Factor Signal Combination

中等面试准备Python / C++ / Rust
未尝试
coding-rank-correlation-spearman-kendall订阅锁定
Spearman 等级相关与 Kendall tau-b:copula 流水线上的双等级相关诊断

Spearman Rho and Kendall Tau-b: Dual Rank-Correlation Diagnostic for the Copula Pipeline

困难面试准备Python / C++ / Rust
未尝试
coding-rank-gauss-transform订阅锁定
横截面 alpha 因子的 RankGauss 变换

RankGauss Transform on a Cross-Section of Alpha Factors

中等面试准备Python / C++ / Rust
未尝试
coding-rank-strategies-by-sharpe可练习
按夏普比率排序策略(波动率作为次序)

Rank Strategies by Sharpe with Vol Tiebreak

中等免费版Python / C++ / Rust
未尝试
coding-rating-transition-multistep-distribution可练习
多步评级分布传播:Markov 转移矩阵前推 H 步

Multi-Step Rating Distribution Propagation: Markov Transition Forward H Steps

中等免费版Python / C++ / Rust
未尝试
coding-realized-vol-jump-test-bnsh订阅锁定
Realized-Volatility Jump Test (Barndorff-Nielsen and Shephard)

Realized-Volatility Jump Test (Barndorff-Nielsen and Shephard)

困难面试准备Python / C++ / Rust
未尝试
coding-regime-conditional-expected-shortfall可练习
分制度条件历史期望损失

Regime-Conditional Historical Expected Shortfall

中等免费版Python / C++ / Rust
未尝试
coding-regime-conditional-historical-var可练习
分制度条件历史 VaR

Regime-Conditional Historical VaR

中等免费版Python / C++ / Rust
未尝试
coding-reverse-stress-test-flag-loss-scenarios可练习
反向压力测试:标记触及亏损阈值的情景

Reverse Stress Test — Flag Scenarios That Hit a Loss Target

中等免费版Python / C++ / Rust
未尝试
coding-reverse-stress-test-target订阅锁定
反向压力测试——求达到目标损失的冲击幅度

Reverse Stress Test — Solve for Shock Magnitude Hitting a Target Loss

中等面试准备Python / C++ / Rust
未尝试
coding-risk-budget-iterative-allocation订阅锁定
Risk-Budget Allocation via Iterative Fixed-Point

Risk-Budget Allocation via Iterative Fixed-Point

困难面试准备Python / C++ / Rust
未尝试
coding-rolling-beta-strategy-vs-benchmark订阅锁定
滚动贝塔:策略对基准的窗口暴露

Rolling Beta — Strategy vs. Benchmark

中等面试准备Python / C++ / Rust
未尝试
coding-rolling-beta-vs-benchmark订阅锁定
对基准的滚动 Beta

Rolling Beta vs Benchmark

中等面试准备Python / C++ / Rust
未尝试
coding-rolling-cointegration-johansen-test订阅锁定
Rolling Engle-Granger Cointegration Test for Pairs Trading

Rolling Engle-Granger Cointegration Test for Pairs Trading

困难面试准备Python / C++ / Rust
未尝试
coding-rolling-correlation-pair订阅锁定
双序列滚动皮尔逊相关系数

Rolling Pearson Correlation Between Two Series

中等面试准备Python / C++ / Rust
未尝试
coding-rolling-window-variance-ratio-test订阅锁定
Rolling-Window Variance Ratio Test (Lo-MacKinlay)

Rolling-Window Variance Ratio Test (Lo-MacKinlay)

困难面试准备Python / C++ / Rust
未尝试
coding-rolling-zscore-anomaly-flags订阅锁定
滚动 Z 分数异常打标

Rolling Z-Score Anomaly Flags

中等面试准备Python / C++ / Rust
未尝试
coding-running-max-drawdown-stream可练习
流式对数收益 NAV 路径的运行最大回撤

Running Maximum Drawdown of a Streamed Log-Return NAV Path

中等免费版Python / C++ / Rust
未尝试
coding-running-min-max-deque可练习
数据流的累积最小最大值

Running Min and Max of a Stream

简单免费版Python / C++ / Rust
未尝试
coding-running-pearson-correlation-pair可练习
在线累计 Pearson 相关系数(Welford 共动差递推)

Running Cumulative-History Pearson Correlation via Welford-Style Co-Moment Recurrence

中等免费版Python / C++ / Rust
未尝试
coding-running-quantile-p2可练习
P-Square (P²) 流式分位数估计

P-Square (P²) Streaming Quantile Estimator

中等免费版Python / C++ / Rust
未尝试
coding-sabr-vol-implied-from-params订阅锁定
用 Hagan 公式从 SABR 参数算对数正态隐含波动率

Hagan SABR Implied Lognormal Vol from Parameters

中等面试准备Python / C++ / Rust
未尝试
coding-sabr-volvol-calibration订阅锁定
把 SABR 的 (alpha, rho, nu) 校准到一条 smile

Calibrate SABR Volvol (alpha, rho, nu) to a Smile

中等面试准备Python / C++ / Rust
未尝试
coding-saccr-ead-with-collateral-and-pfe可练习
SA-CCR 交易对手 EAD:抵押品折减后 RC 加跨资产类别 PFE 乘 Alpha

SA-CCR Counterparty EAD: Collateral-Adjusted RC plus Aggregated PFE with Alpha

中等免费版Python / C++ / Rust
未尝试
coding-semi-deviation-downside-volatility订阅锁定
围绕样本均值的收益序列半离差

Semi-Deviation of a Return Series Around the Sample Mean

中等面试准备Python / C++ / Rust
未尝试
coding-shortfall-decomp-fee-vs-impact订阅锁定
Implementation Shortfall — Fee vs Market-Impact Decomposition

Implementation Shortfall — Fee vs Market-Impact Decomposition

中等面试准备Python / C++ / Rust
未尝试
coding-shrinkage-cov-ledoit-wolf-toy订阅锁定
Ledoit-Wolf 收缩协方差(toy 版本)

Toy Ledoit-Wolf Shrinkage Covariance

中等面试准备Python / C++ / Rust
未尝试
coding-signal-decay-blend-multi-horizon订阅锁定
多周期信号的带时间衰减混合

Multi-Horizon Signal Blend with Time Decay

中等面试准备Python / C++ / Rust
未尝试
coding-single-name-concentration-limit-flagging可练习
单一交易对手集中度:标出突破 Basel 大额风险暴露限额的对手方

Single-Name Concentration: Flag Counterparties Breaching the Basel Large-Exposure Limit

中等免费版Python / C++ / Rust
未尝试
coding-size-factor-log-mcap订阅锁定
规模因子:负对数市值的横截面 z-score

Size Factor as Negative Log Market Cap (Cross-Sectional Z-Score)

中等面试准备Python / C++ / Rust
未尝试
coding-smallest-position-meeting-risk-budget可练习
首次触及风险预算的最小持仓数量

Smallest Position Size Meeting Risk Budget

中等免费版Python / C++ / Rust
未尝试
coding-sortino-ratio订阅锁定
年化索提诺比率

Annualized Sortino Ratio

中等面试准备Python / C++ / Rust
未尝试
coding-sortino-ratio-with-target订阅锁定
带目标收益的收益序列 Sortino 比率

Sortino Ratio of a Return Series with Target Return

中等面试准备Python / C++ / Rust
未尝试
coding-spectral-risk-measure订阅锁定
谱风险度量 (Acerbi 2002)

Spectral Risk Measure (Acerbi 2002)

困难面试准备Python / C++ / Rust
未尝试
coding-square-root-impact-fit订阅锁定
加权最小二乘拟合平方根市场冲击系数

Fit the Square-Root Market-Impact Coefficient by Weighted Least-Squares

困难面试准备Python / C++ / Rust
未尝试
coding-stratified-sampling-mc-european订阅锁定
分层抽样蒙特卡洛:欧式看涨期权定价

European Call MC with Stratified Sampling on Terminal Z

困难面试准备Python / C++ / Rust
未尝试
coding-stress-coverage-ratio-against-capital订阅锁定
Stress Coverage Ratios Against Available Capital

Stress Coverage Ratios Against Available Capital

简单面试准备Python / C++ / Rust
未尝试
coding-stress-impact-on-cet1-ratio可练习
压力测试对 CET1 充足率的影响:压测后比率与对基准的变动

Stress Impact on CET1 Ratio: Stressed Ratio and Change-from-Baseline

中等免费版Python / C++ / Rust
未尝试
coding-stress-loss-aggregation-by-bucket订阅锁定
按桶维度聚合压力测试损失

Stress-Loss Aggregation by Bucket

简单面试准备Python / C++ / Rust
未尝试
coding-stressed-es-worst-rolling-window可练习
压力 ES — 最差滚动窗口历史 ES

Stressed Expected Shortfall — Worst Rolling-Window Historical ES

中等免费版Python / C++ / Rust
未尝试
coding-subranges-above-return-threshold可练习
累计收益超阈值的子区间计数

Subranges Above Return Threshold

中等免费版Python / C++ / Rust
未尝试
coding-survival-weighted-ee-profile-for-cva可练习
用于 CVA 聚合的存活加权期望敞口剖面

Survival-Weighted Expected-Exposure Profile for CVA Aggregation

中等免费版Python / C++ / Rust
未尝试
coding-svensson-yield-curve-fit订阅锁定
Svensson (1994) 六参数收益率曲线拟合

Svensson (1994) 6-Parameter Yield-Curve Fit

困难面试准备Python / C++ / Rust
未尝试
coding-svi-no-arb-fit订阅锁定
SVI Slice Fit with No-Butterfly-Arbitrage Constraint

SVI Slice Fit with No-Butterfly-Arbitrage Constraint

困难面试准备Python / C++ / Rust
未尝试
coding-svi-slice-fit订阅锁定
Fit SVI Parameters to a Single Expiry Slice

Fit SVI Parameters to a Single Expiry Slice

中等面试准备Python / C++ / Rust
未尝试
coding-systematic-vs-idiosyncratic-variance-decomposition订阅锁定
系统性与特异性方差分解(因子模型)

Systematic-vs-Idiosyncratic Variance Decomposition (Factor Model)

中等面试准备Python / C++ / Rust
未尝试
coding-t-copula-correlated-samples-given-noise可练习
通过 Cholesky 与卡方标度生成 t-Copula 相关样本

t-Copula Correlated Samples via Cholesky and Chi-Square Scaling

困难免费版Python / C++ / Rust
未尝试
coding-target-vol-scale订阅锁定
目标波动率杠杆缩放

Target-Volatility Scaling with Leverage Cap

简单面试准备Python / C++ / Rust
未尝试
coding-tdigest-percentile-stream订阅锁定
T-Digest 流式分位数估计器(k_1 尺度函数)

T-Digest Streaming Percentile Estimator (k_1 Scale Function)

困难面试准备Python / C++ / Rust
未尝试
coding-through-the-cycle-pd-from-pit-series可练习
由 PIT 序列估计跨周期 PD:存活率的几何平均

Through-the-Cycle PD from a Point-in-Time Series: Geometric Mean of Survivals

中等免费版Python / C++ / Rust
未尝试
coding-tier1-capital-ratio-with-deductions可练习
一级资本充足率:CET1 扣减、AT1 加回与 RWA

Tier-1 Capital Ratio: CET1 Deductions, AT1 Add-back, and RWA

中等免费版Python / C++ / Rust
未尝试
coding-tlac-ratio-rwa-and-leverage可练习
FSB TLAC 双比率:TLAC/RWA 与 TLAC/杠杆敞口

FSB TLAC Dual Ratios: TLAC/RWA and TLAC/Leverage-Exposure

中等免费版Python / C++ / Rust
未尝试
coding-tracking-error-contribution-by-sector订阅锁定
各行业对跟踪误差方差的贡献

Tracking-Error Variance Contribution by Sector

中等面试准备Python / C++ / Rust
未尝试
coding-tracking-error-sample-stdev订阅锁定
主动收益序列的标量 Tracking Error

Scalar Tracking Error of an Active-Return Series

中等面试准备Python / C++ / Rust
未尝试
coding-trailing-momentum-factor订阅锁定
滚动 12-1 动量因子(跳过最近一段)

Trailing 12-1 Momentum Factor (Skip Last Month)

中等面试准备Python / C++ / Rust
未尝试
coding-transaction-cost-aware-target订阅锁定
考虑交易成本的目标权重求解

Transaction-Cost-Aware Target Weights from Alpha Signal

中等面试准备Python / C++ / Rust
未尝试
coding-treynor-ratio-systematic-risk-adjusted订阅锁定
Treynor 比率 — 系统性风险调整后的超额收益

Treynor Ratio — Systematic-Risk-Adjusted Excess Return

中等面试准备Python / C++ / Rust
未尝试
coding-trinomial-tree-european-call订阅锁定
欧式看涨期权的 CRR3 三叉树定价

CRR3 Trinomial Tree for a European Call

中等面试准备Python / C++ / Rust
未尝试
coding-turnover-constrained-rebalance订阅锁定
受换手率上限约束的组合再平衡

Turnover-Constrained Portfolio Rebalance

中等面试准备Python / C++ / Rust
未尝试
coding-unilateral-cva-independence可练习
独立性假设下的单边 CVA:折现时间剖面求和

Unilateral CVA Under PD-EE Independence: Discounted Time-Profile Sum

中等免费版Python / C++ / Rust
未尝试
coding-up-and-in-call-barrier订阅锁定
向上敲入障碍看涨期权的 Reiner-Rubinstein 闭式定价(含 rebate)

Up-and-In Barrier Call: Closed-form Reiner-Rubinstein Pricing with Rebate

中等面试准备Python / C++ / Rust
未尝试
coding-up-down-capture-ratios订阅锁定
相对基准的上行捕获率与下行捕获率

Up-Capture and Down-Capture Ratios versus a Benchmark

中等面试准备Python / C++ / Rust
未尝试
coding-var-backtest-exceedance-cluster-count可练习
VaR 回溯检验:破口数与最长连续段

VaR Backtest Exceedance Count and Longest Cluster

中等免费版Python / C++ / Rust
未尝试
coding-var-breach-counter订阅锁定
统计并标注 VaR 突破日

Count and Timestamp VaR Breaches

中等面试准备Python / C++ / Rust
未尝试
coding-var-hit-residual-lag1-autocorrelation可练习
VaR 命中残差的 Lag-1 自相关

Lag-1 Autocorrelation of VaR Hit Indicators

中等免费版Python / C++ / Rust
未尝试
coding-vasicek-asrf-loss订阅锁定
Vasicek ASRF 损失率

Vasicek ASRF Loss Rate

中等面试准备Python / C++ / Rust
未尝试
coding-vasicek-conditional-pd-given-systematic-factor可练习
在已实现系统因子下的 Vasicek 单因子条件 PD

Vasicek Single-Factor Conditional PD Given a Realized Systematic Factor

中等免费版Python / C++ / Rust
未尝试
coding-vasicek-mle-fit订阅锁定
Vasicek MLE Fit from a Short-Rate Series

Vasicek MLE Fit from a Short-Rate Series

中等面试准备Python / C++ / Rust
未尝试
coding-vasicek-portfolio-loss-quantile-asrf可练习
在置信度 alpha 下的 Vasicek ASRF 资本因子(Basel IRB)

Vasicek ASRF Capital Factor at Confidence Level Alpha (Basel IRB)

困难免费版Python / C++ / Rust
未尝试
coding-vasicek-short-rate-mle订阅锁定
Vasicek 短期利率模型在历史利率序列上的极大似然标定

Vasicek Short-Rate MLE Calibration on a Historical Series

困难面试准备Python / C++ / Rust
未尝试
coding-vega-pnl-explain订阅锁定
按执行价网格的 Vega 分桶盈亏归因

Vega-Bucketed PnL Explain Across a Strike Grid

中等面试准备Python / C++ / Rust
未尝试
coding-vega-replication-into-vanillas订阅锁定
用 vanilla 期权对奇异期权 vega 做静态复制

Static Vega Replication of an Exotic into a Vanilla Basis

中等面试准备Python / C++ / Rust
未尝试
coding-vintage-cohort-period-default-rate可练习
期龄队列每期违约率:贷款 vintage 的条件风险率

Vintage Cohort Per-Period Default Rate: Conditional Hazard from a Loan Vintage

中等免费版Python / C++ / Rust
未尝试
coding-vol-surface-calendar-arb-check订阅锁定
识别隐含波动率曲面上的日历套利违规

Detect Calendar-Arbitrage Violations on an Implied-Vol Surface

中等面试准备Python / C++ / Rust
未尝试
coding-vol-surface-totalvar-interp订阅锁定
Linear Total-Variance Interpolation Across Maturities

Linear Total-Variance Interpolation Across Maturities

中等面试准备Python / C++ / Rust
未尝试
coding-vol-weight-portfolio订阅锁定
反波动率组合 + 权重上限

Inverse-Vol Portfolio with Position Cap

中等面试准备Python / C++ / Rust
未尝试
coding-vwap-deviation-by-broker订阅锁定
VWAP Deviation by Broker

VWAP Deviation by Broker

中等面试准备Python / C++ / Rust
未尝试
coding-walk-forward-train-test-splits订阅锁定
步进式训练/测试切分(含 embargo 间隔)

Walk-Forward Train/Test Splits with Embargo

中等面试准备Python / C++ / Rust
未尝试
coding-walkforward-validation-strategy订阅锁定
Walk-Forward Validation for Time-Series Backtests

Walk-Forward Validation for Time-Series Backtests

困难面试准备Python / C++ / Rust
未尝试
coding-weighted-historical-var-custom-weights可练习
自定义权重历史 VaR

Weighted Historical VaR with Custom Weights

中等免费版Python / C++ / Rust
未尝试
coding-welford-online-variance订阅锁定
Welford 在线方差

Welford's Online Variance

简单面试准备Python / C++ / Rust
未尝试
coding-welford-warmup-trimmed-variance可练习
Welford 暖启动剪裁样本方差:仅在尾段稳定计算的在线估计量

Welford Warm-up-Trimmed Sample Variance — Stable Online Estimator on a Trailing Tail

中等免费版Python / C++ / Rust
未尝试
coding-wilson-score-binomial-ci-var-exceedance可练习
VaR 突破率的 Wilson Score 二项置信区间

Wilson Score Binomial CI for VaR Exceedance Rate

中等免费版Python / C++ / Rust
未尝试
coding-winsorize-cross-sectional订阅锁定
横截面 alpha 因子值的 winsorize 截尾

Cross-Sectional Winsorization of Alpha-Factor Values

中等面试准备Python / C++ / Rust
未尝试
coding-yield-curve-bootstrap-zero订阅锁定
由平价收益率自举零息曲线

Bootstrap a Zero Curve from Par Yields

中等面试准备Python / C++ / Rust
未尝试
coding-yield-to-maturity-bisection订阅锁定
二分法求债券到期收益率(YTM)

Yield to Maturity via Bisection

中等面试准备Python / C++ / Rust
未尝试
coding-zscore-cross-sectional订阅锁定
横截面 z-score 与可选 winsorize 截尾

Cross-Sectional Z-Score with Optional Winsorization

中等面试准备Python / C++ / Rust