# Questions tagged [algorithm]

The tag has no usage guidance.

15 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3k views

### Volatility-Based Envelopes

I am following an article by Mohamed Elsaiid (MFTA) about Volatility-Based Envelopes - a quite new technical indicator he has introduced, that is being used by Bloomberg. My goal is to get a simple ...
• 449
176 views

### How to backtest algorithms in parallel?

I want to backtest a large number of algorithms on the same dataset, one stock ticker. The algorithms are actually variations of one algorithm with various combinations of parameters, amounting to ...
• 527
155 views

### Efficient construction of binomial tree

The goal is to build a $n$ step binomial tree knowing the end nodal probabibilities $p_1, \dots, p_m$, which correspond to the time $T$ states $S_1, \dots, S_m$. We assume that all paths ending in the ...
• 624
1 vote
169 views

### Calibration of $\rho$ in the heston model

When calibrating the Heston model, the gradient of the price of the call/cost function wrt $\rho$ (correlation between $S$ and $V$), is a lot less than the other parameters like $v_0$ and $\bar{v}$. ...
1 vote
33 views

### Has there been studies done on changes in model performance post-crisis?

My question is, has there been done any studies on whether the efficiency and accuracy of pricing and risk-management of derivatives using different models and algorithms has changed after the ...
• 11
1 vote
69 views

### CFD broker spread as indicator for stock market

Retail trader on stock market has very limited ability to accomodate huge amount of information, it leds me to idea of using behavioir of more informed players - CFD brokers - spread of their CFD ...
• 1,018
1 vote
307 views

### Adjoint Algorithmic Differentiation: swap pricing

I have tried to implement an AAD routine to price call options using the Black-Scholes formula, but my greeks are not quite agreeing with the expected ones, so I have decided to start with something a ...
• 223
1 vote
36 views

### What are appropriate algorithms for forecasting contract schedules to maximize profit?

Imagine a situation where a business negotiates contracts for the maintenance of widgets it sells. Situation Customer buys 20 widgets. Customer negotiates contract for widgets to be serviced/...
• 111
1 vote
95 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 ...
• 450
1 vote
69 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 ...
• 146
1 vote
715 views

### What is the algorithm for the Fama-Bliss instrument selection?

Fama-Bliss discount bonds are defined through a straight forward calculation (Famma, Bliss 1987). For the purposes of a project I need to derive forward rates, yields &c. for periods not included ...
1 vote
62 views

### Approaches to check/validate the output of an optimization algorithm

Let's say we want to optimize the a function $f(x_1,\dots, x_n)$ with $(x_1, \dots , x_n) \in \mathbb{D}^n$. For the sake of simplicity let $\mathbb{D}^n$ be the unit sphere. We chose an optimization ...
• 3,377
59 views

### Automatic detection of technical patterns such as Head and Shoulder, Flag, Wedge or Double Top

To my understanding, Ta-Lib does not detect technical patterns such as Head and Shoulder, Flag, Wedge or Double Top. Is there any automatic way to detect such technical patterns?
• 109