The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [portfolio]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
2answers
2k views

How to calculate “portfolio cumulative return” from individual price data and weight of them?

I'm trying to run backtest in a vectorized way using Python Pandas and need to calculate a portfolio cumulative return from price data and weight of asset data. I ...
1
vote
1answer
136 views

Replicating portfolios [closed]

Prices of a stock are modeled using a two-period binomial tree, with each period being six months. The continuously compounded risk free interest rate is 7 % The stock pays 2 % continuous dividend. ...
0
votes
1answer
241 views

beginner portfolio statistics - annualized volatility of multi-asset portfolio

Sorry for the dumb question, but I wanted to make sure my understanding of what I read and compiled was correct! I am trying to calculate the variance-covariance matrix, and annualized volatility of a ...
0
votes
1answer
78 views

How to calculate the normalized value of a changing stock portfolio?

My goal is to compare a portfolio of stocks with a benchmark over time. Calculating the normalized value of a static portfolio is no problem, but I am struggling when stocks are removed or added to ...
0
votes
1answer
163 views

VaR for Options portfolio

I'm asked to estimate VaR for Options portfolio. Firstly, I wanna try to estimate VaR for AAPL stock european call option using Historical Simulation but I can't find any Historical Data. I tried ...
1
vote
1answer
211 views

Return Contribution for Annual Returns

I have a portfolio $p$ made up of a bunch of assets $i$ where the weights change slowly over time. The returns over each period $j$ composed of the weighted returns of the asset $r^j_p$ $$ r^j_p =...
0
votes
1answer
108 views

Calculating the long run average default rate when the portfolio changes during the year

The Basel rules prescribe to calculate a long run average default rate (LADR). It is stated that his rate should be calculated as the average of yearly default rates. A first idea what be: look at ...
1
vote
0answers
126 views

Backtest Portfolio Analysis

I actually finished an algorithm that i can use to extract all the trades for each stock (each file for each stock). Essentially, i run this code on Excel where there are the input about one stock, ...
1
vote
1answer
91 views

Questions related to Sharpe's return-based style analysis

I have been reading about Sharpe's return-based style analysis, which tries to determine the manager's exposure/effective asset mix to changes in the values of the asset classes. It does so by using ...
2
votes
3answers
530 views

Negative variance?

Using the formula w*Cov*t(w) I can generate a negative portfolio variance. What are the implications of a negative variance? Should I just assume it's zero? A negative variance is troublesome ...
-1
votes
1answer
133 views

Portfolio turnover [closed]

Really easy question, but I am having doubts. If you want annual turnover, and you have monthly weights, wouldn't you just do in excel: {=ABS(CurrentMonthsWeights-LastMonthsWeights)*12} for each ...
0
votes
1answer
383 views

Correlation of assets to portfolio of assets

How do you calculate the correlation of an asset to a portfolio, when for all assets in the portfolio you know there: correlation to each other, volatility and weight in portfolio. For example: ...
2
votes
1answer
113 views

Explaining an Option product: SIX Discount Certificates

So I have the option with the important info above. I am trying to generate a portfolio that represents the option. However I am stuck on the first hurdle as I believe it is a call option as the ...
1
vote
1answer
148 views

R PortfolioAnalytics

I am not able to find PortfolioAnalytics package for windows from CRAN. New to R, will greatly appreciate any help how to find and install this package.
1
vote
0answers
100 views

Why Do Universal Portfolios Work?

I've been reading up on universal portfolios, but I haven't been able to find an intuitive explanation as to why they have the theoretical guarantees that they do, especially that they track the best ...
1
vote
2answers
54 views

What is the return of risky asset in direct utility optimization probem?

I am trying to do this portfolio optimization for a one-month investment between S&P 500 as a risky asset and one risk-free asset: Assume that I have a power utility function, a risk-free rate ...
3
votes
1answer
222 views

Portfolio Optmization With Risk Aversion Parameter R

I have this problem in R. $$\max w^Tu- y w^T A w$$ where A is covariance variance matrix, y risk aversion parameter. Is it rigth if I use the function solve.QP multiplying the covariance matrix for ...
2
votes
0answers
50 views

How to ascertain/establish certainty of a portfolio rebalancing strategy?

