1
vote
1answer
46 views

Non-contractual accounts behavioural study

I need to carry a non-contractual accounts behavoiural study for a bank. The objective is to estimate core/non core ratios and then bucket and ftp them. Any recipe where to start? I have 3yrs of ...
0
votes
0answers
29 views

Market microstructure by Mark B. Garman (J. Financial Economicss 3, 257-275, 1976)

Link: http://www.sciencedirect.com/science/article/pii/0304405X76900064 In Garman's inventory model, buying order and selling order are poisson process with order size = 1. Buying price and selling ...
3
votes
1answer
62 views

Expected option return in MATLAB

The expected return of an option is given by its expected payoff under $P$ over its market price under $Q$. For the Black-Scholes model, expected call option return is given as (see here): $$ E(R)=\...
0
votes
2answers
138 views

How to automatically get all options data for a particular stock into microsoft excel?

I'm looking for a way to get the entire options chain (All options expiries) for a particular stock in excel without manually copy pasting anything. It does not have to be real time and I will only be ...
5
votes
1answer
239 views

Up and Down days in GBPUSD and a Filter

I want to study if the odds of an up or down day in a forex pairs is 50-50. I just count the total number of up and down days in X years and compare it with the total days. The results are very ...
2
votes
1answer
111 views

VEC GARCH (1,1) for 4 time series

I have to estimate a VEC GARCH(1,1) model in R. I already tried rmgarch, fGarch, ccgarch, mgarch, tsDyn. Has somebody estimated a model like that? ...
5
votes
1answer
171 views

DCC GARCH - Specificating of ARCH and GARCH parameter Matrices STATA

The command in STATA to calculate the DCC model of two variables is: mgarch dcc ( x1 x2=, noconstant) , arch(1) garch(1) distribution(t) $$ \begin{bmatrix} ...
1
vote
1answer
110 views

quantlib python : missing methods?

I'm reading Introduction to Selected Classes of the QuantLib Library I by Dimitri Reiswich and tries to "convert" it to Python. It seems to me that some C++ possibilities aren't available in python. I'...
1
vote
1answer
72 views

Derivative: Delta of a Down and Out Call Option with Barrier=Debt(K)

I am trying to compute the derivative of this function with respect to V0: This is the price of a down and out call option, assuming the barrier equal to the level of debt K. In other terms, I need ...
1
vote
0answers
18 views

x13 Arima analysis with negative values

I'm running x13 Arima analysis on a US GDP series to get the "trend" component. ...
1
vote
0answers
54 views

Valuation Method for CASH in S.06.02 QRTs

Extract from the latest spec for C0150 (Valuation Method) of S.06.02: Identify the valuation method used when valuing assets. One of the options in the following closed list shall be used: ...
1
vote
0answers
6 views

S0602 - whether to report Quantity (C0130) or Par Amount (C0140) for Money Market Funds?

We have several positions in a money market fund (CIC IE43) to report in the S.06.02 QRT, and we receive source data for both Quantity & Par Amount. These are actually identical. Which one ...
1
vote
0answers
34 views

Reference Request: Trader Replication

I am looking for any reference where the following problem was addressed: given the list of trades of a trader teach an AI to replicate that trader's strategy. There are several well-known results ...
0
votes
0answers
16 views

Help with amortisation table in Excel VBA [closed]

I am a beginner with VBA. I am trying to create an amortisation table where the interest rate used depends on two inputs which will be provided by the user. For example if X=2; and Y=3, then interest ...
1
vote
1answer
21 views

Reference for option pricing, binomial multi-period model using martingales and conditional expectations

The title basically says it all. I am looking for a reference text on the pricing of options in a binomial multi-period model. It should be mathemathically rigorous using martingales and conditional ...
0
votes
1answer
62 views

Pricing foreign currency bonds - which approach is more theoretically “sound”?

