Questions tagged [optimization]

The selection of a best element from some set of available alternatives. Typically consists of maximizing or minimizing a real function by systematically choosing input values from within an allowed set and computing the value of the function.

58 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
10
votes
0answers
1k views

Formula for the efficient portfolios (mean-variance optimisation)?

Consider the setting of mean-variance portfolio optimisation: $n$ assets with expected returns $\overline{r}_1,...,\overline{r}_n$ and standard deviations $\sigma_1,...\sigma_n$. For a certain fixed $...
6
votes
0answers
754 views

Shrinkage Estimator for Newey-West Covariance Matrix

I like to apply the Newey-West covariance estimator for portfolio optmization which is given by $$ \Sigma = \Sigma(0) + \frac12 \left (\Sigma(1) + \Sigma(1)^T \right), $$ where $\Sigma(i)$ is the lag ...
6
votes
0answers
967 views

Is there a standard method of scaling alpha forecasts to t-cost estimates?

Given a set of monthly alpha forecasts (i.e. standardized z-scores from a multi-factor return model) and a non-linear market impact model (or more specifically, its piecewise-linear approximation), is ...
5
votes
0answers
129 views

Optimal mortgage rate strategy

When buying a mortgage, you can choose to "lock in" a rate at any point within 60 days of your closing date. Once locked in, you can't revert. This makes it a secretary problem - in the traditional ...
5
votes
0answers
418 views

Analyzing the angle between vector of weights and vector of returns in mean-variance optimization

I am using the paper "A Sharper Angle on Optimization" by Golts and Jones (2009) as a basis for my (minor) masters thesis in mathematical finance. The paper focuses on the mean-variance analysis of ...
4
votes
0answers
2k views

Fitting GARCH(1,1) in Python for moderately large data sets

I am using the arch package in python to fit a GARCH(1,1) to fit daily S&P 500 returns from 1990 to 2017 (about 6800 data points). The code I am using is as follows: ...
4
votes
0answers
243 views

How would it be possible to use Dynamic Programming to search a space of investment strategies to find an optimum?

As my question states, the problem I am having is finding a sensible way to search a large space. Any help or insight that could be provided would be hugely appreciated. Currently I am trying to ...
3
votes
0answers
66 views

Dealing with Inventory Risk - Paper

I am reading the paper - Dealing with Inventory Risk and I am having trouble understanding a point made in the paper. The author(s) say towards the end of section 2 that: and says that: $ \mathcal A ...
3
votes
0answers
202 views

Fitting High Frequency Indicators

I have a high frequency time series of the bid and ask prices of a stock recorded on every tick. For each data point I also have a certain indicators that predict the future movement of the price. The ...
3
votes
0answers
244 views

Residual Covariance Matrix, and MVO for Residual Variance and Alpha

My overall goal is to find an efficient frontier using QP in terms of $\alpha$ and residual variance ($\omega^2$) for a portfolio $P$ given a benchmark $B$. We know the equation for residual variance ...
3
votes
0answers
164 views

State Space models with Short Time Series