I created a portfolio rebalancing strategy, that I am currently paper trading with. It is, primarily, based on mean-reversion principle with a few rules in place, and geared towards cryptocurrencies, ...
0
votes
2answers
117 views

% Drawdown on Stock Portfolio to hit Margin Call

Margin requirement is industry standard at 30% of total portfolio (cash + margin loan) e.g. You have 600k in equities purchased with cash and 400k in equities purchased on margin loan. The total ...
1
vote
1answer
92 views

Creating riskless portfolio in black scholes

$$\begin{align} d\pi &= \theta dV + dS \\[3pt] & = (\theta \partial V/\partial t + \theta \mu S \partial V/\partial S + \theta S^2 \sigma^2 \partial^2 V/2\partial S^2 +\mu S ) dt + (\theta \...
0
votes
2answers
98 views

What returns to use?

I have monthly returns of my portfolio... I would like to summarize the performance over a longer period in one overall figure. Should I use log returns per month then use geometric mean on the log ...
1
vote
1answer
87 views

What is `1+ return` called? [closed]

Assuming day 1 my wealth is 1. At day 2 I earned 20%. So the rate of return is 0.2 and the wealth at day 2 is 1.2. At day 3 I earned 50 % again. So the wealth at day 3 is 1.8. I wonder what is the ...
2
votes
1answer
265 views

Creating a portfolio in R : good practices

I am quite new to quantfin, but wanting to learn. I've searched for the answer (google and stackex), but haven't found anything satisfactory (but I might not be asking the correct questions...) The ...
5
votes
1answer
310 views

Simple mean reversion strategy portfolio construction

I had a quick idea I wanted to test, but am not sure of the correct way to size bets. Basically, I think that for a given index (say S&P), I want to be long under performers and short over ...
3
votes
1answer
934 views

How to choose a tangency portfolio without a risk-free rate

How do you choose an optimal portfolio from the efficient frontier if no risk-free rate is given? I know that if there exists risk-free asset, then you would combine a portfolio from the efficient ...
2
votes
2answers
391 views

Gamma portfolio trading

It is being said that in a long-gamma portfolio, you follow a buy-low sell-high strategy for the underlying stock, which causes you to make profit. The Theta for this portfolio is negative. But it is ...
0
votes
2answers
202 views

Standard deviation of a long-short portfolio with net position zero

I've come across the following question and I'm slightly stuck in answering it: Suppose you have a two-stock portfolio that is long one stock of asset A, and short one stock of asset B, with A ...
2
votes
3answers
461 views

What is the delta of a portfolio invested in different stocks?

I understand that if I have a portfolio invested in stock A and options on stock A, the delta of my portfolio is going to be the weighted sum of the delta of the stock (=1) and of the option. Now if ...
1
vote
1answer
62 views

Portfolio optimization of unequal length back-tests

I have a portfolio of assets. For each asset I have a back-tested time series of daily profits. I'm tying to optimize, using the correlation of daily returns, to minimize the total draw-down of the ...
1
vote
1answer
45 views

What price data should I used when making minimum mean variance portfolio, optimal risky portfolio and efficient frontier using Markowitz? [closed]

I need to make optimal risky portfolio, minimum variance portfolio and efficient frontier using Markowitz . But i don't know whether to used close price data or adjusted data. If i'm using adjusted ...
4
votes
2answers
3k views

Portfolio Risk Decomposition - different methodologies

I understand that there are several methods for decomposing contributions to risk (be it variance, std dev, etc.) in a portfolio of assets. For example, a response in this post indicates that there ...
0
votes
1answer
590 views

How to construct stock portfolios in R

I need some help, since I can't find any good sources. I need the portfolios for my thesis. I have 20 years of monthly stock returns for ~200 stocks. I want to create each month 5 equally weighted ...
3
votes
0answers
161 views

Parametric VaR of a portfolio of a stock and an option on that stock

I understand how to calculate the parametric VaR of a stock and an option separately. But I don't understand how one can calculate the VaR of a portfolio of a stock and an option on that stock using ...
1
vote
1answer
275 views

Create a hedging portfolio

If, given a return stream of unknown composition, what is the best find a portfolio of assets that replicates that return stream from a universe of assets? In other words, what is the best ...
1
vote
1answer
83 views

Analyzing stock performance - keep companies after bankruptcy?

I am currently analyzing the performance of stocks with high/low corporate social responsibility rating. Some companies went bankrupt during the observation period and I wonder how long I should keep ...
0
votes
1answer
514 views

How to calculate the annual contribution of a fund to a portfolio of funds?

let's assume I have a portfolio of two funds (call them F1 and F2), where, by convention, there is a monthly compounding of the returns. On a monthly basis, the contribution of each fund will just be ...
3
votes
1answer
2k views

How to compute the forward price using a replicating portfolio?

I post this question here as I didn't receive an answer in the Mathematics community. I am trying to understand how replicating portfolios can help us determine fair prices. Suppose we have a 3-year ...
0
votes
1answer
102 views

How we compare 2 portfolios one with risk the other with characteristics?

I have 2 questions which i can't seem to find no matter how I search. so: 1) If we have 2 portfolios. One based on risk-return tradeoff (with variables HML, SMB and beta ) (Fama French, 1993) and the ...
7
votes
2answers
219 views

Portfolio returns with unequal asset return histories

Using the package PerformanceAnalytics in R, I am trying to calculate the return of an equal-weighted portfolio that contains 30 assets. However, these assets do not have the same starting point in ...
0
votes
1answer
506 views

Cumulative portfolio returns vs. product of cumulative asset returns

I wasn't able to find something that addressed this specifically with the search terms I was using, though I am sure an answer exists here. [Please reference the image below] Columns B & C are ...
2
votes
2answers
194 views

Where can I find the European equivalents ETFs from a USD superdiversified 10 ETFs portfolio

I have been using this superdiversified 10 ETFs portfolio. To lower the risk it's composed from stocks and bonds across the globe and includes some commodities. Being in USD currency and the Euro ...
0
votes
1answer
426 views

Python Library To Calculate Porfolio Statistics

I am working through some backtesting ideas and I would love to capture the basic statistics results for comparison, (cumulative returns, annual returns, sharpe, omega etc.) Is there a python library ...
0
votes
1answer
60 views

How to keep the ratio of two assets constant when one asset is appreciating towards the other

I am looking for a formula that lets me keep the ratio between two assets in my portfolio constant when one of the assets is appreciating continually in comparison to the other asset. Imagine a ...
0
votes
1answer
168 views

VaR Backtesting. High frequency of exceedances

I'm preparing for thesis defense and I've got simple question connected with Value at Risk backtesting. Portfolio VaR was calculated using historical simulation approach (250 days and 500days) and ...
1
vote
1answer
102 views

Variance of returns on a portfolio

This must be very basic, but I don't seem to be able to express the variance of returns on a portfolio in terms of variances-covariance sum of returns of its constituents, which seems to be what is ...
2
votes
1answer
198 views

Portfolio optimization in R with factor tilting while constraining volatility

what optimizer I can use in R to solve the following portfolio optimization problem: $min(f^Tx)$ st: 1. $ -a \le \sum_{i=1} ^{n} x(i) \le b$ 2. $ -c \le x(i) \le d$ 3. $ e \le \sum _{i=1} ^n |x(i)...
-2
votes
2answers
5k views

Volatility of a multiple-asset portfolio [closed]

I have N assets with their individual volatilities $\sigma_{i,t}$. I construct a portfolio using the weights $w_{i,t}$ that I obtained in a matter that is irrelevant. Now I want to determine the ...
2
votes
2answers
1k views

Variance Matrix with 'nan' values

I am trying to optimize a simple portfolio using several random weights and choosing the best. When the number of assets is large I get a covariance matrix with 'nan' values because some asset pairs ...
1
vote
2answers
261 views

How do I estimate the volatiliy of my portfolio with an estimator that requires High, Low, Open, etc

I have obtained the daily returns of my portfolio $R^{port}_t$ using a certain strategy. Now I want to estimate the realized volatility $\sigma^{port}_t$ using the past 60 days. An obvious way to do ...
0
votes
0answers
580 views

Equal Risk Contribution in Portfolio Analytics r pkg

I am trying to estimate the weights of an equal risk portfolio using the PortfolioAnalytics package in r. To start with, I have tried to redo the example provided in the portfolio vignette. The code ...