CODING CHALLENGES

代码题库

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

继续刷题

题目列表

显示 74 / 646 道可提交题。 当前筛选:标签:Sell Side Quant,难度:中等

提交状态:未尝试未正确已正确
未尝试
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-bachelier-implied-vol订阅锁定
Bachelier (正态) 模型下从看涨期权报价反推隐含波动率

Bachelier (Normal) Implied Vol from a Quoted Call

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

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

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

CRR Binomial Tree for an American Put

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

CRR Binomial Tree for a European Call

中等面试准备Python / C++ / Rust
未尝试中等面试准备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-yield-to-maturity订阅锁定
固定票息债券的连续复利到期收益率

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

中等面试准备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-bucket-vega-hedge-allocator订阅锁定
离散桶状 vega 对冲配比器

Discrete Bucket-Vega Hedge Allocator

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

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

中等面试准备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-cliquet-call-mc订阅锁定
本地封顶 Cliquet 看涨期权的蒙特卡洛定价(含对偶变量法)

Locally-capped Cliquet Call MC Pricing with Antithetic Variates

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

European Call MC with Geometric-Asian Control Variate

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

Cross-Gamma PnL Attribution: Two-Asset Greek Decomposition

中等面试准备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-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-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-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
未尝试
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-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-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-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-jarrow-rudd-tree订阅锁定
欧式期权的 Jarrow-Rudd 二叉树定价

Jarrow-Rudd Binomial Tree for European Options

中等面试准备Python / C++ / Rust
未尝试
coding-leisen-reimer-tree订阅锁定
欧式期权的 Leisen-Reimer 二叉树定价

Leisen-Reimer Binomial Tree for European Options

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

Fixed-Strike Lookback Call Pricing via Monte Carlo

中等面试准备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-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-delta-aggregation订阅锁定
按标的汇总账本 delta

Aggregate Book Delta per Underlying

中等面试准备Python / C++ / Rust
未尝试
coding-prune-binomial-tree-min-nodes订阅锁定
二项树价值剪枝

Prune Binomial Tree to Min Nodes

中等面试准备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-range-accrual-pricer订阅锁定
Range-Accrual 票据每日观测蒙特卡洛定价(含对偶变量法)

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

中等面试准备Python / C++ / Rust
未尝试
coding-replicate-vanillas-into-portfolio订阅锁定
用 vanilla 期权稀疏复制奇异期权 payoff

Sparse Vanilla Replication of an Exotic Payoff

中等面试准备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-svi-slice-fit订阅锁定
Fit SVI Parameters to a Single Expiry Slice

Fit SVI Parameters to a Single Expiry Slice

中等面试准备Python / C++ / Rust
未尝试
coding-theta-decay-attribution订阅锁定
多仓位四 Greek 盈亏归因(含 theta 衰减)

Multi-Position Four-Greek P&L Attribution with Theta Decay

中等面试准备Python / C++ / Rust
未尝试
coding-trinomial-tree-american-put订阅锁定
美式看跌期权的 Boyle 三叉树定价

Boyle Trinomial Tree for an American Put

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

CRR3 Trinomial Tree for a European Call

中等面试准备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-vasicek-mle-fit订阅锁定
Vasicek MLE Fit from a Short-Rate Series

Vasicek MLE Fit from a Short-Rate Series

中等面试准备Python / C++ / Rust
未尝试
coding-vega-bucket-by-maturity订阅锁定
按到期日分桶聚合 vega 风险敞口

Bucket Vega Exposure by Maturity

中等面试准备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-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-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