Industry convention to track trading performance against market indices?

Industry convention to track trading performance against market indices?

Manage alerts

Loading saved threads...

Code Monkey · External communityPost link
External question — Quantitative Finance Stack Exchange Author: Code Monkey Original post: https://quant.stackexchange.com/questions/8683 License: CC BY-SA 3.0 — https://creativecommons.org/licenses/by-sa/3.0/ Adaptation: HTML converted to plain text; contact email addresses removed. I come from a programming background and not am no quant by career so this is probably a newbie question for you guys. I have written some code to pull daily closing values for market indices (DOW/NASDAQ etc.) along with closing account balances from a stock broker's API. See screenshot So I have a date column, closing values for DJI/NASDAQ and 'ClosingBalance' for the day of a given trader's account. If I am to ignore the 'Deposit' and 'Withdrawal' columns, then I can take this time series and plot on a chart how the trader's account value is moving with the market for a given date range. I can then further compute if he is outperforming or not, etc. etc. Great. But turns out, the fellow might inject more equity via cash deposits over time or make withdrawals over time. Let's even forget withdrawals if it makes the scenario simpler, so in the case of just deposits (such as the 499 entry in the middle), what is the standard industry convention on adjusting against this while attempting to compute the trader's account balances vs. the market to see if he is outperforming? Is it simple enough that when a deposit is made, you add up the same deposit for all previous days? And what happens when withdrawals are made? Any hints on the usual direction programmers and quants take in this scenario will be helpful. Coding the logic isn't my problem, I want to understand what the practice to handle this situation is... Also, how is the Y axis normalized here? The account balances could be in the 10k-100k range while the Dow could be in ther 15k-20k range while the NASDAQ could be in the 1k-5k range. Perhaps some kind of modular operation? Or divide or reduce by a factor? Perhaps pick one of the series' first value as the starting point on the scale, and subtract the other series by the difference so that all the series start at the same value? I suppose while plotting on a chart, the Y axis would really need to be a percentage scale and not absolute?... OP EDIT BEGIN - This is my first draft after I coded things up The green is my fund performance, blue is the DOW, black is the NASDAQ. OP EDIT END Thanks!
Quote
Report
Matt Wolf · External communityPost link
External answer — Quantitative Finance Stack Exchange Author: Matt Wolf Original post: https://quant.stackexchange.com/a/8684 License: CC BY-SA 3.0 — https://creativecommons.org/licenses/by-sa/3.0/ Adaptation: HTML converted to plain text; contact email addresses removed. Maybe the following guidelines help: Big picture: For performance measurement purposes you should compare returns not absolute values. You need to convert all time series into percent returns which in itself takes care of normalization. Also as next step you do not only want to measure out or under performance in terms of return performance but in risk-adjusted performance. I would proceed as follows: Edit: I make the following assumption: The closing balance reflects deposits/withdrawals(d/w) made on that day and the d/w has been undertaken post trading. Another assumption made is that investment performance is based on the total account balance, meaning that new deposits are invested on the next day, too. If those assumptions are incorrect then more information have to be given to be more specific. End Edit First, adjust the account balance time series for withdrawals and deposits: Subtract deposits from that day'closing balance and add withdrawals back to that day's closing balance. You do not want to calculate returns on a deposit or withdrawal that has been made post trading. Next, calculate the daily percentage returns. Subsequently, adjust back the correct closing balance, reflecting deposits and withdrawals. Then you can head into several different directions: For each date sum up all previous returns for each individual time series which gets you a very simplified kind of aggregate performance series, you can then compare directly with the index performance (a geometric mean would be more accurate but this is just a simplified example) Simply average the returns of each time series and compare results Calculate the Sharpe Ratio for each time series and compare the average risk-adjusted returns (a search on this forum should show how to calculate SR) Calculate for each data point the daily return and risk adjust it by dividing by the standard deviation that is sampled over a defined window. That will also get you a performance curve but on a risk adjusted basis. As you can see there are many different ways (and probably a dozen more), so it really depends what you exactly indent to measure.
Quote
Report
babelproofreader · External communityPost link
External answer — Quantitative Finance Stack Exchange Author: babelproofreader Original post: https://quant.stackexchange.com/a/8696 License: CC BY-SA 3.0 — https://creativecommons.org/licenses/by-sa/3.0/ Adaptation: HTML converted to plain text; contact email addresses removed. I can't speak as to whether it is "industry convention," but you might find Unit valuation useful here.
Quote
Report
RndmSymbl · External communityPost link
External answer — Quantitative Finance Stack Exchange Author: RndmSymbl Original post: https://quant.stackexchange.com/a/10184 License: CC BY-SA 3.0 — https://creativecommons.org/licenses/by-sa/3.0/ Adaptation: HTML converted to plain text; contact email addresses removed. Accurate performance reporting is an important subject. The amount and timing of monies in an account is just one of the aspects affecting the performance. Others include taxes, fees, day count convention and benchmark construction. One of the frameworks often referenced for that matter are the Globale Investment Performance Standards ( GIPS ). The standards are available for download .
Quote
Report

Post Reply

Quoted from Forex.com.bd-Editorial External answer — Quantitative Finance Stack Exchange Author: babelproofreader Source score (net votes, not local likes): 0 Original post: https://quant.stackexchange.com/a/8696 License: CC BY-SA 3.0 — https://creativecommons.org/licenses/by-sa/3.0/ Adaptation: HTML converted to plain text; contact email addresses removed. I can't speak as to whether it is "industry convention," but you might find Unit valuation useful here.

Cancel quote

Checking account access…