Skip to main content

3 posts tagged with "volatility"

View All Tags

A Simple Option Trading Strategy with Realized Volatility

· 7 min read
Qytrees Research
Qytrees Research
Quantitative Finance

In this blog, we discuss the relationship between realized volatility (RV) and implied volatility (IV), focusing on BTC as a case study. The goal is to introduce a simple option trading strategy that takes advantage of potential mispricing between RV and IV. We'll then compare the performance of this strategy against an alternative approach that doesn't incorporate RV information, highlighting the value of using RV in volatility-based trading strategies.

Disclaimer:

This analysis is for educational purposes only and is not financial advice. The strategies discussed, particularly those involving shorting options, carry significant risks, especially in volatile markets like cryptocurrencies. This blog does not cover the impact of margin, which can increase risk for traders.

What is Realized Volatility?

Realized Volatility (RV) measures the historical volatility of an asset by calculating the standard deviation of its spot price over a defined period. This gives traders insight into how much an asset’s price has fluctuated in the past. For more details on how RV is calculated, refer to here.

The key parameters in RV calculation are the frequency of observations and the lookback period. For instance, daily RV uses daily spot price observations, while weekly RV uses weekly observations. The lookback period determines how far back the analysis goes, providing an average volatility over that time frame. A well-chosen lookback period smooths out short-term fluctuations but remains relevant to current market conditions. If the period is too long, older data may skew the results and fail to reflect the latest market dynamics. Therefore, the lookback period must be long enough to ensure accuracy but not too long to lose relevance.

btc_rv

Daily Realized Volatility Observed at 8 AM UTC with Various Lookback Periods.

The graphic above shows the daily Realized Volatility (RV) using different lookback periods (15, 30, 60, and 90 days). As the lookback period increases, RV becomes smoother, reducing the influence of short-term fluctuations. This highlights the importance of selecting an appropriate lookback period when analyzing volatility—it's a crucial parameter for traders.

In this analysis, we focus on daily RV, as our strategy centers around daily expiring options. By aligning the RV calculation with the options' expiration timeframe, we ensure that the volatility we're analyzing is relevant to the short-term nature of the trades.

What is Implied Volatility?

Implied Volatility (IV) reflects the market's expectations for future volatility. In the options market, IV represents the volatility implied by the market prices of options contracts. For this analysis, we will focus on the 1-day At-The-Money (ATM) IV, which estimates how volatile the market expects the asset to be over the next 24 hours.

btc_iv

1D ATM Implied Volatility of BTCUSD at 8AM UTC.

The graphic above shows 1-day ATM implied volatility (IV) observed at 8 AM UTC daily, from July 2023 to October 2024. The IV is highly volatile, with significant fluctuations occurring from one day to the next. For example, on August 3rd, 5th, and 6th, 2024 (highlighted by coloured circles), IV surged from 35% to over 110%, then fell back to 75% the following day.

These significant changes in implied volatility (IV) are the result of short-term market dynamics. To demonstrate this, we’ve plotted the corresponding volatility smiles for the highlighted dates. Since these smiles are well-calibrated, it confirms that the observed IV fluctuations are directly influenced by shifts in market conditions.

smiles

1D BTCUSD Volatility Smile at 8AM UTC on 03-08-2024, 05-08-2024 and 06-08-2024.

Comparing Realized Volatility to Implied Volatility

When Realized Volatility (RV) is lower than Implied Volatility (IV), it suggests that the market may be overestimating future volatility based on historical data. This can create opportunities for traders to sell volatility through strategies like selling straddles or strangles.

However, since RV depends on the lookback period, it's important to determine which RV to compare against IV. In the graphics below, we plot daily ATM IV against RV for different lookback periods. The correlations between the two are weak, ranging from 15% to 24%, indicating that no single lookback period consistently outperforms the others in capturing this relationship.

interp

Daily Realized Volatility as a function of 1D ATM Implied volatility between July 2023 and October 2024.

The percentage of days when daily Implied Volatility (IV) is lower than daily Realized Volatility (RV) for various lookback periods, spanning from 1st August 2023 to 20th October 2024, varies between 50% and 60%.

Trading Strategy Based on RV and IV

