1
vote
1answer
56 views

When the two time series with different length, how could we analysis them with a bivariate GARCH model?

At this moment, i need to do the analysis of rouble/us dollars exchange rate and the stock market index in Russia, I prefer to do that in a multivariate GARCH model. However, I have a question about ...
1
vote
1answer
64 views

how are gaps usually handled in market data received with multicast?

Most commonly due to latency reasons, market data is published using multicast protocol. However since multicast is built on top of UDP, it is possible that there could be packet drops. How can the ...
2
votes
0answers
84 views

How can I use Thomson Reuters Eikon to get a list of large historical companies?

I am trying to use Thomson Reuters Eikon to get a list of historically large companies, for example, what were the 1000 largest companies by market capitalization in 1990? I would like to get lists of ...
2
votes
1answer
119 views

Get institutional holdings of stocks programmatically

First of, I'm not sure if this is the right place for this question, but a search on Google for another programmatically related question regarding stocks led me here, so here it goes. Is there any ...
4
votes
2answers
180 views

is there an analytical proof that vega-neutral also provides (gamma & theta) neutral?

I've read an answer here that say if your security has vega, then it has gamma and theta. is there an analytical proof that vega-neutral also provides (gamma & theta) neutral?
3
votes
1answer
276 views

How to adapt a Moving Average period to market conditions?

I would like to know if there is some way to adapt the period of a moving average to market conditions like for instance the stop loss can be adapted to market conditions using the average true range. ...
2
votes
1answer
150 views

why is there a cancel/replace message in FIX?

Couldn't we just cancel existing order and enter new order? Is there any other reason apart from a communication overhead that now we need to send 2 messages vs just 1 message to cancel replace?
3
votes
1answer
113 views

How to calculate $E^{T_N}(L(T_i, T_{i+1}))$?

suppose $L(T_i, T_{i+1})$ is the LIBOR rate between $T_i$ and $T_{i+1}$, and $T_N$ is some time later than $T_{i+1}$. $E^{T_N}$ is the $T_N$-forward measure. I tried to work this out using John ...
4
votes
2answers
123 views

Estimating an appropriate haircut for illiquid stocks

I am trying to determine an appropriate haircut for a basket of illiquid stocks that barely traded during the year. Can someone suggest me an approach to estimate the risk? My dataset has a lot of ...
1
vote
1answer
259 views

Calculate and plot historical volatility with Python

I have downloaded historical data for FTSE from 1984 to now. What I would like to do is to graph volatility as a function of time. What I have written is: ...
0
votes
1answer
83 views

Swiss Zero-Coupon Bond Yield Curve Data

I am trying to access the Swiss Zero-Coupon Yield Curve Data. I know that the Swiss National Bank provides this data, as noted on the 8th Page of this paper under Section 3.2. However, I am for the ...
4
votes
2answers
136 views

Bloomberg implied volatility smile for equities

I was wondering if someone knows how Bloomberg does their computations for the implied volatility smile for equities. As far as I understand, they use a lognormal mixture to model the stock prices. ...
7
votes
1answer
976 views

Can American options with no dividends and zero risk-free rate be treated as European?

Let's say you've got American options on a future of a stock index. There are no dividends, and no risk-free rate either (assume $r=0$). Can these options then be treated as European from the ...
0
votes
1answer
44 views

In this scenario could gamma be higher for OTM options?

Let's say there is a $1 stock, with say 1 day to expiration. The 1.5 strike call, is probably a 0 delta at this point; however, a 1 point increase would mean the stock would be at trading at 2 ...
0
votes
0answers
61 views

Number of simulations for Monte Carlo CVA

Assuming we are calculating CVA across a netting set with a Monte Carlo methodology: 1) How many future dates ("horizons") would be typical - or does that depend entirely upon the composition of the ...
4
votes
0answers
203 views

How to forecast high-frequency data?

