CODING CHALLENGES

代码题库

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

继续刷题

题目列表

显示 234 / 646 道可提交题。 当前筛选:难度:中等,权限:免费,语言:C++

提交状态:未尝试未正确已正确
未尝试
coding-active-quote-peak-count可练习
报价引擎活跃集合:并发活跃报价的峰值数量

Quote Engine Active Set: Peak Concurrently-Live Quotes

中等免费版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-best-pnl-state-with-cooldown可练习
二值仓位策略 —— 含离场后强制冷静期的最佳 PnL

Binary-State Strategy — Best PnL With Post-Exit Cooldown

中等免费版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-tree-american-put可练习
CRR 二叉树美式看跌期权定价

American Put Pricing on a CRR Binomial Tree

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

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

中等免费版Python / C++ / Rust
未尝试
coding-bounded-knapsack-multi-share可练习
单笔上限下的多档行权配置(有界背包)

Multi-Strike Portfolio with Per-Strike Share Cap (Bounded Knapsack)

中等免费版Python / C++ / Rust
未尝试
coding-bounded-trades-best-pnl-with-fee可练习
至多 K 段不重叠多头 round-trip 下的最佳已实现 PnL 上界(含每段冲击成本)

Best Realized PnL Bound Under K Disjoint Round-Trips with Per-Roundtrip Impact Cost

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

Box-Muller: Uniform Pairs to Standard-Normal Pairs

中等免费版Python / C++ / Rust
未尝试
coding-budgeted-whole-share-portfolio可练习
整股预算下的最大期望收益组合

Budgeted Whole-Share Portfolio

中等免费版Python / C++ / Rust
未尝试
coding-build-largest-pnl-concat可练习
拼接最大 P&L 信号强度串

Build Largest P&L Signal-Strength String

中等免费版Python / C++ / Rust
未尝试
coding-canonical-symbol-group-ids可练习
预聚合分桶标签:多场所同标的的规范化分组编号

Pre-Aggregation Bucket Labels: Canonical-Form Group IDs for Multi-Venue Symbols

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

Capital Conservation Buffer: MDA Factor Quartile Schedule

中等免费版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-closer-stronger-bid-distance-bidirectional可练习
双向更强买价的最近距离:取前向 / 后向严格更高 print 中较近者

Closer-Stronger Bid Distance (Bidirectional): Min of Prev / Next Strictly-Higher Bid

中等免费版Python / C++ / Rust
未尝试
coding-closest-trade-pair-notional可练习
最接近目标名义本金的成交配对

Closest Trade Pair to Target Notional

中等免费版Python / C++ / Rust
未尝试
coding-cluster-correlated-tickers可练习
强相关标的聚类

Cluster Correlated Tickers

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

Conditional Scenario-Tree Probability-Weighted PnL Aggregation

中等免费版Python / C++ / Rust
未尝试
coding-consolidated-best-bid-k-feeds可练习
跨 K 路场所报价流的最优买价合并流

Consolidated Best-Bid Stream Across K Venue Quote Feeds

中等免费版Python / C++ / Rust
未尝试
coding-correlation-cluster-count可练习
因子聚簇计数:阈值化相关性图的连通分量数

Factor Cluster Count: Connected Components on a Thresholded Correlation Graph

中等免费版Python / C++ / Rust
未尝试
coding-count-leaves-cumret-above-threshold可练习
远期情景树上累计 PnL 越过门槛的叶节点计数

Win-Count Leaves on a Forward Scenario Tree

中等免费版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-buy-sell-tape-events可练习
买价跨越邻近卖价的跨磁带路由质量告警计数

Cross-Tape Buy-Above-Sell Routing-Quality Alert Count

中等免费版Python / C++ / Rust
未尝试
coding-cross-feed-cum-count-lead-exchanges可练习
跨源行情累计计数领先权交换次数

Cross-Feed Cumulative-Count Lead Exchanges

中等免费版Python / C++ / Rust
未尝试
coding-cross-feed-max-min-paired-lag可练习
跨源行情最差最近匹配配对滞后