Our strategy takes advantage of the difference between Realized Volatility (RV) and Implied Volatility (IV). We’ll compare RV, using different lookback periods, with the 1-day ATM IV at 8 a.m. UTC. If RV is lower than IV, we will sell a 1-day ATM straddle, aiming to profit from the possible market’s overestimation of future volatility.

Why Sell a Straddle?

A straddle is an options strategy where both a call and a put option are sold at the same strike price, with the expectation that the asset's price will remain close to that level. In this strategy, the straddle is held until maturity, without dynamic hedging. The options are sold when implied volatility (IV) is high, particularly when IV exceeds realized volatility (RV), allowing the seller to collect a higher premium.

The strategy profits if the asset's price remains stable, enabling the seller to retain part of the premium. However, it’s important to note that selling options carries significant risk if there are large price movements away from the strike price, as this can result in substantial losses for the seller.

Backtesting the Strategy

We will backtest this strategy and compare it to a simpler approach where we sell the 1-day ATM straddle every day, without considering the relationship between RV and IV. This comparison will allow us to assess how using RV as a signal in our strategy impacts overall performance. Since none of the lookback periods showed a clear advantage in the earlier analysis, this parameter will need to be calibrated during the backtest. It is a crucial element of the strategy that requires optimization.

For this analysis, we will use the average mid 1d-ATM volatility observed in the market. The straddle will be sold at the bid price, reflecting the highest price buyers are willing to pay. We will apply a 5% volatility spread as a proxy, which is a conservative estimate within the typical bid-ask volatility spread range of 3-8%, accounting for the difference between buying and selling volatility. This adjustment ensures that the strategy factors in market liquidity and spread costs.

Additionally, trading commissions will be included, similar to the fees charged by major exchanges. A fee will be applied for opening positions, calculated as a percentage of the spot index price of the underlying asset (typically 0.03%) at the time of the transaction, multiplied by the number of contracts. These fees will be capped in line with industry-standard fee structures as a percentage of the option price.

backtest

Backtesting the 1D ATM Straddle Short-Selling Strategy with a Signal Based on Realized Volatility (RV) using various Lookback periods, and comparing it to the approach of Selling the Straddle Daily, regardless of RV.

Conclusion

The backtesting results demonstrate that the strategy is sensitive to the chosen lookback period, with the 90-day lookback providing the best PnL profile while reducing the number of trades. These findings underscore the value of using Realized Volatility (RV) as a filter in options trading strategies. Incorporating RV as a volatility indicator can enhance the base strategy of selling daily 1D ATM straddles by mitigating risk during periods of high volatility and optimising overall performance.

By combining historical volatility measures, such as RV, with options trading strategies, traders can gain deeper insights and make more informed decisions. This approach highlights the potential to improve traditional options strategies by integrating reliable volatility metrics into the trading process.

Options and Leverage Trading

· 9 min read
Qytrees Research
Qytrees Research
Quantitative Finance

Leverage trading is a popular strategy among traders seeking amplified returns, especially in the volatile crypto markets. However, with high rewards come significant risks. Liquidations are common in futures trading, often resulting in substantial losses. For instance, on August 5, 2024, a significant market decline led to the liquidation of nearly 300,000 crypto traders from their leveraged positions or collateral trades, according to data from Coinglass. Reference

Disclaimer:

This article is purely instructional and is not financial advice. Long options trading comes with strategic advantages and risks, including the potential loss of the entire premium paid. While long options avoid the liquidation risks associated with futures, if the option expires out of the money, the premium is lost. Additionally, shorting options carries significant risks and is not discussed in this article.

The Dangers of Leverage Trading with Futures

Let’s use Deribit as an example. On this platform, the initial margin for futures leverage trading starts at 4%, allowing traders to leverage up to 25x their capital. While margin requirements increase slightly with position size, we’ll ignore that for simplicity.

Imagine you open a BTC futures position at $56,000 with 25x leverage. The initial margin required would be:

Initial Margin=4%×56,000=2,240USD\text{Initial Margin} = 4\% \times 56,000 = 2,240 \, \text{USD}

So, you need $2,240 to control a $56,000 position. Now, if the price rises to $64,000 (a market increase of 14.2%), your profit would be:

64,00056,000=8,000USD64,000 - 56,000 = 8,000 \, \text{USD}

This results in a net profit of:

8,0002,2402,240=257%\frac{8,000 - 2,240}{2,240} = 257\%

This example demonstrates the appeal of leverage trading—large returns with relatively small initial capital.

However, the maintenance margin for the same futures contract is typically 2%. This means that if the BTC price drops by just 2%, your position could be liquidated, resulting in a 50% loss on your initial investment. In the highly volatile crypto markets, a 2% price swing can occur within minutes, making leverage trading particularly risky. To mitigate this risk, it's crucial to set stop-losses or implement other risk management strategies.

The Power of Options in Leverage Trading

Now, let’s explore options—a more flexible and controlled way to leverage trades. While traditionally used for risk management, options also serve as powerful tools for speculation, offering both better control over downside risk and the potential for upside gains.

On platforms like Deribit , going long on an option means the only capital at risk is the premium you pay upfront. Unlike futures, there are no margin requirements, so liquidation is not a concern, even if the market moves against you. This provides traders with greater peace of mind while still offering the opportunity for significant returns.

For example, let’s say you purchase a 6-month call option with a $60,000 strike price while the spot price is $56,000. This option gives you the right (but not the obligation) to buy BTC at $60,000 upon expiration. However, you don’t have to wait until maturity to benefit—you can sell the option at any time. If the market moves in your favor, meaning the BTC price increases, you can lock in profits without needing to wait to exercise the option.

The option premium is influenced by factors such as implied volatility (σ)(\sigma), time to maturity (T)(T), and the underlying asset price (F)(F). A simplified formula to estimate the premium for an at-the-money (ATM) call option is:

Premium0.4σFT\text{Premium} \approx 0.4 \sigma F \sqrt{T}

This formula gives a quick approximation of the option premium, highlighting the importance of volatility, time, and asset price in determining the cost of the option. For instance, with an implied volatility of 50% and a 6-month maturity, the premium for an ATM call option on BTCUSD might be:

Premium0.4×0.5×56,000×0.5=7,919USD\text{Premium} \approx 0.4 \times 0.5 \times 56,000 \times \sqrt{0.5} = 7,919 \, \text{USD}

This premium is much cheaper than buying the underlying asset outright. Additionally, purchasing an out-of-the-money (OTM) option (e.g., a Call option with a strike price of $60,000 when BTC is at $56,000) offers an even cheaper premium while still providing leveraged exposure to price movements.

Options provide leverage through their premium structure. For at-the-money (ATM) options, the leverage factor is inversely proportional to σT\sigma\sqrt{T}. This means lower volatility (σ)(\sigma) and shorter time to expiration (T)(T) offer higher leverage. This principle applies broadly to all options—lower volatility and shorter time horizons generally provide higher leverage, but they also come with increased risk due to the shorter time window for the trade to move in your favour.

If the option remains out-of-the-money (OTM) by expiration, the buyer loses the entire premium. However, if the option goes in-the-money (ITM) (for example, if the spot price rises above the strike price for a call), the option holder can make substantial profits. Importantly, the trader does not need to wait until expiration and can unwind the position at any time, locking in profits before maturity if the market moves favourably.

Scenario Comparison: 5050% vs. 7070% Implied Volatility

Below are two tables comparing different scenarios at 50% and 70% implied volatilities. The option buyer purchases a call option with a strike price of $60,000 when the spot price is $56,000, with maturities ranging from 2 days to 1 year. The tables illustrate how the option's value changes if the spot price drops by 2% to $54,800 (where a leveraged future would suffer a 50% loss due to liquidation) or rises by 14% to $64,000 within a 1-hour timeframe for simplicity of the example.

performances

Evolution of a Call Option bought at spot = $56K under different rapid market scenarios (spot drop of 2% to $54.8K and sharp increase of 14% to $64K)

Key Takeaways

As shown in the tables, higher volatility provides lower leverage but also reduces the losses. The potential gains for short-tenor options like 2-day options are significant but come with high risk, as the likelihood of hitting the target price within such a short time is low.