Introduction: I have seen a plenty of articles/books regarding volatility forecasting applied to high frequency data, but none of them were dedicated to forecasting the actual prices (for example ...
5
votes
2answers
271 views

How to calibrate a volatility surface using SVI

I've read the following paper by Gatheral and Jacquier and have several question regarding the calibration of a volatility surface in a arbitrage free way and some theoretical aspects. Let me first ...
3
votes
0answers
236 views

credit risk - How to calculate the probability of default (private companies)?

Part of my master thesis I am working with a company. I have the project to use their financial database with all the financials data (7 years) of approximately 3’000 companies. They have their own ...
1
vote
0answers
56 views

CVA for an inflation linked swap

I am trying to value an inflation linked swap and wish to calculate the associated CVA and DVA. I think the best way to approach this would be via a simulation. Suppose I wish to calculate CVA over ...
3
votes
0answers
47 views

Is there any index calculation methodology that is suitable when constituents change frequently?

Trying to create a custom stock sector index, however adding/dropping of the constituents will be frequent. Which kind of index calculation methodology (e.g. Price Weighted, Equal Weighted, Cap ...
2
votes
2answers
103 views

Why t (time) in Black Scholes & Binomial defined as year?

What's the logical/scientific explanation for Black Scholes & Binomial using year rather than second (SI standard for time) ?
1
vote
2answers
88 views

How to calculate cash flow for XC swap

Given 3MLibor vs 12MLibor USD basis swap the 3M Libor is exchanged at 12MLibor+1%. How to calculate the cash flow
-2
votes
1answer
46 views

what is the cost for rolling 5 year german future?

im looking at the bobl future for september and for december and see 1.8 basis points difference. i wanted to know why there is this gap? and if im holding a position in september and want to roll it ...
6
votes
1answer
283 views

How to use physics models in Time Series Analysis and Forecasting.

I have been studying methods of Technical Analysis for several years and I am disappointed. I actually do not consider it useful. I have not met anyone who can constantly win in the market using these ...
3
votes
2answers
124 views

How to user GARCH(p,q) to identify most volatile sector?

I would like to ask help concerning the utilization of GARCH(p,q) models to identify volatility. Suppose that I have daily closing prices of 6 financial sectors spanning several years, and I am ...
2
votes
2answers
172 views

Set up sharpe ratio with 2 risky portfolio

You are considering an investment in the stock. In the stock market, there are two risky stocks (A and B) and a risk free claim, C (you can think of it as the t-bill). The covariances and returns of ...
4
votes
1answer
433 views

Moving window forecasting in Python

I am looking to create some code that will out-of-sample forecast the HAR-RV model. The model itself is formulated as the following, and the betas are estimated through HAC-OLS or Newey-West. ...
1
vote
0answers
110 views

Automated Import of 10-Q and 10-K Statements in XBRL Format from SEC.gov

I want to read financial statements in XBRL Format from the SEC site automatically. For instance the 10-Q File from Apple: ...
0
votes
0answers
38 views

Modelling commodity price uncertainty with brownian motion - time period impacts

background I have two separate models of a metals resources company. Each model produces a series of accounting and cashflows forecast for different assets, and consolidates these to a overall ...
3
votes
2answers
559 views

Quantitative Finance Programming Language

Since couple of weeks, I started to do my research on quant finance. During this time, I could discover a lot of stuff and with that stuff, a lot of questions came to my mind. A lot of news or ...
1
vote
1answer
77 views

Original Fundamental Accounting Data (Not Ratios)

Where do I get original fundamental accounting data from income statement, balance sheet and cash flow statement, like Sales/Revenue, Gross Income, EBIT, Operating Income, Cash & Short Term ...
0
votes
0answers
17 views

Calculating Portfolio Risk with different assets [duplicate]

I want to calculate the risk of a portfolio (for a certain year) that includes several assets. Therefore, I want to calculate the standard deviation of each specific asset. I will calculate the ...
1
vote
2answers
129 views

Why QuantLib computes the fixed-leg swap rate by this formula?

I'm trying to understand how QuantLib creates (bootstraps) a yield curve from a vanilla swap at the source level. I have the following test code: ...
1
vote
1answer
21 views

Source of market or security attribute information?

There are many securities and exchanges on platforms like Bloomberg and Quandl, but many securities are described with the relevant pit close times and pit open times, exchanges, related futures, and ...
0
votes
1answer
56 views

What is the correlation of stock options?

I want to calculate the VaR of two correlated option positions, and I know the correlation between stock price returns. I want to separately calculate $Var_1$,$Var_2$ for option 1 and 2, and then use ...
0
votes
1answer
236 views

Gamma Imbalance Explanation

Can someone please give me an explanation as to what put-call gamma imbalance specifically refers to (imbalance of what?), and why they may exacerbate volatility from a market perspective, and why the ...
0
votes
1answer
59 views
1
vote
1answer
84 views

Utility Theory - Certainty equivalent approximation formula derivation

I have a question on an exercise from chapter 9 of D. Luenberger, Investment Science, International Edition, where I suspect there may be a typo. Exercise 8 (Certainty approximation) There ...
4
votes
1answer
172 views

Difference between Sharpe Ratio and Information Ratio

I am finding it difficult to understand the difference between the sharpe ratio and the information ratio and the relationship between the two, and cannot find a decent reference that breaks it down ...
1
vote
1answer
59 views

What is this ratio: expected returns on stock divided by risk free rate?

So this ratio has come up in some work I'm doing and I can't seem to figure out if it is attested in the literature. Here's the setting: Given a risk free rate $r(t)$ and a stock price which follows ...
3
votes
1answer
69 views

Why the negative sign in modified duration relationship

If $P$ is price, $D$ modified duration and $y$ yield then we have the relationship, $$dP=-D \cdot P \cdot dy$$ Why is there a minus sign and what does correspond to?
1
vote
1answer
29 views

Modeling credit utilization and stock market growth

I relatively new to financial mathematics but I am wondering if at all there exists a relationship between credit utilization (the rate at which the public accesses credit from financial institutions) ...
1
vote
0answers
104 views

Send TRAIL STOP order when price hits a certain level, with IB TWS

Posting here after searching around and not finding any responses to basically the same question that I saw on EliteTrader, with another variant posted 10 years ago (update: the same question on ...
1
vote
0answers
22 views

Portfolio Hedging under Uncertain Correlations

I have a portfolio ($w_0=1$) and two hedging assets ($w_1,w_2$) and a co-variance matrix for the three $\Sigma$. However the co-variance $\Sigma$ is only an estimate. For fairly well behaved assets ...
0
votes
1answer
97 views

Do I need simulink to model the risks of an option portfolio

I wish to buy Matlab Home and learn to model the risks of a derivatives portfolio and then stress test it. So I am guessing I will need : Stochastic calculus Linear algebra Stats/Probability Some ML ...
0
votes
2answers
74 views

Ledoit-Wolf Shrinkage estimator not giving positive definite covariance matrix

I used ten year daily data for 407 stocks and computed the daily and monthly covariance matrices. Since I have more variables than observations for the monthly matrix, I wasn't surprised to find the ...
-1
votes
1answer
57 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) ...
0
votes
0answers
29 views

Are low oil prices and low shipping costs really a leading indicator for a shrinking economy

Recent article in Bloomberg saying that lowered shipping costs n the form of the Baltic Dry Index and lowered oil prices are in someway a concern for a growing global economy: ...
0
votes
0answers
69 views

Interpretation of the CAPM model under Stochastic Portfolio Theory framework

The CAPM under the Modern Portfolio Theory approach is given as: $$ R_i = \beta_i R_\pi $$ Where $R_\pi$ the portfolios expected excess returns Under the stochastic portfolio theory approach: $$ r_i ...
5
votes
1answer
393 views

Do futures have predictive value?

Futures closely mirror their underlying, as can be seen in the charts below. Eventually, at expiration, they reach the value of the underlying. However, they seem to show no extra information about ...

15 30 50 per page