The matlab tag has no wiki summary.
2
votes
1answer
59 views
Continuous returns for negative roll-adjusted futures data
I've generated roll adjusted notional futures data by adding a roll adjustment to the settlement price then multiplying by contract multiplier through time. For example, for crude oil CL, on 15 March ...
0
votes
2answers
91 views
Matlab; How to specify Coupon frequency for Interest Rate Swap
I'm trying to price an interest rate swap and would like to change the default coupon payment frequency from 1 a year to 2 or 4 a year. I'm using
...
0
votes
1answer
87 views
Matlab - Differences between rng and rand
I was trying to run some Monte-Carlo simulations and if I used:
rng(seed, 'Twister');
For some reason I would get "Option Values Can not be Negative" errors in the blsimpv function, but if I just ...
2
votes
1answer
130 views
Implementing nonlinear optimization to find model free implied volatility using Matlab
I am trying to calculate model free implied volatility $\sigma_{MF}$ for a relative performance index using the following method:
$\sigma_{MF}^2=2\sum_{i} [\frac{C(T,K_{i})}{K_{i}^2} - ...
2
votes
3answers
683 views
Is MATLAB-generated code good enough for use in live trading?
I know that MATLAB has mechanisms for generating code, but I've never used them. Have you? If you have - is it good enough (=fast enough, I guess) to be used in live trading systems? Anything one ...