Longer maturity options, on the other hand, allow more time for the market to move in your favour, offering a safer approach. The user can give the option time to recover losses and see the trade hypothesis play out.

With options, the trader is not worried about liquidation and retains full control over the strategy. Choosing the right maturity, strike, and understanding volatility levels provides flexibility in managing risks and rewards. A good strategy is one where the hypothesis is satisfied fairly quickly and allows the trader to exit with high gains without sticking too long in the option position and seeing the value eroding due to time decay.

An example of strategy and performance

Since March 2024, BTC has been ranging between $50K and $70K. In this signal generation, we use simple technical analysis to detect a possible trend for leverage trading using options. Let’s use Heikin Ashi on daily candles. Heikin Ashi is a type of candlestick chart that smooths out price data and highlights market trends by averaging price movements. Unlike traditional candlesticks, Heikin Ashi reduces noise in volatile markets, making it easier to identify trends and potential reversals.

A basic strategy is to go long once the daily chart switches from red candles to green candles, following the close of the first green candle.

strategy_bullish

Daily BTCUSD Heikin Ashi candles. Simple strategy: Go long on the first green candle close, short on the first red. To increase likelihood of success filter signals with Bullish/Bearish divergence of RSI only.

Visually, this strategy would have produced several winning trades and only a few minor losses. To increase the likelihood of winning, we add a powerful indicator: the Relative Strength Index (RSI). We go long only when a bullish reversal is detected. Using TradingView and our data, we observe the closure of a first green candle on 10th September 2024, following a series of red candles, alongside a bullish RSI reversal (i.e., lower lows on the price with higher lows on the RSI). The combination of these two events suggests a probable new positive trend, with an estimated likelihood of over 50%.

This is a simple example for illustrating option leverage. Traders can apply their own rules to detect trends or market moves.

On 10th September 2024, BTC’s price at candle close was around $56K, consistent with our earlier analysis. Based on this, we decided to go long with two out-of-the-money options: one with a short expiration of 18th October 2024 and another with a longer expiration of 25th June 2025. Both options, available on Deribit, have a strike price of $60K.

The results are shown below.

option_strats

3-hour BTCUSD candles post-10th September: Orange curve shows the evolution of a $60K call expiring 27th June 2025, and light blue curve shows the evolution of a $60K call expiring 18th Oct 2024.

Looking at the long-dated option, where market volatility (orange curve) is around 64%, as BTC rises from $56K to $64K between the 10th and 24th September, the option generates a net profit of 42%, offering a leverage factor close to 3 (42% profit compared to BTC's 14% price increase).

On the other hand, the short-dated option delivers an impressive 185% profit, translating to a leverage factor of 13 relative to BTC's price movement. These results align well with the approximation tables provided earlier, highlighting the potential for significant gains with shorter-tenor options.

Conclusion

In summary, while futures offer substantial leverage, they come with constant risk of liquidation. Going long options, on the other hand, provide more complex leverages with several degrees of freedom and offer a great variety of strategies with no risk of liquidation, making them a smarter choice for traders who want to maintain flexibility and control over their capital.

Long options still carry significant market risk, and the total loss of the premium paid can occur; therefore, a proper understanding of the risks involved is crucial.

In volatile markets like crypto, options give traders the time and tools to manage risk better while still benefiting from price movements.

Understanding Realized Volatility

· 5 min read
Qytrees Research
Qytrees Research
Quantitative Finance

Realized volatility is a statistical measure that quantifies the degree of variation in the price of a financial asset over a specific period. This metric provides insights into the past behavior of asset prices and can be valuable for derivative traders.

This chart shows Bitcoin's (BTC) realized volatility over the past year. The x-axis represents time, while the y-axis shows the annualized realized volatility percentage. Higher realized volatility zones indicate periods of increased market activity and price changes.

What is Realized Volatility?

Realized volatility is calculated based on historical price data and is mathematically defined as the standard deviation of past returns. It measures the historical price fluctuations of an asset, providing an indication of its actual volatility. Typically expressed as an annualized percentage, realized volatility offers a standardized method for comparing the volatility of different assets over various time periods.

There are multiple methods to calculate realized volatility. These parameters can be chosen by the user to adjust according to their needs.