Worst Cross-Feed Closest-Match Paired Lag

中等免费版Python / C++ / Rust
未尝试
coding-cross-feed-tick-match-count可练习
跨源行情心跳容差匹配计数

Cross-Feed Tick Match Count Within Tolerance Window

中等免费版Python / C++ / Rust
未尝试
coding-cross-feed-unmatched-ticks-each-side可练习
跨源行情两侧各自未匹配心跳计数

Cross-Feed Unmatched Tick Counts Per Side Within Tolerance

中等免费版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-cumret-drawdown-flagged-indices可练习
累计 PnL 回撤告警:超过阈值的水下时刻下标

Cumulative PnL Drawdown Alert: Sorted Indices Underwater Beyond Threshold

中等免费版Python / C++ / Rust
未尝试
coding-cumret-zero-crossings可练习
累计 PnL 零交叉次数:回测净值曲线的符号翻转计数

Cumulative PnL Zero-Crossings: Count Sign Flips of the Backtest Equity Curve

中等免费版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-currency-arbitrage-cycle-detection可练习
货币套利环检测(对数汇率上的 Bellman-Ford)

Currency Arbitrage Cycle Detection (Bellman-Ford on Log Rates)

中等免费版Python / C++ / Rust
未尝试
coding-deepest-no-drawdown-leaf-depth可练习
远期情景树上无中间回撤的最深叶深度

Deepest No-Drawdown Leaf on a Forward Scenario Tree

中等免费版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-distinct-symbols-with-open-orders可练习
持仓监控面板:当前在场的不同标的数量

Open-Order Dashboard Tile: Distinct Symbols Currently In Play

中等免费版Python / C++ / Rust
未尝试
coding-earliest-cumvol-target-from-each-day可练习
从每个起始日起累计库存达到目标量的最早结束日数

Earliest End-Day Reaching A Cumulative Inventory Target From Each Starting Day

中等免费版Python / C++ / Rust
未尝试
coding-earliest-k-orders-cooldown-thresholds可练习
序列化限价单 —— 含逐单触发价与强制冷却间隔的第 K 单最早触发日

Sequenced Limit Orders — Earliest K-th Fire Day With Per-Order Threshold And Cooldown Gap

中等免费版Python / C++ / Rust
未尝试
coding-earliest-window-sum-and-floor可练习
同时满足累计收益达到目标且窗口内单期不破下限的最早 K 期窗口

Earliest K-Period Window Whose Cumulative Return Meets A Sum Target And Whose Worst Single Period Stays Above A Floor

中等免费版Python / C++ / Rust
未尝试
coding-earliest-window-variance-breach可练习
最早一段总体方差严格越过冲击阈值的 K 日窗口

Earliest K-Day Window Whose Population Variance Strictly Exceeds A Spike Threshold

中等免费版Python / C++ / Rust
未尝试
coding-edit-distance-symbol-mapping可练习
Ticker 符号映射的编辑距离

Edit Distance for Ticker-Symbol Mapping

中等免费版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-enumerate-hedge-decompositions可练习
对冲分解组合枚举

Enumerate Hedge Decompositions

中等免费版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-factor-dependency-topo-order可练习
因子依赖拓扑序:夜间重建的确定性 min-heap Kahn 调度

Factor Dependency Topo Order: Deterministic Min-Heap Kahn for Nightly Rebuild

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

Filtered Historical Simulation VaR

中等免费版Python / C++ / Rust
未尝试
coding-first-duplicate-order-id可练习
首个被重复使用的订单 ID

First Duplicate Order ID

中等免费版Python / C++ / Rust
未尝试
coding-fix-message-checksum-verify可练习
FIX 风格尾字段校验和:管道分隔消息逐条三态判定

FIX-Style Trailing Checksum Verify: Trinary Label Per Pipe-Delimited Message

中等免费版Python / C++ / Rust
未尝试
coding-fix-tag-extract可练习
FIX 风格 tag 取值:在管道分隔消息中取数字 tag 的首个值

FIX-Style Tag Extract: First Value for a Numeric Tag in a Pipe-Delimited Message

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

