AI Summary
This video analyzes A-share market timing strategies using weekly data from the CSI 800 index over the past decade. The creator backtests different buy and sell day combinations to identify the most profitable weekly trading pattern, revealing that buying on Friday and selling on Tuesday yields the best returns.
Chapters
The A-share market is characterized by long bear markets and short bull markets, making investment experience poor. Most investors, especially new retail investors, enter during bull markets and suffer deep losses or exit during bear markets.
The strategy uses the CSI 800 index, which tracks the 800 largest stocks by market cap in the A-share market, representing overall market movements. The backtest covers weekly trading from January 1, 2015, to December 6, 2024.
Over the past decade, the CSI 800 index gained only 9.6% in total, showing minimal growth. Despite this, the weekly timing strategy can achieve significant profits.
The best returns come from buying at Friday's close and selling at the next Tuesday's close, holding the index for two days (Monday and Tuesday). This strategy yields returns exceeding 90%.
The worst performance occurs when buying at Tuesday's close and selling at any time the next week, with the largest losses when selling on Friday. This pattern results in consistent losses.
The creator shows code that calculates cumulative returns for each buy day and corresponding sell days. For example, buying on Monday and selling on Tuesday gives the best results, while selling on Friday gives the worst.
Buying on Friday and selling the next week is mostly profitable except when selling on Friday. The best return is 93.53% when selling on Tuesday.
Over the past 10 years, Wednesday has the highest number of down days (277), while Monday has the fewest (210). This suggests Monday is relatively stable, and Wednesday is the most volatile.
The analysis reveals a clear weekly pattern: buying on Friday and selling on Tuesday maximizes returns in the A-share market, while Tuesday buys and Friday sells are the worst. This strategy can turn a flat index into substantial profits, though it requires consistent execution.
Tutorial Checklist
💡 Key Takeaways
Optimal weekly timing
Reveals a specific, actionable pattern that can turn a flat index into significant profits.
01:25Volatility by day
Provides statistical evidence that Wednesday is the most volatile day, useful for risk management.
04:31Worst-case scenario
Highlights a common mistake that leads to consistent losses, valuable for avoiding pitfalls.
02:19Full Transcript
[00:00] 众所周知 A股熊长牛短 投资的体验并不好 那如果不折时 大部分的时间可能都是套牢的状态 但是折时也是一件非常难的事情
[00:13] 因为大部分的投资者 尤其是新入市的小散户 都是在牛市的时候纷纷入场 在进入熊市的时候 深度套牢或者是割肉出局 那接下来我们就用这个大数据统计分析一下
[00:26] 我们从这个周度的折时的角度 来回测一下过去十年的交易 我们以宽基指数中正800为例 中正800指数是全A股市场 市值最大的800只股票的宽基指数
[00:39] 代表了整个A股市场的涨跌情况 那我们的策略是 以当周的某一个交易日买入 以次周的某一个交易日卖出 每周都交易 那在这两个
[00:52] 哪两个交易日里面的买卖 可以实现收益最好呢 在给出结论之前 我们先给出过去十年 也就是2015年1月1日至2024年12月6日
[01:07] 中正800指数的涨幅数据是9.6% 虽然十年指数也没怎么涨但是我们通过统计分析通过周度的折识的方法呢也是可以获得最好的收益和盈利的那我们首先直接给出
[01:25] 研究的结果 我们的这个收益最好的是 在每周五的收盘价买入 然后在下一周的 周二的收盘价卖出 这个收益是最好的 也就是说
[01:37] 每周持有的这个指数 持有的时间是两天 也就是周一和周二 那我们把所有的这个
[01:51] 买入的时间点和卖出的时间点 都给大家展示出来了 我们分别以周一买入 然后下周一 周二周三周四周五卖出 一次然后一次 然后周二买入
[02:04] 然后从周一到周五全部卖出 一直到周五买入 然后下周一一直到周五卖出 我们就可以就是得到了所有的数据 我们这边已经给大家标红了 收益最好的就是在周五的收盘买入
[02:19] 然后在下一周的周二收盘卖出 这个收益率可以达到90%以上 那表现最差的就是在周二的收盘买入然后在下周任何一个时间买入都是亏钱的如果说是在周二的收盘买入在下周的周五卖出亏钱是最大的在无限的亏钱
[02:37] 那接下来呢 我们就用这个代码的方式 给大家展示一下 我们这边策略已经写好了代码 然后会计算一下 每周的不同的买入时间
[02:51] 对应的下一周的 不同的卖出时间的 这个收益的情况 我们这边先以周一为例 我这边输入0 就是代表周一 然后运行一下代码 我们可以看到 在周一的收盘买入 然后下一周卖出
[03:05] 不同的对应的 不同的这个 累计的收益的情况 周二卖出是表现是最好的 然后下周的周五卖出 是表现是最差的 我们再来看一下周二的情况
[03:17] 如果是在周二的收盘买入 在次周卖出 无论是在次周的周一 还是周五 全部都是亏损的 尤其是周五亏损的最严重 我们再看一下周三的情况
[03:36] 周三的收盘买入 下一周的卖出也是周二表现最好 周五卖出表现最差那我们再来看一下周四的情况周四的售盘买入下一周周二依然是周二卖出表现最好
[03:54] 周五卖出是最差 我们再看一下周五的情况 我们在周五买入
[04:06] 在四周的卖出基本都是赚钱的 除了周五卖出 我们可以看到周二卖出 收益最好的达到93.53% 这个就是我们刚刚在这个
[04:18] PPT里面展示的这个结果 然后我们也这边也统计了一个数据 就是过去10年 平均在周一到周五 所有的交易日里面
[04:31] 平均下跌的这个次数最多的 次数是星期三 下跌达到了277次 然后上涨的下跌次数最少的是210 三次是每周一
[04:43] 周一的是跌幅是最少的 跌幅的次数最少的 周三的跌幅的次数是最多的 最后呢 如果说大家喜欢我的视频
[04:56] 欢迎点赞关注转发 那我们下一期视频再见