My problem is that I have a state space model that I estimate using the Berndt–Hall–Hall–Hausman (BHHH) algorithm. The state space model is relatively simple in that the hidden part follows a pure AR(...
3
votes
0answers
411 views

What R-packages for SOCP problems are there?

Currently, I am looking deeper into the topic of second-order cone programming. Could you suggest packages that solve SOCP-problems in R? With your answer, please provide a short description of ...
3
votes
0answers
156 views

A doubt about Evans and Jovanovic (1989) economic model for entrepreneurs with credit constraints

[I already posted this question on the math forum of stackexchange and I was advised that I should post this question here] In Evans and Jovanovic (1989) you will find a model for entrepreneurs with ...
3
votes
0answers
117 views

Optimizing stochastic functions numerically

Is there an efficient and commonly used optimization method for "more complex" investment strategies. For instance, say you have a function $f(X_1,...,X_n,c,v)$ where the $X_k$'s are your random ...
3
votes
0answers
186 views

Opimization on a Bond Portfolio

...
2
votes
0answers
35 views

Tangency portfolio with two additional constraints

I know that the formula for determining the weights of the Tangency portfolio is given as $w_{tan}$ = $\frac{\Sigma \mu}{\iota^{\prime}\Sigma\mu }$, but I was wondering how to derive the weights in ...
2
votes
0answers
79 views

Constraints for a Long-Short Mean Variance Objective Function

Problem: I am trying to set up constraints for a long/short mean variance optimization problem. My constraints include: beta neutrality cash neutrality equality constraints on categories: <...
2
votes
0answers
117 views

Bootstrapping and Curve Calibration Objective Function

I'm confused about the form of the objective function for some global curve calibration. It seems simple enough: minimized the squared loss of the price of the input instruments and the price ...
2
votes
0answers
105 views

Has work been done on PID controllers for optimal trading?

Commonly, stochastic control is the basis for optimal trading (either in execution or market making). Has any research been done (or why not, if none) as to proportional-integral-derivative ...
2
votes
0answers
157 views

Optimisation problem with bid-ask spread

I want to optimise a static portfolio with a holding period of 90 days given 10 tradable assets. The assets are quoted in bid and ask prices. I want to minimise the risk measured by standard deviation ...
2
votes
0answers
532 views

Optimal weights for portfolio optimisation (r)

The question is what R optimization could be applicable to find a vector of weights that when, multiplied by S matrix creates equal rows sums, and when set in the objective function returns the ...
2
votes
0answers
153 views

How to (efficiently) calculate the maximum possible return of a perfect “crystal ball” investment strategy?

I am new to the world of investing, so please excuse the clumsy wording of the question... there is probably a better term for what I am looking for or maybe this is even a known/classic problem. If ...
2
votes
0answers
77 views

Using Market Prices of Bonds to Model the Discount Curve with a Polynomial (Math + R)

I have a small program I'm building to interpolate the discount curve from a portfolio of benchmark bonds. If anyone has any guesses as to whether it's my process, or my code that's messed up I would ...
2
votes
0answers
56 views

Given (past) stock values for N assets, how to find the maximum - theoretical - profit?

In the past few days I have been thinking about a question which seems trivial, yet I can't think of any efficient way to find the optimal solution... Here is the problem: imagine you have a ...
2
votes
0answers
74 views

robust regions in grid search

I have a strategy f that takes parameters x,y (for x,y taking values in integer ranges). I get two grids (of returns and volatility values) from computing f(xi,yi) for integer ranges x1 <= xi <= ...
2
votes
0answers
626 views

portfolio optimization with a loop

I am attempting to minimize the variance of a 3 stock portfolio using optimization within a loop. What I have done is calculated the stock returns and cov matrix from dates 1980-01-01 to 1989-12-31 ...
2
votes
1answer
962 views

maximize Sharpe ratio in portfolio optimization

I am trying to understand how to maximize Sharpe ratio in portfolio optimization. $\boxed{\begin{align}\max\>&\frac{r^Tx-r_f}{\sqrt{x^TQx}}\\ & \sum_i x_i = 1\\ & x_i\ge 0\end{align}}$ ...
1
vote
1answer
51 views

Framework for hedging fx and utilizing correlation between asset returns

Can anyone point me in a direction (research paper, books, ..) which developes a framework/strategy for hedging currency exposure for an international bond portfolio? This paper finds optimal ...
1
vote
1answer
82 views

Which Maximum Diversification Approach in MATLAB is correct?

I am currently trying to find the portfolio weights of the Maximum Diversification Portfolio and found two approaches which result in different outcomes. The first one is based on this paper:https://...
1
vote
0answers
167 views

Minimizing Correlation to Index

In his PhD thesis in the chapter Market Neutral Portfolios, page 69, [1] Valle sets up an optimization problem which minimizes the absolute correlation of the portfolio log returns to the log returns ...
1
vote
0answers
85 views

How to choose trades over time when capital is limited

Say I'm in the business of trading forward contracts. So at some point in time, I look at the markets, and determine a number of trades I could make. For each trade, I know the profit I expect to make,...
1
vote
0answers
41 views

Generate P Value from stationary bootstrap following Politis & Romano (1994)

For my master thesis I am analyzing the performance of trading strategies. For this I need to avoid data snooping by utilising the FDR approach. I follow closely the procedure presented by Bajgrowicz &...
1
vote
0answers
26 views

Dynamic counterpart for model tunneling/optimization using past data

When we tune a model to optimize parameters for a strategy using past data, even if controlling for overfitting (checking out of sample performance) and refreshing the analysis from time to time, we ...
1
vote
0answers
137 views

Solution for Markowitz problem with Safety-First Ratio

What is the solution for the following markowitz unconstrained problem? The sum of the entries of the weights vector $w$ should always be requied to sum one? Or if we use the risk-free asset it can be ...
1
vote
0answers
91 views

PortfolioAnalytics [R] - optimize.portfolio.rebalancing / rebalancing period

I am having difficulties trying to set up the rebalancing period to semi-annual or every 9 months in the optimize.portfolio.rebalancing function in the package ...
1
vote
0answers
77 views

Confusion about Assumptions in Markowitz Optimization

Setup and Definition of Terms Supposed that we have a universe of possible securities $\mathcal{S}$. We wish to construct an "optimal" portfolio, which will be represented by proportional weights $\{...
1
vote
0answers
79 views

Maximum likelihood for lognormal mixture

I have a collection of historical data that I want to fit to the following model $$ y_{t+1} - y_t = \alpha + (\rho + \sigma_2 Z_{t+1} )y_t + \sigma_1 Z_{t+1} $$ where everything except the y's are ...
1
vote
0answers
340 views

Optimize a trading strategy created in excel with R

I have created quite a complex back test in excel spanning 15 years with 17 parameters. I would like to optimize the parameters which would give me maximum return given a maximum draw-down percentage. ...
1
vote
0answers
38 views

Continous-time portfolio allocation optimization for a given consumption rate

I have the following PDE $0 = V_t - c(t)V_x - \lambda^2 V_x^2/V_{xx} + rxV_x + 1/2\lambda^2x^2V_{xx}$ where $t\mapsto c(t)$ is some given function and $r,\lambda$ are given constants. If necessary, ...
1
vote
0answers
371 views

How to hedge an ETF position with a basket of its underlying components

In practice, when one takes on a large equity ETF position, I would imagine it's not necessarily "optimal" to hedge using a basket of all the constituents even though that should be a perfect hedge. ...
1
vote
0answers
113 views

Smoothening yield curve by minimizing forward curve slope

I am using government bullet bond data and have bootstrapped a yield curve by solving the following optimization which minimizes unweighted price error: $$\text{min}\sum_i\left(P_i-\sum_t\frac{F_{it}}...
1
vote
0answers
20 views

Is there any theoretical work to find an optimum size for the size of horizon in finite-horizon optimization or control?

we learn a lot about finite and infinite horizon control in dynamic programming. but I was wondering if we want to minimize the cost per time(discrete time) is there any work to find the optimum size ...
1
vote
0answers
313 views

Implementing Minimum Leverage in an SOCP Portfolio Optimization

I'm optimizing a portfolio of n assets and my optimization variable is of the form $$x = [t,w,w_L,w_S]$$ where $$t:= \text{slack variable for turning my QP objective into SOCP constraint}$$ $$w:=\...
1
vote
0answers
83 views

Multi-objective optimization: Where to find qualified examples for portfolio management?

I am looking for qualified examples of multi-objective optimization applied to a portfolio management situation in non-normal markets. Where can I find one or more examples of such a multi-objective ...
1
vote
0answers
136 views

Model-independent dynamic portfolio optimization techniques

For a problem where we need to optimize the portfolio based on the data, going for Markowitz MPT has the following advantage: we only have to estimate mean and covariance to find optimal weights. I'd ...
1
vote
0answers
116 views

Transform MPT optimization problem

I am trying to teach myself about MPT and optimization. I understand that MPT solutions can be found using three equivalent optimization problems: Minimizing variance for given return limit ...
1
vote
0answers
28 views

Standard errors clustered along the time dimension in pooled panel logit model

I'm trying to estimate a logit model on pooled panel data set (unit of observation is firm-year). My dependant variable is default indicator and I have several macro variables as independant variables....
1
vote
0answers
38 views

Doubt on risk cost criterion

I want to minimize some kind of risk sensitive cost. But, I am confused what cost criterion should I use. I am aware of only expected exponential utility. I want to know what are the other such ...
1
vote
0answers
104 views

Max Likelihood via Marquardt Optimisation

I asked a related question here: How to apply Levenberg Marquardt to Max Likelihood Estimation I tried the approach suggested it works for some of the parameters but not the variances. I spoke to ...
1
vote
0answers
56 views

How do I determine what is a separate objective in a multi-objective portfolio optimization?

Is there a general rule to determining when to separate objectives when developing a multi-objective portfolio optimization? For example, one might start with a standard portfolio optimization of ...