GARCH(1,1) Multi-Step Variance Forecast

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

Universal Tick Unit: GCD of Per-Venue Tick Sizes

中等免费版Python / C++ / Rust
未尝试
coding-greedy-fee-tier-coverage可练习
用最少手续费档位覆盖目标交易量区间

Minimum Fee-Tier Selection to Cover a Target Volume Range

中等免费版Python / C++ / Rust
未尝试
coding-greedy-min-cost-fill可练习
走簿打穿:贪心最小成本撮合

Walking the Book: Greedy Minimum-Cost Fill

中等免费版Python / C++ / Rust
未尝试
coding-gsib-systemic-importance-score可练习
G-SIB 系统重要性评分与可替代性上限

G-SIB Systemic-Importance Score with Substitutability Cap

中等免费版Python / C++ / Rust
未尝试
coding-highest-k-day-range可练习
K 日最大波动区间

Highest K-Day Range

中等免费版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-scenario-replay-worst-k可练习
历史情景回放:滚动窗口最劣 K 条累计 PnL

Historical Scenario Replay: Worst-K Rolling-Window PnLs

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

Historical VaR at Multiple Confidence Levels

中等免费版Python / C++ / Rust
未尝试
coding-incremental-largest-component-size可练习
增量最大聚簇规模:因子对边事件流上的流式并查集

Incremental Largest Cluster Size: Streaming Union-Find on a Factor-Pair Edge Tape

中等免费版Python / C++ / Rust
未尝试
coding-insert-and-merge-orderbook-levels可练习
插入并合并订单簿价格档位区间

Insert and Merge Order-Book Price-Level Intervals

中等免费版Python / C++ / Rust
未尝试
coding-inverse-percentile-rank-by-pnl可练习
日 PnL 在历史分布中的反向百分位排名

Inverse Percentile Rank of Daily PnL Against Reference Distribution

中等免费版Python / C++ / Rust
未尝试
coding-jump-game-min-jumps可练习
跳跃游戏 II — 到达终点的最少跳数

Jump Game II — Minimum Jumps to Reach Last Index

中等免费版Python / C++ / Rust
未尝试
coding-k-day-momentum-hits可练习
K 日动量命中数

K-Day Momentum Hits

中等免费版Python / C++ / Rust
未尝试
coding-knapsack-symbol-selection-budget可练习
预算约束下的标的选择(0/1 背包)

Budget-Constrained Ticker Selection (0/1 Knapsack)

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

Kupiec POF Likelihood-Ratio Statistic for VaR Backtesting

中等免费版Python / C++ / Rust
未尝试
coding-largest-correlation-cluster-size可练习
最大因子聚簇规模:阈值化相关性图的最大连通分量大小

Largest Factor Cluster Size: Maximum Connected Component on a Thresholded Correlation Graph

中等免费版Python / C++ / Rust
未尝试
coding-largest-volume-rectangle-histogram可练习
直方图中的最大体积矩形

Largest Volume Rectangle in a Histogram

中等免费版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-longest-consecutive-sequence-hash可练习
最长连续整数序列(哈希集合)

Longest Consecutive Sequence (Hash Set)

中等免费版Python / C++ / Rust
未尝试
coding-longest-low-volume-window可练习
给定冲击预算下成交量序列的最长合规连续窗口

Longest Contiguous Window of Volumes Within an Impact Budget

中等免费版Python / C++ / Rust
未尝试
coding-longest-stable-trading-streak可练习
最长平稳交易区间

Longest Stable Trading Streak

中等免费版Python / C++ / Rust
未尝试
coding-longest-stairstep-cumret-with-min-gap可练习
最低增益门槛下的累积 PnL 报告期最长阶梯式子序列

Longest Stair-Stepping Subsequence Of Cumulative-PnL Reports Under A Minimum-Gain Gate

中等免费版Python / C++ / Rust
未尝试
coding-longest-streak可练习
击穿盈利目标的最长子窗口:单调栈解前缀和长度优化

Longest Sub-Window Beating a PnL Target via Monotonic-Stack on Prefix Sums

