3
votes
1answer
202 views

How to Calculate Confidence Intervals for Moving Averages Given Nonindependence?

I've plotted 30-year moving averages across time for a couple of portfolios, and I was wondering how to calculate a 95% CI for the these moving average data (i.e., across all moving average data ...
0
votes
3answers
154 views

How does logging effect Quickfix performance?

I am using .net/c++ version of quickfix. How does logging effect Quickfix performance? If I disable logging to file, can it help to increase performance of quickfix? Thanks,
1
vote
1answer
133 views

Which is the better risk sensitive measure?

Consider the two following optimization problem 1) $$ \min_{\theta} \ln E_{\theta}[ e^{X}]$$ 2) $$ \min_{\theta} E_{\theta}[ X]$$ with the constraint $$ Var_{\theta}[X] <c$$ Is it true that ...
0
votes
1answer
22 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
0
votes
1answer
27 views

Importing daily data: '-1' in volume column

I am working on importing some daily data from a public data source as csv format. The csv convention of the file seems to be that if data is not available for a field, a single white space is used ...
0
votes
1answer
33 views

Stripping projection curve

What is meant by the statement below: "Stripping projection curve (e.g. 3M curve) given the OIS curve" I understand that while bootstrapping an OIS curve using OIS swap rates and OIS fixed rates, we ...
0
votes
0answers
34 views

How Does a Put Option Work? [closed]

I finally got to the options section of my finance book and I don't understand put options. Here's my problem: Suppose I buy a put option for one dollar at time $t_0$; the option is to sell one share ...
0
votes
1answer
30 views

What are the technical events that fluctuate quoted asset (e.g. forex) prices? How does it relate to the purchase of currency contracts?

This is a generic question about the quotations of assets but for the sake of reducing ambiguity, let's consider the EUR/USD exchange rate. If the answer varies for other asset classes, please note ...
0
votes
2answers
60 views

How does Yahoo finance calculate Beta?

I am trying to replicate the beta value that yahoo calculates but I am getting different results. According to Yahoo, its beta is calculated using 5 year returns against the SP500: yahoo beta I ...
0
votes
1answer
19 views

Forex P&l Attribution on Physical Forward position

Please validate my unrealized Fx P&L calculation on the commodity forward contract e.g. consider i have bought 1 MT of wheat at 300 EURO my financial currency for company is USD. I am using below ...
4
votes
0answers
97 views

Integral-differential equation for forward rates

I am struggling in this question: Let $P(t,T)$ denote the price of a zero-coupon bond (with marturity at time $T$) at time $t \in [0,T]$. As usual, at time $t$ for maturity $T$, the forward rate is ...
1
vote
1answer
390 views

Backtesting with fundamentals

Recently I've read some books about quantative approach to fundamental investing: - What works on Wall Street - James O'Shaughnessy - Quantitative Value - Wesley Gray, Tobias Carlisle - Quantitative ...
0
votes
3answers
129 views

Where can I find a correlation matrix between the revenues of different industries?

I don't need something super complicated, I would just like a quick and dirty way of estimating the correlation coefficients between the revenues of different companies. Information on companies in ...
0
votes
1answer
113 views

Girsanov theorem in CMS convexity derivation

I am going through the derivation of CMS convexity from the notes of Lesniewski There is a transformation from $T_p$ forward measure to annuity measure $Q$ as $$ ...
0
votes
1answer
89 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 ...
1
vote
1answer
255 views

Calculating Bollinger Band Correctly

My bollinger band comes out like the below, which doesn't seem right. Any idea what is wrong with my code for calculating upper and lower bollinber bands? I obtained my data from here ...
4
votes
6answers
106 views

Find the order of an ARMA model (q & p )

I fit an ARMA model in Matlab and before I calculate the predicted value with the prediction error I set the order $(p,q)$ to some random value. But how can I determine the number of AR (p) and MA ...
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
1answer
25 views

Where to get analysts' earnings estimates data? [duplicate]

I know thomsonreuters provide analysts' earnings estimates data. Is there any sources I could get it for free? For example, this website has analysts' earnings data. What's the source of this and how ...
2
votes
1answer
69 views

examples of c++ code with application to quant finance [closed]

I've some intermediate knowledge in C++. However, the knowledge is more of a theoretical nature and not applied to quant finance problems. I'm looking for good sources, code examples books blogs ...
6
votes
2answers
206 views

Why is this stochastic integral a martingale?

Suppose that: $W^*_t$ is a Wiener process under probability measure $\mathbb{P}^*$ and; $\tilde{S}_t=S_0+\sigma\int_{0}^{t}S(u)dW^*_s$. In my lecture notes, it says that $\tilde{S}_t$ is a ...
1
vote
1answer
56 views

To lump or not to lump

Suppose I have a very simple asset whose price takes only three possible values: $X_t\in \{-1,0,1\}$. I also got some discrete time series $X = (X_t)_{t\geq 0}$ and I would like to come up with a ...
0
votes
0answers
37 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 ...
4
votes
2answers
104 views

Portfolio Optimization to include ALL Securities?

I'm currently optimizing portfolio weights for an investment team with N stocks. We buy stocks with a conviction it will generate a return and it is up to me to determine weighting. However, with ...
0
votes
3answers
520 views

Which library shall I use for time series analysis in Java?

I'm looking for a library to do some time series analysis in Java but I can't find anything suitable. I've found plenty of libraries such as Math3 of JSAT but there's much I can you for my problem. ...
1
vote
1answer
48 views

What do I need to do with my data before fitting the ARIMA model?

I'm fitting a stock price time series data to ARIMA model and I have a question about the assumption. Is it that ARIMA only applies to stationary data? The ACF and PACF of the data (and the logged ...
0
votes
2answers
171 views

