0
votes
0answers
58 views

R TTR/RSI does not behave like a Bloomberg RSI

The implementation of TTR:RSI differs slightly from the RSI calculated in Bloomberg, see more details here. I use in TTR the SMA, which simply calculates the mean, that is a walking window of: ...
0
votes
0answers
20 views

Immunising pension liability due in 4y?

Help required please on calculating the amount of Zero Coupon Bonds and annuity bonds that are needed to immunise a portfolio against interest rate risk, for a pension fund that expects to pay £500bn ...
0
votes
0answers
27 views

Building curves using onshore or offshore JPY overnight rates?

I am trying to build Japanese Yen interest rate curves. When defining the curve instruments for the 'OIS' (discount) curve (aka TONAR), I am uncertain as to which rate to use for the overnight deposit ...
0
votes
0answers
37 views

Using the R package “ termstrc ”

I am attempting to use the function estim_nss from the termstrc package in R. However, I am experiencing the following error: ...
0
votes
0answers
18 views

Does anybody know how to use jquantlib with eclipse?

I'm currently beginning to work on my masters project in QF and I wanted to use jquantlib for my work. I've searched the internet quite a bit but couldn't find good understandable info on how to work ...
0
votes
0answers
18 views

If you knew market’s expected spot rates, could you deduce if there is a forward-risk premium?

Suppose that you were importing small electric transformers, that delivery from all suppliers would take approximately 6 months, and that you faced the situation shown in the table below: The Table ...
0
votes
0answers
37 views

Portfolio Performance Metrics

In comparing different long portfolios in stocks for 15 quarters, where at each quarter I re-balance the portfolio. So what I have done is made a function that outputs the rand value of the portfolio ...
0
votes
0answers
95 views

Black-Litterman with simple portfolio

In an attempt to learn Black-Litterman I have come across this "simple" example. Suppose that you analyze market data using CAPM $$r_i-r_f=\beta_i(r_m-r_f)+\epsilon_i$$ Suppose there are 2 assets in ...
0
votes
0answers
49 views

Are there any software libraries for backtesting FX algorithms against tick data?

I've read question, however it doesn't appear as if any of those libraries work for FX data. A Google search for python forex backtesting turns up this project, ...
0
votes
0answers
21 views

Forecasting bond yields