中等免费版Python / C++ / Rust
未尝试
coding-longest-window-abs-return-budget可练习
绝对收益累加不超出波动预算的最长尾部连续窗口

Longest Trailing Window Whose Absolute-Return Sum Stays Within a Volatility Budget

中等免费版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-marginal-pd-from-cumulative-term-structure可练习
由累计违约概率反推期边际违约概率:逆向 bootstrap

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

中等免费版Python / C++ / Rust
未尝试
coding-max-cumret-with-bounded-skips可练习
至多跳过 K 期下的最大已实现累积收益

Maximum Realised Cumulative Return When Allowed To Skip At Most K Periods

中等免费版Python / C++ / Rust
未尝试
coding-max-disjoint-positive-runs-min-len可练习
赢段计数 —— 在最小长度约束下,最多不相交正和运行段的数量

Winning-Streak Counting — Maximum Disjoint Positive-Sum Runs of Minimum Length

中等免费版Python / C++ / Rust
未尝试
coding-max-nonoverlap-windows-with-switch-gap可练习
单会话子单调度:FIX 重配间隔下的最大不重叠窗口

Single-Session Child-Order Scheduling with FIX Reconfigure Gap

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

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

中等免费版Python / C++ / Rust
未尝试
coding-max-reward-trades-min-gap可练习
在合规冷却期约束下的最大累计收益(带时间戳的候选交易)

Maximum Total Reward From Timestamped Trade Candidates Under A Compliance Hold-Period Gap

中等免费版Python / C++ / Rust
未尝试
coding-max-reward-with-action-switch-penalty可练习
三态动作路径 —— 含每次切换平摊惩罚的最大累计奖励

Three-State Action Path — Max Cumulative Reward With Flat Per-Flip Switching Penalty

中等免费版Python / C++ / Rust
未尝试
coding-max-strict-monotone-reward-subseq-sum可练习
最小步长递增日内收益子序列的最大累计和(阶梯 PnL 上限)

Max Sum of a Min-Step-Monotone Reward Subsequence (Stair-Step PnL Ceiling)

中等免费版Python / C++ / Rust
未尝试
coding-max-throughput-child-orders-with-windows可练习
单会话最大子单吞吐:每单独立时长与 FIX 重配间隔

Maximum Child-Order Throughput With Per-Order Durations And A FIX-Session Gap

中等免费版Python / C++ / Rust
未尝试
coding-maximum-concurrent-trades可练习
最大同时在仓交易数

Maximum Concurrent Trades

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

Mean-Excess Curve Across a Threshold Grid

中等免费版Python / C++ / Rust
未尝试
coding-merge-k-quote-streams-heap可练习
带溯源的 K 路报价流合并

Merge K Quote Streams with Lineage

中等免费版Python / C++ / Rust
未尝试
coding-merge-k-sorted-trade-streams可练习
合并 K 条交易所成交磁带

Merge K Sorted Trade Streams

中等免费版Python / C++ / Rust
未尝试
coding-merge-k-venue-trade-tapes可练习
将 K 路场所成交磁带合并为单一时间序流

Merge K Per-Venue Trade Tapes Into One Chronological Stream

中等免费版Python / C++ / Rust
未尝试
coding-merge-news-feed-streams可练习
多源新闻 Feed 取最新 N 条

Top-N Recent Items From Per-Source News Feeds

中等免费版Python / C++ / Rust
未尝试
coding-merge-two-trade-tapes可练习
合并两条成交磁带

Merge Two Trade Tapes

中等免费版Python / C++ / Rust
未尝试
coding-min-cancels-quote-stability可练习
最少撤单次数维持报价稳定

Min Cancels for Quote Stability

中等免费版Python / C++ / Rust
未尝试
coding-min-cancels-throttle-window可练习
节流窗口合规回放:最少需撤单次数

Throttle-Window Compliance Replay: Minimum Order Cancels

中等免费版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-cost-tickets-train-pass可练习
购买地铁通票的最小总花费

Minimum Cost for Train Travel Passes

