1
vote
0answers
98 views

Calculate display and plot relative spread using Sierra Chart

I'm trying Sierra Chart for trading Bitcoin. I would like to display relative spread for a given volume. spread_rel = 200.0 * (ask - bid) / (bid + ask) where ...
1
vote
0answers
77 views

How To Regress Returns Vs Price as Pct of 52 week high?

I would like to do a linear regression of daily stock price returns, vs the price as a percentage of the 52 week high. i.e. [next week return] = A * [Price / 52 Week High ] + B where A and B are ...
1
vote
0answers
431 views

How to estimate market integration parameter in Singer-Terhaar model for E(r)?

Singer-Terhaar is part of CFA II and III curriculum. It estimates risk premium for some asset, traded at some local market, as weighted average of expected premiums for the case of (1) local market, ...
1
vote
0answers
187 views

Fixed Income Var calculation

I'm trying to calculate var for a portfolio of fixed income securities. I initially want to just calculate undiversified VaR for each instrument. I'm doing the following for each instrument Take ...
1
vote
0answers
158 views

Yahoo Finance API

Have been looking for ways to down load stock price data using Yahoo Finance on Chinese Stocks. Symbol that ends with .SS = stock listed in Shanghai, .zz = stock listed in Shenzhen This link ...
1
vote
0answers
322 views

Solvency II Assets-D1 - aggregation of line items by CIC code

The revised version of Assets D1 (now S.06.02 – List of assets under CP13) requires the following aggregations (page 24): CIC 71 (Cash), only one line per currency is to be reported; CIC 72 ...
1
vote
0answers
121 views

What is the right group of durations?

It seems that the group of durations commonly used in quantitative analyse is $\mathbf{R}$ but it seems to me that $\mathbf{R_+^*}$ could also be an interesting choice. While I am not aware of ...
1
vote
0answers
50 views

Binary options and European option is similar?

European options and binary (digital) options is similar? How apply the Black & Scholes formula on binary option?
1
vote
0answers
177 views

For pricing, what types of Exotic Options are suitable using Local Volatility Model / Stochastic Volatility Model?

I understand that Stochastic Vol Models should be used when Exotic Option payoff is Volatility dependent (such as Variance Swaps and Volatility Swaps). Stochastic Vol Models should also be used when ...
1
vote
0answers
246 views

pairs trading or long short strategy given volatility of the stocks

Suppose I have 2 stocks and the only thing I know about them is their volatility and that they cointegrate. Let's say vol of stock A is 25% and B is 20%. Will I be able to find a hedge ratio only ...
1
vote
0answers
219 views

Comparing Backtests of Value-at-Risk and Expected Shortfall

My goal is to test if ES (CVaR) empirically is a better risk measure than VaR for a set of given variables (assumed underlying distribution, confidence level, sample size) for different asset classes. ...
1
vote
0answers
288 views

European Swaptions: does implied volatility of swap rates decreases both with start and tenor?

Does implied volatility of swap rates decreases both with start and tenor? Given a Swaption price and a discount curve I calculate the swap_rate from the curve, then I define implied volatility as ...
1
vote
0answers
49 views

Valuation of Mortgage Backed floating notes

Does anybody have experience in valuation of mortgage backed floating notes? I have task to value the 4 different MBS floating notes. I know that it should be done through montecarlo, refinancing ...
1
vote
0answers
640 views

What is the best alternative of Quantlib library

We need to build a Fixed Income Portfolio Risk Analytics solution. Somehow due to administrative reason we can't use Quantlib which is written in C++, even call it through SWIG via JNI. We have tried ...
1
vote
0answers
214 views

Quadratic utility function

May you can help me undertanding the following conclusion: Suppose we have an agent who has preferences over contingent claims, represented by a concave function $U$. This simply means that ...
1
vote
0answers
217 views

Obtaining the default probability and recovery rate for each credit rating?

I have the following questions for obtaining the credit rating: Given that I have cumulative default probability of each credit rating from Global Corporate Average Cumulative Default Rates ...
1
vote
0answers
477 views

Question about Merton model to estimate default probability and recovery rate of the company

I recently come across Merton's model to estimate the default probability and recovery rate of the company. Here is the inputs ...
1
vote
0answers
158 views

Forecasting Equity returns using state-space models

I have data for 3 yrs of 5 min prices of various equities. I can construct a linear regression model and try to see the in-sample model performance. But I was wondering whether fitting a state-space ...
1
vote
0answers
79 views

Adjusted option prices?

I am trying to calculate IV of options for a ticker over the last 10 years. Problem is that some option prices don't make sense (for example, closing price \$31.94, but 30-day call option with 18 days ...
1
vote
0answers
270 views

Pricing options and bid-ask spread

Consider a non-liquid option market with a wide bid-ask spreads across all strikes. Spot: \$52 A snapshot of the \$50 strike shows: ...
1
vote
0answers
138 views

Market Standard Pricing Models for Fixed Income Securities (Vanilla)

To clarify my heading, I have been searching for a material that consolidates all standard Fixed Income Security Pricing. E.g. ...
1
vote
0answers
66 views

How to choose a window for curve fitting and prediction?

I am using Pareto distribution to fit a serie of survival rates (with least square). My ultimate goal is to use this fitting curve for prediction. Thus I would mainly focus on the tail of the ...
1
vote
0answers
85 views

How to show that the risk contribution function is or is not injective?