You own a fixed rate corporate bond in foreign currency (let's say JPY). Your domestic currency is USD. Which of the these two approaches do you consider theoretically better? Discount JPY cash ...
4
votes
1answer
85 views

Correlation of a lognormal asset and a normal asset

So if i want to calcualte the correlation between a pair of assets, my intuition is that i should calculate whatever correlation i plan on using; When we look at correlation, it's normally the ...
10
votes
3answers
8k views

Trading C++ Libraries

Are there any free c++ libraries that would have some of the functions that would be used in developing a trading strategy. For instance, calculating drawdown, Volatility Forecasting, MAE, MFE....etc. ...
1
vote
1answer
66 views

Pricing a Vanilla swap between coupons; What rates to use?

Vanilla Swap question. Entered into a 5Y fixed for floating HUF swap. Fixed is annual coupons, Float is semi-annual coupons. 1 month later I want to price it. I set up my future values for Fixed ...
3
votes
1answer
66 views

Option price derivation with these dynamics

If my underlying follows a dynamics of the form \begin{align*} dF(t,T)/F(t,T)=\sigma_1(t,T)dW_1(t)+\sigma_2(t,T)dW_2(t), \end{align*} where $\sigma_1(t,T)=h_1e^{-\lambda(T-t)}+h_0$, and $\sigma_2(t,T)...
3
votes
1answer
101 views

How to derive an option price for an asset with these dynamics?

Assuming my underline asset price follows the process: $$d\ln (F_{t,T})=-(1/2)\sigma ^2e^{-2\lambda(T-t)}dt+\sigma e^{-\lambda(T-t)}dB_t $$ How should I derive an option price formula?
6
votes
1answer
65 views

Why does jump process has to be Cadlag and not the other way around

In all books and references that I have been exposed to, the jump processes have been defined to be Cadlag(right continuous with left limits). But no one has explained why this is the preferable case, ...
185
votes
26answers
123k views

What data sources are available online?

What sources of financial and economic data are available online? Which ones are free or cheap? What has your experience been like with these data sources?
1
vote
0answers
32 views

Changing timezones with historic forex data (Interactive Brokers API IBPy)

I would like to be able to change the timezone for my requests to the IB API, how can I do this? I am writing in Python, and thus use the IBPy wrapper found here. Supposedly, the third argument of ...
1
vote
2answers
56 views

Sharpe Ratio and your annualization

My question is related on this How to annualize Sharpe Ratio? but is a bit different. Under assumpion of IID returns, if excess return is positive, the SR increase over time horizon, with factor $\...
1
vote
1answer
56 views

Risky duration formula for what kind of bond?

In a documentation, there is the following formula for "zero interest rate risky duration" of a bond: $\frac{1-exp(-s \cdot T)}{s}$, where $s$ is spread, $T$ time until maturity. What type of bond (...
1
vote
0answers
33 views

R:log return calculation for panel data structure

I have a long form panel for hourly prices of stocks. I want to do log return calculation for this panel data structure. This is sample data: ...
2
votes
1answer
75 views

How can extract parameters in the CIR model from data?

I want extract CIR parameters from monthly LIBOR data in the EULER-MARYAMA method in MATLAB languge. I find data but I cant extract parametrs form that! what is the process? what is the formula?
3
votes
3answers
5k views

relation between asset's and equity volatilities - merton model

In terms of Merton credit risk model need to find the initial value of counterparty's assets and the volatility of the assets. Both value are not directly observable thus we have to approximate them ...
5
votes
1answer
100 views

The Relation Between the Ricci flow and the Black-Scholes-Merton Equation

Grisha Perelman once wrote that The Ricci-flow equation, a type of heat equation, is a distant relative of the Black-Scholes equation that bond traders around the world use to price stock and ...
3
votes
2answers
143 views

Online courses or C++ books combined with Finance (alternatives to Duffy and Joshi)

I am trying to find a book for our study group that teaches the bare minimum C++ needed for financial applications. I am trying to teach it in a project based manner. In case, I don't settle on one ...
1
vote
1answer
73 views

Python everywhere but where do they execute orders?

About every introduction I've read about automatic trading writes about how well python is suited for the task. But looking around, I've been able to find just one brooker, Oanda, which has a python ...
3
votes
1answer
55 views

Drift irrelevance on high frequency data

Let's assume that price of a certain asset follows Brownian Semimartingale process with a drift term and a Brownian-driven continuous part (no jumps for simplicity). In literature it is often stated ...
1
vote
0answers
34 views

Constructing Swap Curve from LIBOR

Say I'm considering a long maturity fixed rate swap, for instance 20 years paid semi annually. Now I want to find the fixed rate for this hypothetical swap. I understand that this fixed rate is going ...
1
vote
1answer
107 views

What is Toxic FX Flow debate!

So, basically i want to debate and find out the real reason behind being flag by ECNs and venues as "toxic". How to avoid being flag? What kind of strategies are toxic and why? Below is an article ...
1
vote
0answers
35 views

Discount curve from spot rates for bond pricing

I have a bond with the following cash flow and maturity: ...
1
vote
0answers
26 views

Where to find historical time series data for number of new investor accounts

I am examining the impact of investor sentiment on the probability of stock market crises. I am constructing a composite measure of investor sentiment according to the methodology used in this paper ...
0
votes
1answer
134 views

SEC 10-Q/K Filings

I am working on some research that requires parsing of SEC 10 K/Q filings. We have built a parser that will parse the raw txt SEC filing that usually contains many blocks of unencoded files (html, xml,...
1
vote
2answers
39 views

Unemployment data and bond futures

All other things being equal, why would rising unemployment data lead to (a trend) of increasing bond futures? Is the line of thinking that bond futures prices have the same relationship with ...
1
vote
1answer
84 views

Understanding Yang-Zhang Volatility Estimator

I am using TTR in R and I am trying to understand the Yang Zhang volatility estimator. The following equations seem to imply a single value: $$ \sigma = \sqrt{{\sigma_o^2}+k\sigma_c^2+(1-k)\sigma_{rs}...
10
votes
9answers
1k views

Where to get long time historical intraday data?

I am looking for long time historical intraday day data on the S&P500 composite for a time horizon like 10 years with a - for example 10-minutes tick - or prices for call/put options on the S&...
1
vote
1answer
47 views

Papers on temporary price impact

Can anyone recommend papers that model how long temporary price impact last when you buy / sell a trade? This would fall under the TCA realm (Trade Cost Analysis). Thank you.
2
votes
1answer
135 views

How PCA is performed in the paper “Markov Models…”

can anyone explain in a bit detail on how PCA is performed in the paper "Markov Models for Commodity Futures: Theory and Practice" by Leif B. G. Andersen. I'm not clear on how the high dimension ...
3
votes
1answer
127 views

Monte Carlo and PDE results are different for a Call Option!

Okay so this might be a fairly trivial question but I'm having an issue with valuing a call option using both a Monte Carlo method and a PDE method. When I started I first used the parameters: Spot =...
1
vote
2answers
52 views

How to apply the CAPM to 6 stocks from different markets?

I would like to apply the capital asset pricing model (CAPM) for selecting proportions of 6 different stocks. In introductory books, the CAPM model assumes that there is one market index (e.g. the S&...
1
vote
1answer
63 views

what is the meaning of the differential of an arbitrary adapted random process?

I was working on the definition of the self-financing portfolio. Say $V=\phi_tS_t+\psi_t A_t$ where $S_t$ and $A_t$ are the stock price and the money market price at time $t$, resp, and $\phi_t$ and $...
3
votes
1answer
182 views

kalman filter update equation

Assume that futures price $F(t,T)$ follows the Ito process as described by the following stochastic process $$ln F(t,T)=lnF(0,T)+(Z_1(t)e^{-k(T-t)}+Z_2(t))-(1/4k)[(1-e^{-2kT})(h_1^2+h_2^2))+4h_1h_0(1-...
0
votes
0answers
11 views

How to build a rating two-year transition matrix?

My question concerns not how to estimate a two-year transition matrix, but how to derive it from raw data. Let me explain... By means of Markov chain I can provide an estimation of a two-year ...
3
votes
1answer
72 views

How to compute 30/60/90-day Implied Volatility?

I want to calculate the 30/60/90/180 day 100% moneyness implied volatility for a stock. I think I know how to do it but would like to share my thought processes with the group to verify I'm on the ...

15 30 50 per page