Displaying 20 results from an estimated 10000 matches similar to: "Optimal Asset Allocation with a specific level of Target Risk"
2008 Jun 11
0
ETH Internship - Dynamic Portfolio Asset Allocation
Summer Internship at ETH Zurich
"Dynamic Portfolio Asset Allocation"
We offer a 3-months internship starting
midth July 2008. The topic addresses
"Dynamic Portfolio Asset Allocation"
including alternative instruments and
hedge funds. The goal will be to compare
the robust mean-variance, the lower partial
moment and the conditional value-at-risk
approaches for portfolio
2008 Sep 03
1
portfolio.optim and assets with weigth equals to zero...
Hello.
I don't understand a particular output of portfolio.optim (tseries).
I have 4 assets and the portfolio.optim returns an asset with weight equals
to zero.
If I do a portfolio.optim with 3 assets, without the asset with weight
equals to zero,
it returns a completely different result.
That's I would expected the same weights as the run with 4 assets.
Below the code.
Thanks in
2012 Sep 04
0
Calculate a minimum-variance portfolio with fPortfolio
Hello everybody,
I'm running into an issue with the fPortfolio package.
1. What I want:
Calculate the minimum-variance portfolio on 20 assets with respect to the
following constraints:
- min weight per asset = 0% (i.e. no short-selling)
- max weight per asset = 10%
- min sum of asset weights = 100% (i.e. fully invested)
- max sum of asset weights = 100% (i.e. no leverage)
2. What I
2012 Feb 15
2
Control number of assets in resulting portfolio with optimizations using package fPortfolio
Dear All,
I am using package fPortfolio to run minimum variance portfolio
optimizations in R. I already know how to set portfolioSpecs, portfolio
objects and constraints. Unfortunately I am not able to set the following
type of constraints.
I have a timeSeries object with returns data for roughly 1.5k assets for 261
subperiods (workingdays) and want to compute the global minimum variance
2013 Jan 06
0
fPortfolio-portfolio optimization
Hello everyone,
I have been spending many hours on a seemingly simple portfolio optimization problem using the package fPortfolio.
My optimization problem is slightly different than a standard one such that I have a known set of asset returns. My problem is how to collect this information into my functions and pass them onto the optimization function.
I have written my own covariance estimation
2017 Dec 27
1
Error in dimnames in R
Could anyone help me with some little problem? When I plot the frontier I
get the following message: *"Error in dimnames(x) <- dn : length of
'dimnames' [1] not equal to array extent"*(see below for detail). How could
I solve this. Thanks a lot.
##---------------------------- Portfolio construction &
Optimisation------------------------
#Assets: LUTAX,
2008 Aug 12
1
fPortfolio constraints, maxsumW
Running R version 2.6.1 under Gentoo Linux and using the fPortfolio
package, I am having trouble specifying a sector constraint. One of the
constraints to be imposed is that assets 1 and 2 together account for no
more than 13.63% of the portfolio. My attempt at coding that
constraint, "maxsumW[1:2Assets]=13.63" fails. The relevant section of
my code file and the resulting error
2016 Apr 22
0
non-numeric argument to binary operator problem in stock analysis
I use these codes to get the returns of my simulated portfolio
but, I can not get returns as the non-numeric argument to binary operator problem in stoc
thank you guys first.
library(quantmod)library(quadprog)library(stockPortfolio)library(fPortfolio)library(tseries)source("efficientFrontierFunction.r")
myenv <- new.env()##Calculate the mean and sd of the monthly returns of each
2007 Sep 21
1
fPortfolio Package
Hello,
I would like to do a portfolio optimization in R and I tried to use the
function in "fPortfolio", but it appears there does not exist such function.
Could anyone give me some advice?
Many thanks
--
View this message in context: http://www.nabble.com/fPortfolio-Package-tf4492927.html#a12813809
Sent from the R help mailing list archive at Nabble.com.
1999 Nov 27
1
portfolio.optim.default, Packages tseries quadprog (PR#348)
Full_Name: Ansgar Steland
Version: 0.90.0
OS: Linux 6.1 FreeBSD 3.2
Submission from: (NULL) (62.104.196.10)
Dear R Team,
Yesterday I downloaded R 0.90.0 and the current versions of some
packages (tseries, quadprog,...).
I had no problems to build the program using FreeBSD 3.2 and SuSe Linux 6.1.
I also re-build all packages required by tseries.
I checked out portfolio.optim (package:
2011 Mar 28
1
portfolioBacktest in fPortfolio
Hello. I am trying to use the portfolio backtesting function in fPortfolio
package, but I don't now why in my version of fPortfolio I don't have either
the portfolioBactest nor the portfolioBacktesting functions. Does anybody
knows what might be going on?
thank you
Felipe Parra
[[alternative HTML version deleted]]
2009 Sep 29
3
How do I access class slots from C?
Hi
I'm trying to implement something similar to the following R snippet using
C. I seem to have hit the wall on accessing class slots using C.
library(fPortfolio)
lppData <- 100 * LPP2005.RET[, 1:6]
ewSpec <- portfolioSpec()
nAssets <- ncol(lppData)
setWeights(ewSpec) <- rep(1/nAssets, times = nAssets)
ewPortfolio <- feasiblePortfolio(
data = lppData,
spec = ewSpec,
2011 Sep 15
1
portfolio, portfolio.optim function not found
Hello,
After installing and loading the package "portfolio", I tried to run the
example code provided, and it would not run.
this is the link:
http://rss.acs.unt.edu/Rdoc/library/tseries/html/portfolio.optim.html
this is the example code, as found at the link:
x <- rnorm(1000)
dim(x) <- c(500,2)
res <- portfolio.optim(x)
res$pw
the error I get is:
Error: could not find
2010 Feb 03
0
About the risk code in the fportfolio package
Hello,
I have a problem with fPortfolio recently. I am using below code:
Data = read.table("hf.txt",header = TRUE,sep = "")
Data = Data[, c("CA", "SS", "EM", "EMN", "ED", "DS", "MS", "RA", "FIA",
"GM", "LSE", "MF", "SP500", "NASDAQ",
1999 Sep 20
0
Updated tseries package
Fritz just put the updated tseries package to CRAN. I mainly removed
(and corrected) code such that tseries fits together with package ts.
New code is White's and Teraesvirta's tests for neglected non-linearity
(also for the regression case). From the INDEX file:
NelPlo Nelson-Plosser Macroeconomic Time Series
adf.test Augmented Dickey-Fuller Test
amif
1999 Sep 20
0
Updated tseries package
Fritz just put the updated tseries package to CRAN. I mainly removed
(and corrected) code such that tseries fits together with package ts.
New code is White's and Teraesvirta's tests for neglected non-linearity
(also for the regression case). From the INDEX file:
NelPlo Nelson-Plosser Macroeconomic Time Series
adf.test Augmented Dickey-Fuller Test
amif
2011 Jan 25
0
Problems plotting the efficient frontier with fPortfolio
Hello, I have some simulations of financial data, I have 17 variables
simulated 1000 times to three horizons. I am tring to plot the efficient
frontier which I already obtained using th fPortfolio package. I am using
the following commands:
Data=timeSeries(X[1,,])
lppSpec <- portfolioSpec()
longFrontier <- portfolioFrontier(Data, lppSpec)
plot(longFrontier)
Selección: 1
Error en
2010 Jan 21
0
fPortfolio prob: maxreturnPortfolio() returns Na/NaN/Inf error
Hi - First posting here.
I am using fPortfolio to try and optimize a simple portfolio consisting of 5 daily return series. I want to maximize return subject to setTargetRisk(myspec)=0.08 using only constraints="LongOnly"
I can run feasiblePortfolio() using a spec file that specifies the weights, and it works fine.
When I run maxreturnPortfolio(mydata,myspec,"LongOnly"),
2009 Nov 12
0
A VaR question
Hi, I got some problem to drop a mail while using Nabble account, therefore
sending it again there. My query is following :
Hi all,
My question is not directly R related but rather a finance related question.
Therefore I was wondering wheher I find a reliable answer here.
Here I wanted to calculate VaR for basis (spot-future). There could be two
approaches : 1: Assuming basis as a portfolio of
2006 Oct 26
1
Get the names of the columns in a tserie
Hello everybody,
I'm a beginner in R, and I'm currently working on Tseries (analysis of a
portfolio)
I imported the data like this (library tseries) :
X<-read.ts("X.dat", start=c(1995,1), frequency=261, header=T, sep=";")
There is a header which contains the names of each column (codes of shares)
I'd like to know if it is possible to get the names of the