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

Questions tagged [portfolio]

The tag has no usage guidance.

260 questions
Filter by
Sorted by
Tagged with
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 ...
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. ...
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 ...
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 ...
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 ...
210 views

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 ...
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 ...
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 ...
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 ...
932 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 ...
391 views

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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
274 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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
192 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 ...
425 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 ...
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 ...
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 ...
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 ...