Assume a portoflio $w \in \mathbb{R}^n$, you can get the total risk contribution $\psi_i$ of asset $i$ by doing: $$\psi_i = w_i \frac{\partial \sigma(w)}{\partial w_i}= \frac{1}{\sigma(w)} \left[ ...
1
vote
0answers
385 views

Long/Short portfolio return

Suppose I have a Po with one long, one short positions and some cash (to balance the short + 50% margin) as shown below: ...
1
vote
0answers
118 views

Do you use software for finite element valuation or do you roll your own?

Engineers put a lot of time and effort in developping high quality finite element (FE) software (deal.II, Dune, Elmer,...). So I was wondering if some of those tools would be suitable for quantitative ...
1
vote
0answers
144 views

Example code for “Gauge Invariance, Geometry and Arbitrage” paper

This paper describes an algorithm for computing arbitrage opportunites using a gauge connetion. Has anyone written a python program or C++ or C# program that shows how to follow the steps outlines in ...
1
vote
0answers
218 views

Constant maturity futures price methodology

What is the correct methodology to compute constant maturity futures price. I've met in some papers that do the following. To create constant maturity synthetic futures prices with maturity $m = 30, ...
1
vote
0answers
88 views

What are the industry standard models for monte carlo simulation of basket options?

I would like to simulate an equity index, a risk free cash account and the yield curve for the purposes of valuing a guarantee on an insurance product that is being backed by both equities and cash. ...
1
vote
0answers
304 views

Convexity adjustment

I have a problem with the underlying assumption in the future/forward convexity adjustment. If I understand correctly, the assumption is, if I am long ED, I earn money when rates go down and invest ...
1
vote
0answers
90 views

Insignificant or significant explanatory power over risk adjusted returns?

Currently iam working on my master thesis which is about risk adjusted returns in the Asia Pacific REIT market. The goal of the paper is to determine/find variables that conceive explanatory power ...
1
vote
0answers
102 views

RCaller & RQuantlib error in java

I am receiving the following error: ...
1
vote
0answers
135 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
365 views

Implied volatility and greeks for american option with discrete dividends

What methods are available to calculate IV and greeks for an american option with discrete dividends, and how do they compare? Should I use Roll-Geske-Whaley and solve for a given option price?
1
vote
0answers
326 views

GJR-GARCH modeling in stata

I am wanting to run a GJR-Garch model in stata and I am having problems identifying what command I need to put into the system. When using the commands I receive two different ways to do so and I am ...
1
vote
0answers
166 views

How to statistically compare the pricing errors of various option pricing models?

I have three different option pricing models, for which I computed the in-sample and out-of-sample pricing errors. Now I want to test the pricing performance of these three option pricing models ...
1
vote
0answers
820 views

Models for simulating FX movements

My goal is to develop a model to simulate long term FX movements. (I am not sure if long term makes any difference, but if it does I am more interested in long term fx movements) These Monte Carlo ...
1
vote
0answers
157 views

Market Exposure and Hedging

Normally the Market exposure associated with your stock/portfolio is your delta for that stock/ portfolio. Basic idea of hedging involved here is buying/selling respective futures depending upon ...
1
vote
0answers
56 views

mean variance minimizer

I need to use the lagragian multiplier to find the minimal martingale measure from the set of equivalent martingale measures. i formed the lagragian as L = $L(u(t,S(t)),\lambda) = ...
1
vote
0answers
292 views

Interpolate option volatility in delta space in R

I have a bunch of deltas and option implied vols at those deltas. I would like to interpolate them in R. Interpolating them in delta space seems difficult, since normally you would like the ATM calls ...
1
vote
0answers
86 views

How to measure if variance is greater at a certain time of day?

I'm not very fluent in the quant vernacular, so perhaps the nature of my question will be better illustrated as a hypothesis. One market has closed and another market elsewhere on Spaceship Earth is ...
1
vote
0answers
521 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 ...
1
vote
0answers
136 views

Modelling long run relationship between dividend and earnings

I am working on a paper where I have to model the long run relationship between earnings and dividends. I have downloaded the raw data from shillers website. I have converted the series to ...
1
vote
0answers
91 views

Risk factors for derivatives on dividends

I consider pricing and risk analysis of derivatives on dividends of the members of equity indices (such as Dow Jones EuroStoxx). There are options but I focus on futures. What are the main risk ...
1
vote
0answers
287 views

Call options portfolio: what would the underlyings' moments to be maximized?

Let you have only three underlyings, like SPY, TLT and GLD, and you want to buy $n_{1}$ Call options on SPY, $n_{2}$ Call options on TLT and $n_{3}$ Call options on GLD... with a limited budget, that ...
1
vote
0answers
77 views

Problems with exact Heston simulations

I am just wondering if there is any problem with the so-called "exact" Heston simulations? So far what I have seen are the good things about it, what are the disadvantages? Because if it is so ...
1
vote
0answers
188 views

Data feed that shows individual orders

Does anyone know how I can obtain time and sales data for a stock? Lots of feeds provide the total volume but I would like to see the breakdown of what buy/sell orders made up the day's volume. I ...
1
vote
0answers
106 views

What to do with linear regression or regression splines outside of the training range?

This is a cross-post from here In my question on a load forecast model using temperature data as covariates I was advised to use regression splines. This really seems to be a/the solution. Now I ...
1
vote
0answers
38 views

How does a covered bond characteristics compare to a mortgage security for credit enhancement?

I need help with understanding how does a covered bond characteristics compare to a mortgage security for credit enhancement?
1
vote
0answers
180 views

Pricing a Power Contract derivative security

I'm trying to price a "power contract" and would appreciate guidance on the next step. The payoff at time $T$ is $(S(T)/K)^\alpha$, where $K > 0$, $\alpha \in \mathbb{N}$, $T > 0$. $S$ is ...
1
vote
0answers
188 views

How to calculate a the PFE for a Swaption?

How do you calculate the Potential Future Exposure (PFE) for a swaption? Do you incorporate the dynamics of implied volatility when you are running your simulations? Is there a standard way to ...

15 30 50 per page