中等免费版Python / C++ / Rust
未尝试
coding-min-cuts-stable-spread-runs可练习
波动稳定段切分 —— 在跨度上限下覆盖收益序列的最少段数

Regime-Stability Segmentation — Fewest Bounded-Spread Runs Over A Return Stream

中等免费版Python / C++ / Rust
未尝试
coding-min-fill-time-vwap-within-bps-band可练习
最早同时达到目标成交量且边际滑点未超阈值的秒数

Earliest Second Where the Algo Hits Its Volume Target Without Tripping the Slippage Cap

中等免费版Python / C++ / Rust
未尝试
coding-min-fillrate-meet-deadline可练习
给定每分钟 supply cap 下、按时填满父单所需的最小恒定 maker 填充率

Minimum Constant Maker Fill-Rate to Meet a Parent-Order Deadline Under Per-Minute Supply Caps

中等免费版Python / C++ / Rust
未尝试
coding-min-flatten-resets-keep-position-in-band可练习
仓位区间治理:保持净仓在 [-L, +L] 内所需的最少日终归零次数

Position-Band Governance: Minimum Flatten-Resets to Stay Inside [-L, +L]

中等免费版Python / C++ / Rust
未尝试
coding-min-hold-best-single-roundtrip可练习
最低持有期合规约束下单段多头 round-trip 的最佳已实现 PnL

Best Single Round-Trip Realized PnL Under a Minimum-Holding-Period Compliance Rule

中等免费版Python / C++ / Rust
未尝试
coding-min-hops-to-core-factor-set可练习
到核心因子集合的最少跳数:因子相似图上的多源 BFS

Min Hops to Core Factor Set: Multi-Source BFS on a Factor-Similarity Graph

中等免费版Python / C++ / Rust
未尝试
coding-min-leverage-cap-target-risk可练习
Calibrating the Minimum Leverage Cap for a Target Risk Budget

Calibrating the Minimum Leverage Cap for a Target Risk Budget

中等免费版Python / C++ / Rust
未尝试
coding-min-margin-haircut-bisect可练习
覆盖负债的最大统一抵押减值率:单调谓词下的二分搜索

Largest Uniform Collateral Haircut Covering a Liability via Bisection

中等免费版Python / C++ / Rust
未尝试
coding-min-max-drawdown-root-to-leaf-path可练习
情景树上根到叶路径中最小的最大回撤

Minimum Max-Drawdown Across Root-to-Leaf Paths

中等免费版Python / C++ / Rust
未尝试
coding-min-positive-sum-partitions可练习
净值分桶 —— 在每段长度上限下,最少的严格正和覆盖块

Tear-Sheet Bucketing — Fewest Strictly-Positive-Sum Cover Chunks With Per-Block Length Cap

中等免费版Python / C++ / Rust
未尝试
coding-min-replenish-keep-inventory-positive可练习
对冲存量补货:保持非负所需的最少补货次数

Hedge-Inventory Replenishment: Minimum Top-Ups to Stay Non-Negative

中等免费版Python / C++ / Rust
未尝试
coding-min-routers-with-setup-delay可练习
含 FIX 会话重配延迟的最小路由器数

Minimum Routers with FIX-Session Setup Delay

中等免费版Python / C++ / Rust
未尝试
coding-min-slippage-cutoff-meet-target-sum可练习
满足目标累计绝对加权滑点的最小截断阈值:单调谓词下的二分搜索

Smallest Slippage Cutoff Meeting a Target Absolute Weighted Cost via Bisection

中等免费版Python / C++ / Rust
未尝试
coding-min-spread-for-fill-rate可练习
Minimum Spread Tolerance for Target Fill Rate

Minimum Spread Tolerance for Target Fill Rate

中等免费版Python / C++ / Rust
未尝试
coding-min-window-size-meet-volume-target可练习
满足每个窗口都达到目标成交量的最小切片长度

Smallest Slice Length Whose Every Window Meets a Volume Target

中等免费版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-most-frequent-trade-fingerprint可练习
成交带异常检测:找出重复次数最多的成交指纹

