您的位置: 零点财经>炒股知识>炒股90个交易公式> What’s the cost of active trading? A case study on the bid-ask spread on the futures from ZCE

What’s the cost of active trading? A case study on the bid-ask spread on the futures from ZCE

2024-09-02 10:43:35  来源:炒股90个交易公式  本篇文章有字,看完大约需要27分钟的时间

What’s the cost of active trading? A case study on the bid-ask spread on the futures from ZCE

时间:2024-09-02 10:43:35  来源:炒股90个交易公式

学会这个方法,抓10倍大牛股的概率提升10倍>>

Shiyang Ni

Z0019629

Key Results

- Estimating the slippage cost realistically is critical to the successful backtesting of an option hedging strategy.

- The bid-ask spread exhibits no clear intraday trend or U-shape pattern for almost all contracts. They concentrate within a fixed range.

- The bid-ask is mostly stable throughout a contract’s life cycle. It’s slightly wider during the early stages when the contract is just listed, and quite erratic during the delivery month. The change with life-stages is more pronounced with contracts from non-active months.

- We summarized the common quantiles for the bid-ask spread for each contract both by day and by life stages. These numbers will be referenced in future backtesting.

Introduction

A good estimation of trading costs is critical to realistic backtesting, especially for an option strategy with hedging. Whichever hedging method we adopt, we need to constantly trade futures and thus incur significant cost from trading. If the trading costs are not properly estimated, the backtesting result is essentially useless.

Trading cost comprises of two main components: commission and slippage. The former is typically a fixed parameter, either charged as a percentage of the instrument’s market value, or a fixed cost per contract. The latter, however, is more much complicated. It is affected by both the LOB thickness and the order size, and can be further complicated by the behavior of other high frequency players. Ideally the slippage should be modeled as a function of all these factors, but in practice such a method is usually too complex to implement. We thus need a rule of thumb for estimating the slippage.

The simplest method for estimating slippage is to use the bid-ask spread. When a market order is placed, it is matched against the best available price. Assuming that the limit order book (LOB) does not change significantly between the order being placed and executed, the best available price is the ask1 for buy orders and the bid1 for sell orders. If the last price is close to the midpoint of ask1 and bid1, the slippage incurred is approximately half of the bid-ask spread.

The goal of this report is to estimate the typical size of the bid-ask spread. First, we investigate whether the bid-ask spread shows any intraday patterns. In the stock market, trading volume often follows a U-shaped pattern—higher in the first half-hour after the market opens and the last half-hour before it closes. In this case, the bid-ask spread would likely be narrower at the beginning and end of each trading period and wider in the middle. If a similar pattern exists in the futures market, it would be beneficial to analyze the bid-ask spread separately for these two periods.

Next, we examine how the bid-ask spread changes as a contract approaches expiration. For each day, we summarize the distribution of the bid-ask spread and visualize it using a box plot. We will also record key quantiles of these daily distributions to serve as benchmarks for assessing the liquidity of a given contract on a specific date.

Evolution through a single day: no clear intraday trend exists, except during the early and final stages of an contract’s life cycle

The intraday pattern of the bid-ask spread may change during different stages of a contract’s life cycle. Trading activity may take a while to gather momentum when the contract is first listed, and will likely die down as it approaches the delivery month. During these two periods liquidity might be weaker, causing the bid-ask spread to exhibit more erratic behavior. To preclude the impact of time till maturity, we sampled three days for each month during which the contract is actively traded and plot the intraday evolution of the bid-ask spread for all days.

Below we present 8 plots. The first four are from the contract’s early life (maturity minus 1 year to minus 5 months). The next three are from the contract prime(maturity minus 5 months to 1 month). The last one is from the delivery month. Except for the day from the delivery month, the bid-ask appears to bounce within a fixed range for all days, demonstrating no intraday trend. That fixed range remains between 1 and 2 for most of the contract’s life, though it’s slightly wider during the first month after being listed, and very erratic throughout the delivery month.

dc07c1b53543fd0843e4610711bb257.png

d08bccd5c6719ba14f21f78d77b9184.png

We observe the same thing for contracts of other commodties. Take CJ, the Chinese dates futures, as an example. This commodity sees a relatively low turnover, but the bid-ask is still mostly stable within a small range, exhibiting no intraday trend. During the delivery month, the bid-ask experiences much larger swings, similar to what we observed with SA.

56ac795aca45cc5779b15c969f39bbc.png

Evolution Through Time: Stable throughout periods of active-trading

As long as the contract is actively traded, the bid-ask spread remains mostly constant, unaffected by the progression towards expiration. This is good news because we don’t need to partition the time too finely when gauging the bid-ask spread of a particular contract. This fact allows us to summarize the bid-ask spread by contract only, rather than by both contract and time.

Below we present how the median bid-ask spread evolves as the contract approaches expiry. As the intraday bid-ask spread concentrates within a small range centered around the median, the median is representative of the entire day’s data. Each row contains the plots for two contracts on a single commodity, one from an active month on the left, and the other from a non-active month on the right. While both contracts exhibit a stable bid-ask over time, the spread for the non-active-month contract experiences greater fluctuation.

6a47f3c70c17c8f886a559e5128a8e0.png

Magnitude of bid-ask spreads by contract and life-stages

We want a quick estimate of the bid-ask spread during backtesting. One way is to summarize the bid-ask for each contract on every trading date, and use the common quantiles from that distribution. We can adjust the quantile to reflect different liquidity stress levels – for example use the 99th quantile if the liquidity is drained and the 50th quantile otherwise. This method has the advantage of closely approximating the real history, but it suffers the potential drawback of instability. One has to inspect the data for all days to make sure no erratic values are unexpectedly used.

An alternative method is to use even simpler summaries for each contract. For each contract, instead of providing a summary for every day, we can divide its life cycle into early(the time of listing – delivery minus 5 months), prime and late (delivery minus 5 months to delivery minus 40 calendar days), and do a summary for three stages (delivery minus 40 calendar days to the time of delisting). This aggregation makes sense because the bid-ask spread is mostly stable within each stage, and experiences more significant changes between each stage.

Below is a partial result. The complete result is collected in our database to be referenced by future backtesting.


阅读了该文章的用户还阅读了

热门关键词

相关阅读

为您推荐

移动平均线
股票知识
MACD
老丁说股
热点题材
KDJ指标
读懂上市公司
成交量
股票技术指标
股票大盘
分时图
股市名家
概念股
缠中说禅
强势股
波段操作
股票盘口
短线炒股
股票趋势
涨停板
股票投资
长线炒股
股票问答
股票术语
财务分析
炒股软件
上证早知道
经济学术语
期货
股票黑马
股票震荡市场
理财
炒股知识
散户炒股
外汇
炒股战术
港股
基金
黄金






















































































































































































































































































































































































































































































































































































































































相关栏目推荐

栏目导航

友情链接

网站首页
股票问答
股票术语
网站地图

copyright 2016-2024 零点财经保留所有权 免责声明:网站部分内容转载至网络,如有侵权请告知删除 友链,商务链接,投稿,广告请联系qq:253161086

零点财经保留所有权

免责声明:网站部分内容转载至网络,如有侵权请告知删除