Questions tagged [numerical-methods]

The tag has no usage guidance.

31 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5
votes
0answers
215 views

Use of Local Times in Option Pricing

I know two applications of local time in option pricing theory. First, it allows a derivation of Dupire's formula on local volatility in a neat way (i.e. without resorting to differential operator ...
3
votes
0answers
176 views

Is there a more efficient data structure to implement binomial trees than 2d array?

I'm just curious what is the "industry standard" for implementing a binomial tree (if "standards" exist in this case). For simplicity, let's just talk about the simplest trees with recombining nodes. ...
3
votes
0answers
75 views

Time discretisations, FDM vs FEM

I am interested in adaptive mesh methods for numerical solution of PDEs with applications to finance. As part of a school project, I have been pricing vanilla European call and put options using 2D ...
3
votes
0answers
423 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 ...
2
votes
0answers
40 views

Longstaff Schwartz method (LSM): how to increase accuracy?

In the LSM method, I am currently (as they do in the paper) using weighted Laguerre polynomials as basis functions, about 3-5 of them. If I wish to increase the accuracy of my model, what should I do?...
2
votes
0answers
124 views

Architecture of a global pricing library with immutable payoffs

By global pricing library I mean a library handling equity, rate etc, hybrid products having several models (BS, LV, SV, LSV) having several numerical methods (analytic formula, MC, PDE FD/FE) I ...
2
votes
0answers
37 views

Transforming and minimisation of the BS PDE

I'm trying a novel numerical substitution/fitting method to solve the BS PDE, but the issue is that due to the large range of magnitude of prices $V(s,t)\in[10^{-20},10^1]$, when I try to minimise the ...
2
votes
0answers
83 views

Practical precision for Options Pricing

When pricing options, especially in the theoretical literature getting high precision, say up to 8 decimal places is always a competitive goal. Though realistically in a practical setting is such ...
2
votes
0answers
281 views

Portfolio optimization with absolute position constraints

I'm looking to optimize a portfolio maximizing expected return for a particular risk budget, but with absolute constraints on the individual instrument positions. I've been experimenting with QP, ...
2
votes
0answers
173 views

Practical quantitative finance problems that could be solved in trustless grid computing environment?

Are there any relevant computationally intensive quantitative finance problems that could be outsourced to a trustless grid? By a trustless grid I mean that you cannot trust it with the access to your ...
1
vote
0answers
42 views

How is it possible that the measurement uncertainty in Kalman Filter is less than 0?

In Euan Sinclair's Option Trading, Pricing and Volatility Strategies and Techniques, it mentions that the true value of the price can be estimated via Kalman Filter: $$S_\mathrm{new} = S + k (S_b − S)...
1
vote
0answers
34 views

Optimized search for yield-to-worst of a callable bond

Suppose that I need to find the yield-to-worst of a callable bond, and that the option is American (call any time). The bond may have step-up coupons and/or non-constant call price (oprion strike). ...
1
vote
0answers
59 views

Numerical Solutions to PDEs with Financial Applications

I am reading a paper by Richard White, Opengamma named Numerical Solutions to PDEs with Financial Applications. There is an implementation codes as stated in paper hosted at https://opengamma.com/...
1
vote
0answers
70 views

How good is a “good accuracy” in pricing?

Say you want to test various numerical algorithms for purposes of pricing. How close do you need to be to some benchmark value (the "actual" price) for your accuracy to be good? Say I am trying to ...
1
vote
1answer
107 views

Simulation scheme for SABR beside the standard Euler discretization

QUESTION: Beside Euler Scheme, is there another more robust (and preferably easy to implement) way to simulate asset path with SABR dynamics? Simulation that will withstand even for high volatilities....
1
vote
0answers
155 views

What is the best source to get 10 milliseconds time-series data for numerical computation?

I am working with 4th order Runge-Kutta method to compute a second order differential equation. For the best accuracy, I need a 10 milliseconds ohlcv time-series data. I know that I can build it ...
1
vote
0answers
50 views

Optimal allocation problem by finite differences

I am attempting to apply implicit finite difference to solve Merton's problem of optimal portfolio allocation for constant parameters. The equation to solve is the Hamilton-Jacobi-Bellman equation: $$...
1
vote
0answers
197 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 ...
1
vote
0answers
175 views

School project about Black Scholes with stochastic volatility

In a university project I am looking at Black Scholes model with a stochastic volatility. I’m still not quite sure about my focus (I am in the beginning 'Idea phase'). I want to explain the theory ...
1
vote
0answers
58 views

Jacobian for Newton method for American options by front fixing

In this paper Penalty and front-fixing methods for the numerical solution of American option problems a front fixing method based on Newton is described for an American put option is described. I am ...
1
vote
0answers
29 views

Stiffness of numerical methods for SDE

What can I do with stiffness of numerical methods for SDE? I want to use numerical approach for solving SDE in market's scenarios generation. Is there any general approach to handle it?
1
vote
0answers
110 views

Order 1.5 strong SDE integration methods for systems with diagonal additive noise

I'm looking into simple-to-implement and efficient order 1.5 strong SDE integration schemes for my system. My noise is diagonal and additive (possibly time-varying). Thus methods designed for either ...
1
vote
1answer
6k views

estimate implied volatility using newton-raphson in python

I am trying to calculate the implied volatility using newton-raphson in python, but the value diverges instead of converge. What is wrong with the code? ...
0
votes
0answers
26 views

How to approximate expectation and variance of an integral from a discrete Time series financial dataset?

I have discrete time series financial data, with time($u$), price($S$) and someVariable($q$) which looks something like this. ...
0
votes
0answers
30 views

How important is it that numerical methods can price for various strikes simultaneously?

I am reading a paper which presents a numerical method to price call options. Call this Method 1. The method can also price several call-options for a range of strikes simultaneously if you want it to,...
0
votes
0answers
53 views

Parameter estimation and calibration

I am not sure if I understand calibration correctly. Consider a CIR model, suppose I want to estimate the parameters $a,b,\sigma$, I can use a method such as this. However I understand that ...
0
votes
0answers
25 views

American look Back Option (put)

Hello everyone I'm having some trouble calculating the value of an american lookback put option using any other method but "similarity reductions", if you could kindly describe such method or provide ...
0
votes
0answers
50 views

Computation of an integral containing d ln x (Scale of Market Shocks)

I am trying to implement a Scale of Market Shocks method (SMS) which was presented in a 1999 working document by Olsen & Associates named Introducing a Scale of Market Shocks and later refined in ...
0
votes
0answers
30 views

Transform the payoff to be non-zero

Is there any way to transform the basic call option payoff $V(s,0) = \max(s-K,0)$ such that $g(V(s,0))\neq 0$ $\forall s $, where $g()$ is the transform function of the payoff. This is to use in a ...
0
votes
0answers
57 views

what is the meaning of $U^{n+1/3}$ ADI method

For the ADI in numerical method $$\frac{U^{n+1/3}-U^n}{k/3} = \Delta^2_x U^{n+1/3} + \Delta^2_y U^n + \Delta^2_z U^{n+2/3}$$ $$....$$ $$....$$ don't like $U^{n+1/2} = \dfrac 1 2 (U^{n+1}+U^n),$ I ...
-1
votes
2answers
429 views

Numerical computation of Heston model Integral: Simpsone Rule or Gauss-Legendre Method

I want to price a call option using the Heston model for a given set of parameters. theory from URL: http://elis.sigmath.es.osaka-u.ac.jp/research/Heston-original.pdf The integral equation (18) ...