Tape-Anomaly Detector: Most-Repeated Trade Fingerprint

中等免费版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-position-from-trade-events可练习
由原始成交流水计算日终净头寸

End-of-Day Net Positions from a Raw Trade Tape

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

Net Stable Funding Ratio: ASF over RSF Aggregation

中等免费版Python / C++ / Rust
未尝试
coding-next-all-time-high-index可练习
距离下一次新高的索引:首个严格高于「累积最高水位」的未来 tick

Time-to-New-All-Time-High: First Future Index Strictly Above the Running Peak

中等免费版Python / C++ / Rust
未尝试
coding-notional-by-venue-ranked可练习
按场所聚合的成交名义额排行榜

Notional by Venue, Ranked

中等免费版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-median-slippage可练习
在线滑点中位数

Online Median of Slippage

中等免费版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-optimal-cooldown-period-trades可练习
强制冷静期下的最优多次交易

Optimal Cooldown Period Trades

中等免费版Python / C++ / Rust
未尝试中等免费版Python / C++ / Rust
未尝试
coding-orphan-cancel-count可练习
路由可靠性检查:统计孤儿撤单数量

Router Reliability Check: Count Orphan Cancellations

中等免费版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-pancake-sort-flip-sequence可练习
煎饼排序:翻转序列

Pancake Sort: Flip Sequence

中等免费版Python / C++ / Rust
未尝试
coding-partition-orders-basis-mismatch可练习
拆单两腿对冲:最小化基差错配

Partition Orders to Minimize Basis Mismatch

中等免费版Python / C++ / Rust
未尝试
coding-percentile-pnl-linear-interp可练习
成交 PnL 的线性插值百分位

Linear-Interpolation Percentile of Trade PnL

中等免费版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-portfolio-whole-share-knapsack可练习
单名集中度限制下的整股组合分配

Whole-Share Portfolio Allocator under a Single-Name Cap

中等免费版Python / C++ / Rust
未尝试
coding-position-fingerprint-grouping可练习
组合持仓指纹聚类

Position Fingerprint Grouping

中等免费版Python / C++ / Rust
未尝试
coding-prev-stronger-bid-distance可练习
上一次更强买价的距离:到最近一次严格更高买价 print 的间隔

Prev-Stronger Bid Distance: Time Since the Last Strictly-Higher Bid Print

中等免费版Python / C++ / Rust
未尝试
coding-prob-of-reaching-target-leaves可练习
二叉情景树上击中目标叶集合的概率

Probability of Reaching a Target Leaf Set on a Binary Scenario Tree

中等免费版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-quartile-pack-and-iqr-from-returns可练习
期间收益的四分位包与 IQR

Quartile Pack with IQR from Per-Period Returns

中等免费版Python / C++ / Rust
未尝试
coding-rank-inversion-count可练习
排名失配对数:期望榜单与实测榜单的两两逆序对计数

Rank-Disagreement Count: Pairwise Inversions Between Expected and Realized Strategy Rankings

中等免费版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-realign-k-tapes-to-global-clock可练习
用各自的时钟偏移把 K 路成交磁带对齐到全局时钟

Realign K Trade Tapes to a Global Clock with Per-Tape Offsets

中等免费版Python / C++ / Rust
未尝试
coding-recovery-distance-after-each-day可练习
前向恢复距离:累计增益重新越过阈值所需天数

Forward Recovery Distance: Days Until Cumulative Gain Clears Delta

中等免费版Python / C++ / Rust
未尝试
coding-recursive-subtree-leaf-payoff-sum可练习
情景树上每节点的条件期望叶节点收益

Per-Node Conditional Expected Leaf Payoff on a Scenario Tree

中等免费版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-regime-transition-path-count可练习
状态机转移路径计数:可分辨催化剂下的 DAG 取模游走枚举

Regime Transition Path Count: Modular DAG Walk Enumeration with Distinguishable Catalysts

中等免费版Python / C++ / Rust
未尝试
coding-removing-k-digits-monotonic可练习
删除 K 位数字 — 最小结果