Do you know any models which can be used for prediction of corporate bonds yields (or goverment bonds yields) when we know forecasts of macroeconomic fundamentals (gdp, fed funds rate, interbank rate, ...
0
votes
0answers
27 views

Calculation of physical and risk neutral density using index options

I am asking professionals for a help. There have already been the post Data Selection for Empirical Pricing Kernel Estimation (Stochastic Discount Factor) from Finance_Newbie. But I am wondering ...
0
votes
0answers
18 views

How to estimate portfolio value in money as function of spread

I'm a beginer in field of quant algos, so sorry for my lame question. I'm trying to calculate portfolio value of 2 currencies in basic stat arb strategy as function of spread change. But my value in ...
0
votes
0answers
33 views

How to calculate Probability of Default from Survival Probability

I would calculate Probability of Default from Survival Probability. I want to know how they are related. This is how I think they are related: ...
0
votes
0answers
22 views

Impulse Response Function, VAR

I calculated VAR coefficients and got stability coeficients. But then I calculated Impulse Response function and it turned out to be spike-shaped function (like cos(x)*exp(-x) with acute extremuma ...
0
votes
0answers
48 views

How do I track implied volatility of specific delta?

I'm a newbie with respects to volatility trading and options. I recently purchased a book on the topic called "Trading Implied Volatility -An introduction" by Simon Gleadall. It's been one of the most ...
0
votes
0answers
77 views

What is the best real time data feed - IQFeed, kinetick.com, etc?

This is my first post, and I know of quant's vast knowledge base of the users. Thanks in advance for any assistance. Any quantitative testing, benchmarking, expected lag, true numbers comparing all ...
0
votes
0answers
11 views

discounted price economic meaning

Could you please explain why we discount the prices using bank account or some numeraire, what is its economic meaning. Specifically The movement of the security prices relative to each other ...
0
votes
0answers
25 views

How to calculate APR on term year

What is the APR on a $$300,000 fixed rate loan amortized over 30 years but due in 10 years if the stated annual interest rate is 5.0% and the lender charges 2% as an origination fee, $18 for a credit ...
0
votes
0answers
42 views

For futures contracts, do we need to do price adjustment during live testing?

I am trying to do pair trading on a pair of future contracts, e.g. CME gold and silver. During the training of my trading model, I do forward adjustment on the pair of future contracts. Let the ...
0
votes
0answers
72 views

When should we use KDB database and when should we not?

What are the criteria s we should look into when we want to choose the suitable database. suppose If My requirement is to have a huge amount of insert and updates only the should we use KDB. When ...
0
votes
0answers
20 views

Correct term for position accumulation relative to price?

I've been looking at various accumulation algos and it appears that the greater majority are predicated on building a position largely relative to a time component or market volume for obvious ...
0
votes
0answers
25 views

Solvency Problem for Financial Institutions

According to my finance lecture, the motivation for risk measures is grounded in the solvency problem: Risk measures are used to determine the amount of capital to avoid insolvency of the financial ...
0
votes
0answers
35 views

Law of one price in continuous time

The law of one price (i.e. for assets $S^{(i)}$ and $S^{(j)}$, $S^{(i)}_T = S^{(j)}_T $ almost surely implies that $S^{(i)}_t = S^{(j)}_t $ almost surely for all $ 0 \leq t \leq T$) is known to hold ...
0
votes
0answers
28 views

How to generate jump times in in Multilevel path simulation for jump-diffusion SDEs?

I am trying to generate jump times in in Multilevel path simulation for jump-diffusion SDEs using the following MATLAB code: I used following Algorithm in Yuan Xia paper: But I have not reached ...
0
votes
0answers
10 views

How to simulate jump times in Multilevel path simulation for jump-diffusion SDEs?

How to simulate jump times in Multilevel path simulation for jump-diffusion SDEs in this pag ? Yuan Xia I used this code: ...
0
votes
0answers
20 views

What to do when I do not get enough fill in cash leg during cash - future arbitrage

Futures have fixed lot sizes in my exchange, but cash do not. When I am spread trading the cash - future pair, what should I do if I am unable to get enough fill on the cash side.
0
votes
0answers
13 views

dynamic programming with serially independent returns

Book suggests that "asset returns are assumed to be serially independent, so wealth is a single state connecting one period to the next". I understand path dependency is lost in case of serial ...
0
votes
0answers
55 views

What is the most elegant way to write a trading (or asset selection) algorithm in MATLAB, based on a simple criterion?

Assume a $T \times N$ matrix $X$ of values for an asset characteristic at time $t \in \{1,2,\dots,T \}$, where $T$ is the observation period in months and $N$ is the number of assets and a ...
0
votes
0answers
13 views

Are these nonstationary variables?

If I have understood correctly, computing the correlation of two nonstationary variables can lead to spurious results. For example, computing the correlation of two stock price time series would lead ...
0
votes
0answers
20 views

How to calculate the standard deviation of a 'deviation from a moving average'?

Say I have a vector of daily price changes for an asset and calculate the standard deviation of returns in the usual way. Let's call this result A. Now assume that for the same asset I also have a ...
0
votes
0answers
42 views

Any Simple Way to Prove Black Scholes Type Identies?

A certain complicated option pricing formula results in products of Black Scholes $N$ components like this: $-p_1N(d_1)N(d_6)+p_sN(d_2)N(d_5)>?0$ where $p_s>p_1$ Trying to find a simple way ...
0
votes
0answers
27 views

Cost of carry for posting bonds as collateral

Cost of carry for posting bonds as collateral How do you calculate cost of carry for posting bonds as collateral?
0
votes
0answers
50 views

Interpretation of Cointegration results, pValues and t-Stat

This is a follow up to: Cointegration results interpretation validation? I ran another Engel Granger Test on a pair, The results I get: ...
0
votes
0answers
38 views

What interest rate dynamics would you suggest to simulate a single swap?

I need to calculate the Potential Future Exposure (PFE) for a single swap (not a portfolio). As far as I know, a stochastic model is needed to simulate the interest rate curves (from here). Could ...
0
votes
0answers
38 views

Is the Volatility of the Fx Inverse process same as Fx

Let St = Fx and St(Inverse) = 1/Fx. Do both of these have same volatility and if so how would you prove it?
0
votes
0answers
3 views

Foreclosure Implications on CMO Cash Flows

I have a simple homework project where I am to create some models to value a CMO. Please make any simplifying assumptions necessary to provide an answer. Prepayment is simple to account for. This ...
0
votes
0answers
24 views

Web Based Market Profile Code

I am looking for someone who knows of or has access to web based charting code using Market Profile. Does this exist out there? I would prefer the source code so I can make changes to it. Any ...
0
votes
0answers
34 views

volatility grouping

I was working on risk levels of a combined portolfio (includes options,futures as well as stock). While using greeks we can asses some value of a portolio, but when one needs to assess some kind of ...
0
votes
0answers
31 views

Sample long/short portfolio profit and loss template

Does anyone have a suggestion of where I might be able to find a profit and loss template for a long/short equity portfolio? Thank you in advance.
0
votes
0answers
76 views

FX Delta Conventions

I'm currently reading Iain Clark's book Foreign Exchange Option Pricing and I got stuck at one sentence in the beginning of Section 3.3 that I feel is important to understand. He writes: FX ...
0
votes
0answers
42 views

Derivation of the formulas for the values of European asset-or-nothing and cash-or-nothing options

The asset-or-nothing European option pays at t = T the value of the stock when at time T that value exceeds or is equal to the exercise price E, and nothing if the value of the stock is below E. So, ...
0
votes
0answers
26 views

What is the intuition behind the relationship between herding and trade (or investment) size?

I am studying herding behavior among investors, in particular I found a u-shaped relationship between herding and trade (or investment) size. As such, traders with the smallest or the largest trades ...
0
votes
0answers
25 views

How to calculate intraday implied vol on the last day of trading an OTM option

i've been trading globex options on US Treasury futures, but my option calculator only takes the date as the time input..so on the last trading day, the model assumes all values are errors because the ...
0
votes
0answers
9 views

CFD on warrants or options?

I'm looking for CFD-type contracts based off warrants or ETO prices; does such a thing exist? I'm interested in Asian markets; Hong Kong, Singapore, Japan.
0
votes
0answers
22 views

Mortgage parameters

I'm looking for readings about the trade-off between the parameters of a mortgage: length of the mortgage, percentage of the principal to repay, inflation rate (at which the payment growths) and total ...
0
votes
0answers
35 views

Standardizing SEC XBRL Reports into common format

I'd like to grab SEC XBRL 10-Q's from various companies and standardize/summarize their content to be able to run common analysis. But it looks like different companies use different elements, making ...
0
votes
0answers
37 views

Where can I find an historical data source for Fixed Income instruments?

We would like to find a data source for fixed income instruments. The information we would like is: Issuer Credit rating Terms Price The information needs to be available over a period, for ...
0
votes
0answers
27 views

How to prove following order?

Consider a consol bond, i.e. a bond which will forever pay one unit of cash at $t = 1, 2, . . ..$ Suppose that the market yield $ y$ is constant for all maturities. (a) Compute the price, at $t = 0$, ...
0
votes
0answers
11 views

Distribution of the differences of the inverse of the integral of a Gaussian Distribution

I have a time series, $P$, undergoing geometric Brownian motion, which varies between $1$ and $1000$. I difference it $P(t) - P(t-1)$ and can see the differences are distributed according to a ...
0
votes
0answers
38 views

Where to find agent-based software for the stock-market?

I am looking for game theory agent-based software to run simulations of the stock market. Ideally it would be a software where i could manipulate the variables and possible the underlying assumtions ...

15 30 50 per page