M 917 536 3378 maksim_kozyarchuk@yahoo.com |
Kupala-Nich Mission and GTRThe mission of Kupala-Nich is to provide portfolio valuation for free and in open source. While this is achievable for listed securities using market data from platforms like Yahoo Finance, the challenge lies in valuing over-the-counter (OTC) derivatives such as swaps, forwards, and options. Unlike listed securities, OTC derivatives require both models and market data for valuation. While models for vanilla derivative products are relatively standardized and well-supported in the open-source space, market data is a different story. Not only is it unavailable for free, but market data vendors often charge exorbitant fees, with pricing structures designed to monetize every user who accesses this data. Such a model is inherently unscalable for a platform like Kupala-Nich. GTR to the rescue. In response to the 2007 financial crisis, the Dodd-Frank Act established Swap Data Repositories (SDRs) and Global Trade Repositories (GTRs) to enhance transparency in OTC derivatives markets. The CFTC section of the GTR hosted on DTCC provides open access to anonymized records of all OTC trades conducted within U.S. jurisdiction. This data, accessible within an hour of trade execution through the CFTC Dashboard, reflects current trading levels for a wide range of instruments, including interest rate swaps, FX forwards, and options. This data provides an accurate representation of the market both intraday and at EOD, albeit with a slight delay. How Can GTR Help with Derivative Valuation?The fundamental building block of derivative valuation is discount and forward curves, which are required for pricing most, if not all, derivative products. By leveraging GTR, Kupala-Nich can extract market levels for Swap Rates across a broad range of currencies, giving us the ability to build both discount and forward curves. The CFTC section of GTR has five sections: Commodities, Credits, Equities, FX, and Rates. While all tabs will be useful over time, to build curves, we will use the Rates section for G10 currencies and the combination of Rates and FX sections for NDF currencies. Below are daily counts of IR Swap and FRA trades reported on GTR for major currencies. As you can see, the volumes are substantial enough to provide indicative levels across a broad range of currencies. FX volumes are similar, though weighted more toward NDF currencies as deliverables are generally not reportable.
Building the USD-SOFR-OIS CurveAs a starting point and to validate GTR as a reliable source for curve construction, the focus is on the USD-SOFR-OIS Curve. Using GTR, the curve is constructed from available trade data. For example, on 2025-01-13, there were 5734 trades available as inputs for the curve. Narrowing down to IR Swaps on USD-SOFR-COMPOUND yields 4400 trades. The majority of these are either spot starting or starting on the next IMM date. IMM-starting OIS Swaps often have upfront fees, making them more challenging for curve calibration, so the focus is on spot-starting OIS swaps, leaving 1700 trades. Further filtering for non-standard terms and excluding maturities with only one trade leaves approximately 500 trades with the following distribution:
Plotting the average and median rates yields the following: Observations:
Using 1m, 3m, 6m, 1y, 2y, 3y, 5y, 7y, 10y, 20y, and 30y buckets and rolling up dates around them yields a much smoother curve. Plotting six days' worth of dates side by side confirms this approach. This curve looks reasonable and consistent. The curve built from GTR data is not a point-in-time curve but rather a reflection of trades executed over a period. This analysis is based on daily trades, but for intraday curves, the sampling range could be reduced to several hours to provide a more real-time view. Typically, OIS curves are built using Bloomberg tickers. These tickers are based on polling of dealer quotes conducted by Bloomberg and should provide a more consistent point-in-time snapshot. GTR curves, on the other hand, use historical trades to imply fair value rates. If a historical time series of Bloomberg quotes becomes available, a historical regression analysis can be performed to compare OIS curves derived from Bloomberg vs. GTR. Below are some commonly used Bloomberg tickers for USD OIS:
By using these Bloomberg tickers for validation, the derived GTR curves can be compared against industry-standard benchmarks to ensure accuracy and reliability. Next StepsGTR data looks quite promising, but there is still a lot of work ahead on choosing a modeling library, designing data models for curve and swap repositories, as well as building UIs to visualize curves and to drill into and explain swap valuations. If you have any opinions or suggestions, I would love to hear from you! | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||