# 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.

324 questions
Filter by
Sorted by
Tagged with
1 vote
27 views

• 123
239 views

### A quant job interview question about (toy) futures

On Monday, you receive prices for each day of the week: $X_{1,1}, \ldots, X_{1,5}$. On Tuesday, you receive prices for Tuesday, Wednesday, Thursday, and Friday: $X_{2,2}, \ldots, X_{2,5}$. On ...
• 160
1 vote
81 views

### Reverse Optimization: finding the returns that satisfy specific weights given one known return

Here is the premise: I have a three asset portfolio, I know the assets covariance, the client's risk aversion and the expected return of one of the assets. I also have a desired set of weights. So, 1) ...
• 21
34 views

### How do I reformulate this max GMV ratio constraint in convex way?

Assuming I have N stocks. I want to have the following constraint in my optimization problem setup. $|x_i| \le \alpha \sum_{j}^N |x_j|$ where $\alpha$ is known, say 0.6. The intuition here is the GMV ...
• 41
103 views

### sharpe ratio, convert into convex function, not understand that constraint, [duplicate]

I am reading about tranforming sharpe ratio into convex problem After some following, its converted into min xTxy s.t. (u-rf e)x = 1 ...
• 1
43 views

### GARCH for Mean Variance Optimization

I am currently trying to carry out a mean variance optimisation, with the implementation of GARCH. I'm not sure if this is going to make complete sense as my understanding of GARCH is limited. In the ...
53 views

### Robust or Stochastic Optimization Approach for Maximizing Profit with Limited Price Information

I am tackling a linear maximization problem where I need to select the optimal product among several options over a series of weeks, given certain constraints, in order to maximize future profit. The ...
91 views

### Using regression to find optimal parameters for a trading strategy based on market regime

I am still fairly new to the field so forgive me if the whole post and my questions sound stupid. A bit of explanation first. So i have a trading strategy which is an extension of an Avellaneda-...
1 vote
53 views

### Am I overcomplicating this approach to optimal actions based on a forecast?

I have been attempting to implement a simplified version of the model used in this paper which, given a forecast of future data, provides an optimal way of acting on it by choosing an optimal sequence ...
• 249
31 views

### Pricing FRA rates from changes in rates due to ECB meetings and vice versa

This is somewhat building on top of my last question: Explicit step by step curve construction using FRAs I'm trying build (in python) and understand something that will allow me to reprice 6M EURIBOR ...
1 vote
33 views

### Duality in conic quadratic programming for good deal measure

I am working on a problem relating to what is known as the "Good Deal risk measure" for production valuation in incomplete markets. I have created the following primal optimization problem, ...
34 views

1 vote
45 views

### Finding optimal option to maximise gains under given price hypothesis

Let's have Stock S at \$100 on January and my hypothesis is S will be trading at \$150 in July. Is there any Python/R package that I can feed with option prices from my broker and it would return the ...
• 113
60 views

### Nonlinear Constrained optimization for a CIR model

I want to calibrate a CIR model which is commonly used to model the evolution of interest rates. Briefly speaking, we know that its dynamics is of the form dr_t = \kappa (\theta - r_t)...
• 419
159 views

### Optimal Entry, Exit, And Stop Loss From Historical Stock Data

I'm trying to build a system that recommends stock trades. My goal is calculate optimal values for the following: Entry Parameter: expressed as a percentage change downwards from the opening price. ...
98 views

### linear optimization problem with non-linear constraint

I have the following optimisation problem which I want to solve using linear optimisation. Is there a way to represent the second constraint in a linear form in order to be able to use linear ...
1 vote
159 views

### SciPy Calibrating Heston call option

I have been attempting to calibrate my Heston model, but I am running into issues with scipy.optimize module. I have tried various scipy optimizers, but they all return the error "TypeError: can ...
4k views

### mean-variance optimization === max sharpe ratio portfolio?

Noobie here. I just wanna ask a simple question: in the context of portfolio optimization, is Mean-Variance optimization the same as the max sharpe ratio portfolio?
96 views

1 vote
430 views

### Multivariable objective function optimization similar to optimx in R

I have an optimization model in R that utilizes a single variable in my objective function. See below: ...
• 11
310 views

### How to set a fixed return for mean-CVaR portfolio optimization?

I'm using the timeSeries and fportfolio package in R to minimize the CVaR with different constraints for a given portfolio. Everything is working out so far. However, I can't manage to set a fixed ...
66 views

### establishing an optimal take profit

Please let me know what you thoughts are on this. Say for example that you have a perpetuity, which guarantees you indefinite payments of a certain amount. Say then that you also have the opportunity ...
• 23
381 views

### Mixed-integer programming approach for index tracking

Suppose you currently own a portfolio of eight stocks. Using the Markowitz model, you computed the optimal mean/variance portfolio. The weights of these two portfolios are shown in the following table:...
• 123