redditalpha logoredditalpha
← 返回看板
分享
7100%
r/optionsr/options· u/Expert_CBCD· 5 天前 6

机器学习模型的期权策略

投资者摘要中性

作者分享了预测SPY、QQQ和IWM每周上涨1%的机器学习模型回测结果,并寻求期权策略建议。

帖子正文
高质量模型翻译结果

大家好,

我并非期权交易新手(已有几年经验),但这次更想请教大家,在我的模型结果基础上,哪种策略最为合适。鉴于帖子内容较长,我觉得值得单独发一个帖子——不过如果版主认为更适合放入安全港湾帖中,我也很乐意重新发布。

我过去两年一直在研究股票与机器学习模型,现已开发出一个表现不错的模型,打算开始用模拟交易测试期权策略,但还不确定该如何设置参数。

我的模型主要使用少量预测因子,来判断SPY在当周从周一开盘起是否会上涨至少X%。之所以说X%,是因为模型采用的是训练期内计算出的周一开盘以来的每周中位数高点(确保无前瞻偏差),这个数值通常在0.9%到1%之间。

该模型在各类股票上表现良好,尤其在SPY、QQQ和IWM上效果显著。使用10年/1个月滚动训练与测试周期,我在预测ETF当周是否达到1%涨幅方面,相对基准模型取得了较高的准确率。具体结果如下所示。

|代码|策略|交易周数|胜率|每笔平均收益|每周平均最大盈利|平均设定门槛|

|:-|:-|:-|:-|:-|:-|:-|

||

|SPY|策略1(短线客)|171|72.51%|0.3339%|2.1458%|0.92%|

|SPY|基准1|518|49.61%|0.1328%|1.3506%|0.95%|

|QQQ|策略1(短线客)|155|68.39%|0.1618%|2.5775%|1.25%|

|QQQ|基准1|518|54.25%|0.2068%|1.7988%|1.25%|

|IWM|策略1(短线客)|159|67.92%|0.3213%|2.5997%|1.33%|

|IWM|基准1|518|51.93%|0.0855%|1.8699%|1.35%|

可以看到,对于这三只代码,模型的预测能力比基准高出13%(QQQ)至22%(SPY)。每笔平均收益指的是:若采取“一旦触及门槛即卖出”的策略,我们发现SPY和IWM的平均收益更高,但QQQ则不然。同时,我们也看到每周平均最大盈利(即理论上可实现的最高平均利润)也高于基准水平。

如果你采取周一开盘买入并持有至周末的策略,结果如下所示:

|代码|策略|交易周数|胜率|每笔平均收益|每周平均最大盈利|平均设定门槛|

|:-|:-|:-|:-|:-|:-|:-|

||

|SPY|策略2(持有者)|171|58.48%|0.5827%|2.1458%|0.92%|

|SPY|基准2|518|57.34%|0.2361%|1.3506%|0.95%|

|QQQ|策略2(持有者)|155|54.19%|0.4886%|2.5775%|1.25%|

|QQQ|基准2|518|58.88%|0.3543%|1.7988%|1.25%|

|IWM|策略2(持有者)|159|54.72%|0.3758%|2.5997%|1.33%|

|IWM|基准2|518|53.09%|0.1424%|1.8699%|1.35%|

胜率——即盈利周数——模型与基准大致相当,但所有三种ETF的平均收益均更高。

基于以上结果,我想请教大家:最适合用期权进行交易的策略是什么?我最初的设想是:当出现信号时,在周一开盘买入平价(ATM)的30天到期(30DTE)认购期权,并在标的资产触及最低门槛时卖出。但我明白这种做法对尾部风险较为敏感,因此需要极高的胜率来弥补。

使用牛市价差(bull call spread)会不会更好?并在触及门槛时平仓了结?非常期待了解大家会如何根据这些信息来操作。也许期权根本就不是适合这里的策略。

另外,欢迎随时提问或对我结果提出批评。

讨论 · 高赞评论6 条精选
u/Spiritual_Bat7343 3· 5 天前

couple thoughts since youre asking for the options expression specifically.