Removing K Digits — Smallest Result

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

Reverse Stress Test — Flag Scenarios That Hit a Loss Target

中等免费版Python / C++ / Rust
未尝试
coding-rolling-quote-stale-flags可练习
报价更新时间流上的"陈旧期后首次更新"标记

First-Update-After-Stale-Period Flags on a Quote-Update Timestamp Stream

中等免费版Python / C++ / Rust
未尝试
coding-rolling-trade-rate-window可练习
半开回看滑窗下的实时成交率计数

Live Trade-Rate Count over a Half-Open Lookback Sliding Window

中等免费版Python / C++ / Rust
未尝试
coding-rolling-vol-stable-window可练习
滚动样本波动率滑窗下的最长稳定波动率区间

Longest Stable-Volatility Regime via Rolling Sample-Stddev Sliding Window

中等免费版Python / C++ / Rust
未尝试
coding-rolling-window-range-spread可练习
双单调队列滑窗下的分钟级行情极差监控

Minute-Bar Range Monitor via Dual-Deque Sliding Max-Minus-Min

中等免费版Python / C++ / Rust
未尝试
coding-running-distinct-counterparty-count可练习
对手方多样性诊断:滚动累计不同对手方数量

Counterparty Diversity Diagnostic: Running Distinct Counterparty Count

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

Running Maximum Drawdown of a Streamed Log-Return NAV Path

中等免费版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-running-unbroken-bid-stack-sum可练习
仍未被击穿的买价栈累加和:当下尚未被覆盖的支撑层合计

Running Unbroken-Bid Stack Sum: Cumulative Support of Still-Standing Prior Bids

中等免费版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-scenario-tree-expected-pnl可练习
风险情景树的期望 PnL

Expected PnL on a Risk-Officer Scenario Tree

中等免费版Python / C++ / Rust
未尝试
coding-scenario-tree-worst-leaf-pnl可练习
风险情景树的最差叶 PnL

Worst-Case Leaf PnL on a Risk-Officer Scenario Tree

中等免费版Python / C++ / Rust
未尝试
coding-sector-day-return-rect-queries可练习
行业-交易日 收益方块:矩形区间求和的批量查询

Sector-Day Return Cube: Batched Rectangular Range Sums

中等免费版Python / C++ / Rust
未尝试
coding-shortest-window-abs-return-target可练习
绝对收益累加首次达到压力预算阈值的最短连续窗口

Shortest Contiguous Window Whose Absolute-Return Sum First Reaches a Stress-Budget Target

中等免费版Python / C++ / Rust
未尝试
coding-shortest-window-cum-return可练习
达到累计收益目标的最短窗口

Shortest Window Hitting a Cumulative Return Target

中等免费版Python / C++ / Rust
未尝试
coding-shortest-window-k-spikes可练习
收益流中包含 K 个幅度跳点的最短窗口

Shortest Window Containing K Magnitude Spikes in a Return Stream

中等免费版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-weighted-median-fillprice可练习
成交量加权中位数成交价

Size-Weighted Median Fill Price

中等免费版Python / C++ / Rust
未尝试
coding-sliding-window-max-quote可练习
报价滑动窗口最大值

Sliding Window Max of Quotes

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

Smallest Position Size Meeting Risk Budget

中等免费版Python / C++ / Rust
未尝试
coding-span-of-higher-highs可练习
新高跨度(连续低价天数)

Span of Higher Highs

中等免费版Python / C++ / Rust
未尝试
coding-sticky-position-best-pnl-with-flip-tax可练习
黏性二值仓位策略 —— 含每次切换税与初始状态锚定的最佳 PnL

Sticky Binary-State Strategy — Best PnL With Per-Flip Tax And Initial-State Anchor

中等免费版Python / C++ / Rust
未尝试
coding-stock-span-monotonic-stack可练习
在线股价跨度

Online Stock Span

中等免费版Python / C++ / Rust
未尝试
coding-strategy-pnl-bookkeeping可练习
按策略维度的盯市 P&L 簿记

Per-Strategy P&L Bookkeeping with Mark-to-Market

