Professional Documents
Culture Documents
Chapter
21
INTRODUCTION
This chapter provides the necessary insight into best-in-class practices used
to build and develop a customized suite of transaction cost analysis tools
using the Kissell Research TCA library. The transaction cost analysis
(TCA) library is available for different software packages including
MATLAB, Python, Excel, C/Cþþ, Java, .NET, and Hadoop. The package
is also available as a Generic COM Component and as a standalone EXE
file.
These functions are beneficial for portfolio management and TCA, and were
built using the formulas and mathematical framework presented in the pre-
ceding chapters. The most important reason for any firm to have a TCA
function library is that it allows firms to develop customized analytics
that can be easily combined with their own proprietary forecasting and
alpha generating models, and integrated into their own customized invest-
ment decision-making processes.
These TCA libraries help investors bridge the gap between portfolio man-
agement and trade execution. Investors no longer need to access broker-
dealer and third-party APIs and/or webservers. Most importantly, these
TCA tools provide investors with opportunity to incorporate their own pro-
prietary research and market views directly into their own quantitative
models, thus, eliminating the potential for information leakage, and ulti-
mately, leading to increased portfolio performance.
These library functions provide investors with the necessary suite of analyt-
ical functions to perform research related to global TCA, portfolio manage-
ment, investment research, portfolio and trade schedule optimization,
market microstructure research, and alpha capture analyses. It also provides
the foundation to develop a real-time algorithmic decision-making frame-
work based on the investment objective of the fund. These library functions
include a full collection of functions to perform various analyses including:
pre-trade analysis, post-trade analysis, cost curve derivation, liquidation
cost analysis, and single stock optimization, and multiperiod trade schedule
optimization.
The TCA library package can be downloaded from www.KissellResearch.
com.
TCA Library
KRG Models can be incorporated into Client Models, Analyses, and
Trading Systems. We provide TCA libraries for the following:
n MATLAB
n Python
n Excel Add-Ins
n C/Cþþ
n Java
n .NET
n Hadoop
n Generic COM Components
n Standalone EXE files
The TCA library is an essential trading tool for:
n Traders: Traders utilize the TCA library to develop customized trading
analytics and perform transaction cost analysis, pretrade cost estimation,
trade strategy evaluation, and posttrade measurement right on their own
desktop. These analytics assist traders develop appropriate algorithmic
decision-making rules that are consistent with the investment objective
of the fund. These libraries have been developed to so that funds can es-
timate market impact and trading costs, perform optimization, and deter-
mine which brokers and which algorithms perform best under different
types of market conditions. Since these analytics are developed by the
investors, they can independently rank brokers based on trading perfor-
mance and the value-added to their fund.
n Portfolio Managers: Portfolio managers utilize the TCA library to
develop alpha capture models and proprietary MI factor scores that
can be integrated into stock selection models, portfolio construction pro-
cess, as well as optimization. Managers use these tools to evaluate the
global trading cost environment, market impact, and its implications
on portfolio returns. These TCA library functions allow analysts to con-
structed long-term global cost indexes which can be used to back-test in-
vestment ideas and trading strategies, and perform portfolio
optimization. Portfolio managers also use the functions to develop
Transaction Cost Analysis Using the TCA Library 561
advanced liquidation cost analyses that not only estimate the current cost
of the trade list but evaluate the expected trading costs that may arise un-
der extreme market conditions such as decreased liquidity, spiking vola-
tility, and adverse price momentum. These analytics ensure managers
have the necessary information on hand to perform analyses that will
enable funds to achieve their maximum level of returns.
n Compliance Officers: Compliance officers utilize the TCA library to
develop trade reports to ensure that brokers are meeting their best execu-
tion obligation to the fund. These reports monitor broker performing dur-
ing ensure brokers are adhering to properly specified trading rules and
guidelines, and if not, they provide investors with insight into how
best to revise trading rules and change algorithms given the real-time
market conditions. These reports can also serve as a report card of trade
execution quality for the broker after trading has completed, and to help
adhere to ever changing regulatory requirements.
n Quantitative Analysts: Quantitative analysts utilize the TCA library to
develop advanced proprietary financial models to assist in the stock se-
lection and investment decision process. Most importantly, these ana-
lyses can be run on the investors own desktop which preserves
information leakage that may be associated with accessing information
on a third-party website or API. These TCA research models can be in-
tegrated directly into proprietary optimizers, alpha stock selection
models, and trading systems to maximize opportunity to achieve their
trading and investment objections. These TCA libraries can help funds
manage trading costs through all phases of the investment process.
n Corporations: Corporations use these TCA library functions to evaluate
company stock price movement and trading behavior in their stock. Cor-
porations can develop analytics to help uncover possible high frequency
trading in their stock and its overall consequence on the long-term
growth potential of stock price. The library functions also provide the
necessary analytics needed to develop appropriate buy-back programs,
as well as to evaluate the buying/selling pressure on the price of the stock
due to outside market participants.
Smart Order Routing (SOR): The TCA library allows traders to develop
smart order routing models (SOR) to improve overall trading performance
and reduce trading costs. These analytics assist investors evaluate expected
transaction costs across different trading venues based on market volumes,
price momentum, and turnover at each location. This provides investors
with the trading venue that will maximize the likelihood of achieving a fill
at the investor’s desired price or better. It also provides whether the order
should be routed to an exchange, to a displayed venue, or to a dark pool.
The TCA library helps investors perform advanced SOR analysis.
Cost Curves: Cost curves are used by portfolio managers as part of portfolio
construction and the investment decision process. Managers can utilize the
TCA library to develop analytics to compute the trading cost for a various
order sizes (such as %Adv, share quantity, dollar value) and by trading stra-
tegies such as VWAP, a specified percentage of volume (POV rate), or trade
time. These data can be incorporated into proprietary stock selection models,
quantitative screens, and optimization models. The TCA library allows these
estimates to be calculated on your own desktop and ensures the preservation
of valuable investment research.
Liquidation Cost Analysis: Portfolio managers and compliance officers can
utilize the TCA library to perform analysis on the portfolio to understand the
cost and risk of liquidating orders. The TCA library allows investors to
stress-testing portfolios under extreme market conditions, decreased
liquidity, spiking volatility, and failing company fiscal health. These ana-
lyses provide investors with insight into the potential consequences on the
portfolio resulting from dire market conditions and an unfavorable economy.
Investors can develop customized models and analytics to ensure adherence
to increasing and stringent regulatory liquidity requirements.
Optimization: Portfolio managers use the TCA libraries to develop custom-
ized optimization models and alpha forecasts. These can then be incorpo-
rated directly into proprietary investment decision processes. These
include portfolio optimization, stock selection, portfolio management, alpha
generation, and trade schedule optimization. It also provides investors with
ability to perform liquidation optimization to determine the most appropriate
orders and shares to sell from a portfolio in times of cash redemption needs.
Research: Analysts use the TCA library to develop customized and ongoing
research pertaining to global trading costsdby region and by country, and
research pertaining to market volumes, volatility, and correlation, and research
on the current market microstructure environment. In addition, analysts can
develop market research and commentary related to sector trading and invest-
ment styles, portfolio risk management, macro-economic trends, etc. The
Transaction Cost Analysis Using the TCA Library 565
Pretrade Analysis
n ¼ krgIstar()
n ¼ krgTempMI()
n ¼ krgPermMI()
n ¼ krgMI()
n ¼ krgTR()
n ¼ krgPA()
n ¼ krgLF()
n ¼ krgTotalTR()
Posttrade Analysis
n ¼ krgTCACost()
n ¼ krgZScore()
n ¼ krgValueAdd()
n ¼ krgRPM()
566 CHAPTER 21 Transaction Cost Analysis (TCA) Library
Pre-Trade Analysis:
¼ krgIstar() U U U U U U U U U U
¼ krgTempMI() U U U U U U U U U U
¼ krgPermMI() U U U U U U U U U U
¼ krgMI() U U U U U U U U U U
¼ krgTR() U U U U U U U U U U
¼ krgPA() U U U U U U U U U U
¼ krgLF() U U U U U U U U U U
¼ krgTotalTR() U U U U U U U U U U
Post-Trade Analysis:
¼ krgTCACost() U U U U U U U U U U
¼ krgZScore() U U U U U U U U U U
¼ krgValueAdd() U U U U U U U U U U
¼ krgRPM() U U U U U U U U U U
Portfolio Management
¼ krgCostCurves() U U U U U U U U U
¼ krg2Mdl() U U U U U U U U U
¼ krgRiskAnalysis() U U U U U U U U U
¼ krgBackTest() U U U U U U U U U
¼ krgImbal() U U U U U U U U U U
Optimization
¼ krgSSOpt() U U U U U U U U U U
¼ krgTradeScheduleOpt() U U U U U U U U U
¼ krgQPOpt() U U U U U U U U U
¼ krgTCAPortOpt () U U U U U U U U U
Calculations
¼ krgLinearRegression() U U U U U U U U U
¼ krgLogisticRegression() U U U U U U U U U
¼ krgPCA() U U U U U U U U U U
¼ krgEigen() U U U U U U U U U U
¼ krgSVD() U U U U U U U U U U
¼ krgCov U U U U U U U U U U
¼ krgApproxCov() U U U U U U U U U U
¼ krgVolumeProfile() U U U U U U U U U U
¼ krgUniformProfile() U U U U U U U U U U
¼ krgInitPOV() U U U U U U U U U U
¼ krgInitParam() U U U U U U U U U U
Conversions
¼ krgPOV2Time U U U U U U U U U U
¼ krgTime2POV U U U U U U U U U U
Transaction Cost Analysis Using the TCA Library 567
Portfolio Management
n ¼ krgCostCurves()
n ¼ krg2Mdl()
n ¼ krgRiskAnalysis()
n ¼ krgBackTest()
n ¼ krgImbal()
Optimization
n ¼ krgSSOpt()
n ¼ krgTradeScheduleOpt
n ¼ krgQPOpt()
n ¼ krgTCAPortOpt ()
Calculations
n ¼ krgLinearRegression()
n ¼ krgLogisticRegression()
n ¼ krgPCA()
n ¼ krgEigen()
n ¼ krgSVD()
n ¼ krgCov
n ¼ krgApproxCov()
n ¼ krgVolumeProfile()
n ¼ krgUniformProfile()
n ¼ krgInitPOV()
n ¼ krgInitParam()
Conversions
n ¼ krgPOV2Time
n ¼ krgTime2POV(Table 21.1)