Are there providers of delayed market depth data (DOM, Level II, Order-by-Order, etc)?

I have market depth data visualization software, and I want to create a free version for introduction. As far as I know, exchanges allow to distribute their data for free for the end-users, but only ...
7
votes
3answers
5k views

What is a medium to low frequency trading strategy and why is it less hyped?

The term high frequency trading has been used quite often recently to refer to trading using real-time tick data (or data aggregated to few seconds) and having an intra-day holding period. How are ...
0
votes
1answer
46 views

conservative approach payoff table

With the conservative approach, we choose the decision which maximises minimum payoff. I was wondering which decision is chosen if 2 decisions have equal minimum payoff (which is the maximum)? ...
2
votes
3answers
127 views

Pricing exotic option whose payout depends on the stopping time

I am struggling with this question: Let $B$ be a standard Brownian motion. In a Black-Scholes model, at time $t$, the stock price is given by \begin{equation} S_t = \exp \{ \sigma B_t + ( r- ...
4
votes
1answer
43 views

Obtaining logical lists of Bloomberg security codes in Excel

I am using Bloomberg's BDP and BDH functions in excel to retrieve data for a set of options. The problem is that (as underlying prices move and expiration dates come and go) option strikes are ...
1
vote
1answer
726 views

Historical volatility from close prices (Haug pg 166)

I have implemented a function for calculating historical volatility using close the close method as described by Haug on page 166. When I implemented the formula given by Haug, it resulted in some ...
2
votes
2answers
578 views

What open source trading platform are available

I would like to compile a list of open source trading platforms. Something that would give an overview and comparison of different architectures and approaches.
2
votes
1answer
101 views

option pricing with limitation on the change of underlying daily changes

how are we supposed to price an European option given the fact that the daily return of the underlying is limited within -X% to X%? For example, if X = 5, the price of the underlying cannot go up 8% ...
0
votes
1answer
121 views

How to projectP&L or drawdowns on pair trading , trading and portfolios?

This is for planning and risk management. I am stuck on the following thoughts - Back-test the trading strategy for a period similar to the one you expect and then project. Do the above using ...
1
vote
2answers
256 views

How to calculate the volatility matrix with multiple stocks

calculating the volatility for a single stock is straightforward. However, I'm not sure whether my approach for calculating the volatility matrix for multiple stocks is correct: I assume a log-normal ...
1
vote
4answers
516 views

Is node.js being used in systematic trading software?

I have a project where I would like to track some tick data and create some indicators to follow it. I am thinking of using Node.js for this project, but I would like to know from those in industry if ...
2
votes
1answer
35 views

Kolmogorov-Smirnov test for Generalized Pareto Distribution

I've fitted my data to a generalized pareto distribution as to model the returns in the tails more accurately. The interior is fitted with kernel distributions. I would like to now test whether the ...
7
votes
2answers
174 views

How to model natural gas forward price?

I'm looking to learn about gas price modeling, in particular models of forward prices. I've studied "classical" mathematical finance, fixed income theory etc. What are good references for stylized ...
1
vote
4answers
96 views

How to extrapolate VaR?

I have a model predicting 1-day VaR. How does 1-year VaR follow from it? Shall I just multiply by 365 or another method?
1
vote
1answer
51 views

UST Yield Curve Forecasting - Bond Structure Testing

I have a project in mind that I am working on, but have little idea where to start. I am a relative newcomer to python (about 1 years exp.) and limited knowledge of quant finance. What I would like ...
1
vote
1answer
44 views

Difference between CAPM and mean variance optimization

Is the mean variance optimization the same thing as the capital asset pricing model? Or is the mean variance only a part of CAPM?
-1
votes
0answers
14 views

garchFit formula problems in R

I am working on a Financial Time Series project in R. I am using GMVP.R which has this line: m1=garchFit(~1+garch(1,2),data=rtn[1:t,i],trace=F) I am trying to understand what the 1 before ...
4
votes
1answer
87 views

Intuition behind American Option pricing

The price of an American option is given by $$V_n = \max\left(G_n,\frac{pV_{n +1}H^d + qV_{n + 1}H^u}{1 + r}\right)$$ where p, q are the risk neutral probabilities. I have two questions: How can ...
2
votes
1answer
47 views

Book recommendation on robust optimization

I have a bachelors degree in economics and I took undergrad courses on mathematical optimization methods for economics and dynamic optimization in economics and econometrics. Now I'm taking an ...
2
votes
1answer
61 views

IR Yield Curve and Fixing Dates

Consider two FRAs. 3x6 , Effective 3 months from now, terminates in 6 months. The floating leg payer pays 3-month LIBOR. Fixing date for LIBOR 40 business days. To price this at par, the fixed leg ...
1
vote
0answers
63 views

Financial risk and Matlab

What toolbox are more suitable for a risk analyst. I found this: Optimization toolbox Global optimization toolbox Econometrics toolbox Financial toolbox Statistics toolbox And also I have as a ...
1
vote
0answers
46 views

Risk measures, Risk Management and Financial Risk Area

I'm currently searching material about market risk and I learned about coherent risk measures, VaR, CVaR (or expected shortfall), volatility. All that because I have to make a Financial Risk Area for ...
1
vote
3answers
61 views

Data provider for daily futures settlement prices

Is there a data provider that has historical daily settlement prices for download? I'm interested in a provider that spans multiple exchanges.
2
votes
2answers
39 views

Where can end-of-day price volume data for Japanese stocks be downloaded or subscribed to?

Yahoo finance and google finance do not provide such data. Where can one download Japanese stock data?

15 30 50 per page