中等免费版Python / C++ / Rust
未尝试
coding-strategy-rank-by-sharpe-then-id可练习
策略排行榜:按 Sharpe 取前 K,同分按 strategy_id 字典序

Strategy Leaderboard: Top-K by Sharpe with Lexicographic Tie-Break

中等免费版Python / C++ / Rust
未尝试
coding-stream-running-vwap-merged-tapes可练习
跨 K 路场所成交磁带的 running VWAP 流式计算

Running VWAP Across Merged K-Venue Trade Tapes

中等免费版Python / C++ / Rust
未尝试
coding-streaming-median-time-window可练习
固定时间窗口内的流式中位数

Streaming Median Over a Fixed Time Window

中等免费版Python / C++ / Rust
未尝试
coding-streaming-running-mode可练习
流式运行众数:基于懒删除堆维护最高频值

Streaming Running Mode — Most-Frequent Value with Lazy-Deletion Heap

中等免费版Python / C++ / Rust
未尝试
coding-streaming-top-k-by-notional可练习
流式聚合:成交金额前 K 名股票

Streaming Top-K Tickers by Notional

中等免费版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-stressed-var-worst-rolling-window可练习
压力 VaR — 最差滚动窗口历史 VaR

Stressed VaR — Worst Rolling-Window Historical VaR

中等免费版Python / C++ / Rust
未尝试
coding-subarray-min-cost-fill可练习
订单簿全档位区间的均匀打穿股数总量

Total Uniform-Fill Shares across Every Order-Book Level Range

中等免费版Python / C++ / Rust
未尝试
coding-subarray-sum-equals-k可练习
和为 K 的子数组数

Subarray Sum Equals K

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

Subranges Above Return Threshold

中等免费版Python / C++ / Rust
未尝试
coding-sum-subarray-mins-pnl可练习
P&L 子数组最小值之和

Sum of Subarray Minimum P&Ls

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

Survival-Weighted Expected-Exposure Profile for CVA Aggregation

中等免费版Python / C++ / Rust
未尝试
coding-three-stream-synchronized-triple-count可练习
三流容差同步三元组计数

Three-Stream Synchronized Triple Count Within Tolerance

中等免费版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-top-k-pnl-days-so-far可练习
实时 Top-K 盈利日榜单

Top K PnL Days So Far

中等免费版Python / C++ / Rust
未尝试
coding-topk-slippage-stable-tiebreak可练习
TCA 最差 K 笔成交:滑点 Top-K 与到达序号稳定打破并列

TCA Worst-K Fills: Top-K Slippage with Stable Arrival-Seq Tiebreak

中等免费版Python / C++ / Rust
未尝试
coding-trade-graph-connected-components可练习
共同成交图:基于成交对的连通分量

Co-Trading Graph — Connected Components of Session Trade Pairs

中等免费版Python / C++ / Rust
未尝试
coding-trades-to-ohlcv-bars可练习
把成交磁带聚合为分桶 OHLCV K 线

Aggregate a Trade Tape Into Per-Bucket OHLCV Bars

中等免费版Python / C++ / Rust
未尝试
coding-trailing-high-watermark-span可练习
跟踪最高水位 span:每个 tick 的连续不超过当前价的回看长度

Trailing High-Watermark Span: Per-Tick Consolidation Length on a Synthetic Tape

中等免费版Python / C++ / Rust
未尝试
coding-trapping-volume-between-quotes可练习
局部高点报价之间的最大囤积体积

Trapping Volume Between Local-Max Quotes

中等免费版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-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
未尝试
coding-window-argmin-offset可练习
滑窗最低价的窗内偏移:每段定长窗口内最低价相对左缘的位置

Sliding-Window Argmin Offset: Per-Window Position of the Minimum Price Relative to the Window Left Edge

中等免费版Python / C++ / Rust
未尝试
coding-windowed-positive-fraction可练习
定长滑窗内严格正收益占比

Rolling Hit-Rate of Strictly-Positive Returns over a Fixed-Size Window

中等免费版Python / C++ / Rust