Note: This page has been translated by MathWorks. Please click here

To view all translated materials including this page, select Japan from the country navigator on the bottom of this page.

To view all translated materials including this page, select Japan from the country navigator on the bottom of this page.

The following descriptions define the data sets provided in
the file `KRGExampleData.mat`

.

`Basket`

VariablesThe table `Basket`

contains a trade list for
a collection of stocks in a portfolio. For examples of using this
data set, see Rank Broker Performance.

Real trade lists come from portfolio managers.

Table Variable | Description |
---|---|

| Stock symbol. |

| Side ( |

| Size (number of shares divided by average daily volume). |

| Number of shares. |

| Stock price. |

| Average daily volume. |

| A statistical measure of the dispersion of daily returns for a given security. Volatility is the standard deviation of daily log price returns over time. Kissell Research Group uses a 30-day historical period. Annualize volatility by multiplying by the square root of 250. |

| Percentage of volume. |

`BrokerNames`

VariablesThe table `BrokerNames`

contains the broker
names and their associated market-impact code. For examples of using
this data set, see Rank Broker Performance.

Real trade lists come from portfolio managers.

Table Variable | Description |
---|---|

| Broker name. |

| Market-impact code ( |

`TradeData`

VariablesThe table `TradeData`

provides example data
for a collection of stocks in a transaction. For examples of using
this data set, see Conduct Sensitivity Analysis to Estimate Trading Costs and Estimate Portfolio Liquidation Costs.

Real market data comes from a data source such as Bloomberg^{®}.

Table Variable | Description |
---|---|

| Stock symbol. |

| Side ( |

| Side indicator. |

| Average execution price. |

| Arrival price. The price at the time the order enters the market. |

| Volume weighted average price (VWAP). The VWAP compares the execution price to the interval VWAP price. |

| Currency rate. |

| A statistical measure of the dispersion of daily returns for a given security. Volatility is the standard deviation of daily log price returns over time. Kissell Research Group uses a 30-day historical period. Annualize volatility by multiplying by the square root of 250. |

| Percentage of volume. |

| Market sector category ( |

| Order size category ( |

| Volatility category ( |

| Percentage of volume rate category ( |

| Market capitalization category ( |

| Momentum category ( |

| Market movement category ( |

| Average daily volume. |

| Stock price. |

| Size (number of shares divided by average daily volume). |

| Alpha estimate per day in basis points. |

| Number of shares. |

| Broker name. |

`TradeDataCurrent`

and `TradeDataHistorical`

VariablesThe tables `TradeDataCurrent`

and `TradeDataHistorical`

provide
example current and historical data, respectively, for a collection
of stocks in a transaction. For an example of using this data set,
see Determine Buy-Sell Imbalance Using Cost Index.

Real market data comes from a data source such as Bloomberg.

Table Variable | Description |
---|---|

| Stock symbol. |

| Transaction date. |

| Market-impact code ( |

| Stock open price. |

| Volume weighted average price (VWAP). |

| Stock last price. |

| Trade volume. |

| A statistical measure of the dispersion of daily returns for a given security. Volatility is the standard deviation of daily log price returns over time. Kissell Research Group uses a 30-day historical period. Annualize volatility by multiplying by the square root of 250. |

| Average daily volume. |

| Beta. |

| Index open price. |

| Index VWAP. |

| Index last price. |

| Stock price. |

| Percentage of volume. |

| Number of shares. |

`PortfolioData`

VariablesThe table `PortfolioData`

provides example
data for a collection of stocks in a portfolio. To use this data set,
see `portfolioCostCurves`

.

Real portfolio data comes from a portfolio belonging to a company or portfolio manager.

Table Variable | Description |
---|---|

| Stock symbol. |

| Local price of the stock. |

| Stock price with a specified base currency if the stock
trades outside the United States. If the stock trades in the United
States, |

| Average daily volume. |

| Volatility. |

| Number of shares. |

`PostTradeData`

VariablesThe table `PostTradeData`

provides example
data for a collection of stocks in an executed transaction. To use
this data set, see Analyze Trading Execution Results.

Real market data comes from a data source such as Bloomberg.

Table Variable | Description |
---|---|

| Stock symbol. |

| Side ( |

| Side indicator. |

| Transaction date. |

| Decision time. The portfolio manager decides to buy, sell, short, or cover a position at this time. If no other timestamp is available, set this variable to the time when the portfolio manager enters the order into the trading system. If the portfolio manager does not have a timestamp for this decision, investors use the close time of the previous day, open time, or arrival time. |

| Arrival time. The trading system enters the order into the market for execution at this time. You can obtain it from the first trade from the electronic audit trail. |

| End time. The portfolio manager specifies to complete the order at this time. Typically, this time is the end of the day or the time of the last trade. |

| Average executed price. |

| Number of shares. |

| Number of shares executed. |

| Volatility. |

| Average daily volume. |

| Percentage of volume. |

| Currency rate. |

| Market-impact category (for example, |

| Close price of the previous day. |

| Open price. |

| Close price. |

| Arrival price. The price at the time the order enters the market. |

| Volume weighted average price (VWAP). The VWAP compares the execution price to the interval VWAP price. |

| Broker name. |

| Trading algorithm ( |

| Portfolio manager name. |

| Trader name. |

| Market sector category ( |

| Order size category ( |

| Volatility category ( |

| Percentage of volume rate category ( |

| Market capitalization category ( |

| Stock momentum category ( |

| Market movement category ( |

| Investor field designation. This variable is optional for grouping and summary analysis. This field refers to a process where a broker (broker 1) receives an order from a client. Then this broker gives that order to another broker (broker 2) for its execution. Broker 1 receives credit for the trade but its performance applies to broker 2 who executed the trade. |

| Decision price. This variable is the stock price when the portfolio manager decides to buy, sell, short, or cover a position. |

| Midpoint of the bid-ask spread at the time an order enters the market. |

| End price. This variable is the stock price at the specified end time of the order. |

| Fixed fees in dollars that include the commission, taxes, clearing and settlement charges, and so on. |

`TradeDataBackTest`

VariablesThe table `TradeDataBackTest`

provides example
data for a set of stocks and a series of dates. The data contains
historical trade information for each stock. To use this data set,
see Conduct Back Test on Portfolio.

Real market data comes from a data source such as Bloomberg.

Table Variable | Description |
---|---|

| Stock symbol. |

| Historical transaction date. |

| Number of shares. |

| Side ( |

| Dollar value of the stock in the portfolio. |

| Stock price. |

| Size (number of shares divided by average daily volume). |

| Estimated return decimal value for the stock in the portfolio. |

| |

| Average daily volume. |

| Market capitalization. |

| Trade duration time. |

| Percentage of volume rate. |

| Market-impact code ( |

| Foreign exchange rate. |

| Percentage of volume. |

`TradeDataStressTest`

VariablesThe table `TradeDataStressTest`

provides example
data for a set of stocks for a date range. The data contains trade
information for each stock. To use this data set, see Conduct Stress Test on Portfolio.

Real market data comes from a data source such as Bloomberg.

Table Variable | Description |
---|---|

| Stock symbol. |

| Historical transaction date. |

| Number of shares. |

| Side ( |

| Dollar value of the stock in the portfolio. |

| Stock price. |

| Size (number of shares divided by average daily volume). |

| Estimated return decimal value for the stock in the portfolio. |

| |

| Average daily volume. |

| Market capitalization. |

| Trade duration time. |

| Percentage of volume rate. |

| Market-impact code ( |

| Foreign exchange rate. |

`TradeDataPortOpt`

VariablesThe table `TradeDataPortOpt`

contains example
data for a collection of stocks in a portfolio. This data contains
lower and upper bounds for the constraints used in the portfolio optimization.
To use this data set, see Liquidate Dollar Value from Portfolio.

To see the related covariance data for each stock in the portfolio,
see the covariance data table `CovarianceData`

.

Real portfolio data comes from a portfolio belonging to a company or portfolio manager.

Table Variable | Description |
---|---|

| Stock symbol. |

| Transaction date. |

| Number of shares. |

| Dollar value of the stock in the portfolio. |

| Stock price. |

| Size (number of shares divided by average daily volume). |

| Estimated return decimal value for the stock in the portfolio. |

| |

| Average daily volume. |

| Market capitalization. |

| Trade time. |

| Market-impact code ( |

| Lower bound weight. |

| Upper bound weight. |

| Lower bound for the minimum shares. |

| Upper bound for the maximum shares. |

| Lower bound for the minimum percentage of average daily volume. |

| Upper bound for the maximum percentage of average daily volume. |

| Lower bound for the minimum value. |

| Upper bound for the maximum value. |

| Upper bound for the maximum market-impact cost. |

`TradeDataTradeOpt`

VariablesThe table `TradeDataTradeOpt`

provides an example
trade list for a collection of stocks in a portfolio. For an example
of using this data set, see Optimize Trade Schedule Trading Strategy for Basket.

Real trade lists come from portfolio managers.

Table Variable | Description |
---|---|

| Transaction date. |

| Side ( |

| Number of shares. |

| Stock price. |

| Average daily volume. |

| |

| Percentage of average daily volume. |

| Transaction value. |

| Weight. |

| Side indicator. |

| Market-impact region. |

| Stock symbol. |

| Alpha in basis points. |

| Beta. |

| Market sector, such as Energy. |

| Market capitalization. |

`CovarianceData`

TableThe table `CovarianceData`

contains a covariance
value for all stocks in the portfolio data table `TradeDataPortOpt`

.
Each variable in the table is a different stock. To use this data
set in the portfolio optimization, see Liquidate Dollar Value from Portfolio.

`CovarianceTradeOpt`

TableThe table `CovarianceTradeOpt`

contains a covariance
value for each stock in the portfolio data table `TradeDataTradeOpt`

.
Each variable in the table is a different stock. To use this data
set in the trade schedule optimization, see Optimize Trade Schedule Trading Strategy for Basket.

[1] Kissell, Robert. “A Practical Framework for Transaction
Cost Analysis.” *Journal of Trading*.
Vol. 3, Number 2, Summer 2008, pp. 29–37.

[2] Kissell, Robert. “The Expanded Implementation
Shortfall: Understanding Transaction Cost Components.” *Journal
of Trading*. Vol. 1, Number 3, Summer 2006, pp. 6–16.

[3] Kissell, Robert. *The Science of Algorithmic
Trading and Portfolio Management*. Cambridge, MA: Elsevier/Academic
Press, 2013.

[4] Kissell, Robert, and Morton Glantz. *Optimal
Trading Strategies*. New York, NY: AMACOM, Inc., 2003.

Was this topic helpful?