CODING CHALLENGES

代码题库

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

继续刷题

题目列表

显示 109 / 646 道可提交题。 当前筛选:标签:Numerical Methods,权限:免费

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

Add Two Binary Strings

简单免费版Python / C++ / Rust
未尝试
coding-bar-period-lcm-mod可练习
多源 Bar 同步周期:bar 长度数组的 LCM 取模

Multi-Feed Bar-Sync Period: LCM Modulo p

中等免费版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-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-bitmask-position-flags可练习
持仓属性位掩码查询

Per-Position Flag Bitmask Queries

简单免费版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-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-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-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-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-conditional-scenario-tree-pnl-aggregation可练习
条件情景树的概率加权 PnL 聚合

Conditional Scenario-Tree Probability-Weighted PnL Aggregation

中等免费版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-hhi-and-effective-n可练习
信贷组合集中度:由对手方 EAD 计算 HHI 与有效对手方数

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

中等免费版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-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-diebold-mariano-pinball-comparison可练习
基于 Pinball 损失差分的 Diebold-Mariano 两 VaR 预测对比检验

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

中等免费版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-marginal-cdf-inverse-mapping可练习
经验逆 CDF 边际映射(Copula 流水线第二步)

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

困难免费版Python / C++ / Rust
未尝试
coding-es-exceedance-ratio-backtest可练习
Expected Shortfall 校准回溯:超额日比率检验

Expected Shortfall Calibration Backtest via Exceedance-Day Ratio

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

RiskMetrics EWMA Volatility Forecast

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

EWMA-Weighted Historical VaR

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

Expected Portfolio RWA After H Rating-Migration Steps

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

Filtered Historical Simulation VaR

中等免费版Python / C++ / Rust
未尝试简单免费版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-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-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-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-var-multi-alpha可练习
多置信度历史 VaR 一次性计算

Historical VaR at Multiple Confidence Levels

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

Kupiec POF Likelihood-Ratio Statistic for VaR Backtesting

中等免费版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-lifetime-el-with-survival-weighting可练习
含存活加权与逐期 LGD/EAD 剖面的生命期期望损失

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

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

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

中等免费版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-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-min-contracts-cover-greek-buckets可练习
用位掩码 BFS 求覆盖希腊字母 bucket 的最少合约数

Min Contracts to Cover Greek Buckets via Bitmask BFS

中等免费版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-multi-horizon-gaussian-var-scaling可练习
多期高斯 VaR 缩放

Multi-Horizon Gaussian VaR Scaling

中等免费版Python / C++ / Rust
未尝试
coding-multifactor-scenario-pnl-vector可练习
多因子情景 PnL 向量:一阶 Taylor 估值

Multi-Factor Scenario PnL Vector via Linear Taylor

中等免费版Python / C++ / Rust
未尝试
coding-net-stable-funding-ratio-aggregation可练习
净稳定资金比例:ASF 比 RSF 聚合

Net Stable Funding Ratio: ASF over RSF Aggregation

中等免费版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-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-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-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-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-power-of-two-bit-check可练习
2 的幂位运算判定

Power-of-Two Bit Check

简单免费版Python / C++ / Rust
未尝试
coding-prime-check-trial-division可练习
试除法判素数

Primality Test by Trial Division

简单免费版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-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-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-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-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-single-name-concentration-limit-flagging可练习
单一交易对手集中度:标出突破 Basel 大额风险暴露限额的对手方

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

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

Smallest Position Size Meeting Risk Budget

中等免费版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-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-t-copula-correlated-samples-given-noise可练习
通过 Cholesky 与卡方标度生成 t-Copula 相关样本

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

困难免费版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-unilateral-cva-independence可练习
独立性假设下的单边 CVA:折现时间剖面求和

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

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

VaR Backtest Exceedance Count and Longest Cluster

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

Lag-1 Autocorrelation of VaR Hit Indicators

中等免费版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-portfolio-loss-quantile-asrf可练习
在置信度 alpha 下的 Vasicek ASRF 资本因子(Basel IRB)

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

困难免费版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-weighted-historical-var-custom-weights可练习
自定义权重历史 VaR

Weighted Historical VaR with Custom Weights

中等免费版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