first the horizon. your signal is weekly, monday open to friday, but youre reaching for 30dte calls. that mismatch means youre buying ~25 days of theta and vega you have no thesis on. use weekly dated options, roughly 5dte, so the contract actually expires around your decision window instead of carrying exposure you dont have a view on.

second, structure. your model predicts hitting a specific +1% hurdle and your rule is to sell when it hits. that is the textbook case for a call debit spread, long atm and short right around the +1% target strike. it caps profit exactly where you were going to exit anyway, so the capped upside costs you nothing, and it cheapens entry and cuts the theta and vega bleed. so yes, the bull call spread is better here, not despite your exit rule but because of it.

third, why defined risk matters at a 72% hit rate: the long call's problem is the 28% of weeks that miss, theta grinds those to dust and that tail compounds. capping the loss per miss with the spread is what lets a 72% win rate actually compound instead of getting eaten by the misses.

whether outright vs spread wins on a given monday depends on iv rank at signal time. low iv rank, the outright is cheap and the spread saves little. high iv rank, the short leg is worth a lot so the spread is clearly better. i pull iv rank and the implied weekly move from thetaedge monday morning to make that call.

last and most important: your backtest is on the underlyings return, not the options pnl. that 0.33% avg per trade will not survive bid ask, theta and entry iv once you map it onto actual contracts. before you trust any of this, rerun the backtest on simulated option pnl with realistic fills. plenty of real underlying edges die the moment you put them through an option chain.

u/CODE_HEIST 2· 4 天前

Before choosing the option structure, translate the model output into expected option PnL. A 72 percent chance of the underlying touching plus 1 percent is not the same as a profitable call trade. Time to target, IV, spread, and exit rule decide the structure.

u/Good_Character_20 2· 5 天前

Two things to address before picking the structure, plus a sanity check on whether options is the right vehicle at all. First, your 72% win rate is on the underlying hitting 1%, not on your option P&L being positive. If SPY hits 1.0% on Tuesday and closes Friday up 0.6%, an ATM call you bought Monday may still be down on theta. Rerun the backtest on actual option P&L, not the underlying hit rate. That's the metric that decides everything.

Second, your edge is directional, not vol. Naked ATM calls expose you to both, which is wasteful. Bull call spread (buy ATM, sell at your +1% hurdle target) isolates the directional bet from the vol bet. Use the weekly that expires Friday, not 30DTE. Your forecast horizon is one week; a 30DTE option has 3 weeks of theta you paid for but won't use.

Sanity check on the bigger question. Your Scalper avg return is 0.33% of the underlying. After option mechanics that's maybe 5-8% on premium, before commissions and bid-ask. The Holder variant gets 0.58% but the win rate drops to 58% which is barely above baseline 57%. There's a real chance the model's edge gets eaten by option transaction costs at this magnitude. Worth running a parallel backtest on SHARES with leverage (SSO or UPRO) and comparing net Sharpe before committing to options at all.

u/Next-Trainer3341 1· 4 天前

Good stuff.One thing I'd dig into before picking the structure though —

what does the move distribution look like after the signal fires?

Not just the hit rate, but how far SPY actually runs on the winners. Because if most winning trades tap the 1% level and stall,

that's one setup. But if you occasionally catch a 3-4% trend

week in there, that changes everything about how you'd structure

the trade. 70% accuracy is a solid edge. But whether you express it with

spreads, naked longs, or something further OTM really comes down

to whether your winners are mostly small moves or whether a few

big weeks drive most of the returns. Have you looked at that breakdown?

u/Expert_CBCD 1· 4 天前

Many thanks for the feedback u/Good_Character_20 and u/Spiritual_Bat7343! It gave me a lot to think about about the model's utility with options. Fundamentally, I wish I could have used actual options data, which I don't have access to yet. I'll take a deeper dive based on your comments - thanks!

u/Inside-Needleworker3 1· 5 天前

Been using depth4.com for options lately — it maps the full macro cascade, not just headlines. Surprisingly useful for timing. Worth checking if you're curious.