# All Questions

15 views

### Ibrokers: reqMktData extremely slow when adding tickers

I am trying to snap prices in R for the latest price for a list of stocks (around 150). When I snap them for 2 stocks, it's almost instantaneous: ...
24 views

### Log returns and GARCH models

I try to model currency rates volatility using GARCH models through the RUGARCH package in R. Starting from the observed currency rate series, I compute the log-return through: ...
30 views

### Jensen's alpha with timing activities

Why is Jensen’s Alpha not an appropriate measure of performance anymore, if the fund manager is a perfect market timer as stated for example in the Treynor-Mazuy-model or the Henriksson-Merton-model?
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 ...
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 ...
29 views

### How to compare market values with model values after calibration?

After calibration the G2++ model for interest (with swaption volatilities), I want to statistically test the quality of the calibration by comparing market to model values. What is the best way to ...
21 views

### Sharpe Ratio for loans

I am trying to calculate the sharpe ratio for a set of loans. These loans have already matured and I know if they were good or not: grades are the different grades of the loans. interest rate is the ...
65 views

### Review of Excel Stock Simulator

I am currently a senior in high school and I built a stock simulator using knowledge gained from a semester of AP Statistics. I was wondering if someone could tell me if my simulation is ...
32 views

### suitable benchmark to use for Sharpe ratio of power trading strategy

I have a algo which is trading a certain power contract. For calculating the Sharpe ration what would be a suitable benchmark to use?
45 views

### Opposite of hard to borrow?

If market participants are certain a stock will suffer a huge decline, the shares will become hard to borrow and an interest fee will be applied to borrow the stock. This interest fee eliminates the ...
21 views

### How to prepare data for superior predictive ability (SPA) test?

Can anyone please let me know how to prepare data to compute superior predictive ability (SPA) test in R? I am working on forecasting volatility in stock markets, the context is, I used ...
41 views

I was asked this question in an interview and despite thinking about it for a while, I haven't been able to come up with a good answer. Suppose you have a strategy you are running where at certain ...
29 views

### Total demand under logit model

The setting is simple, i.e. formula for demand of service/product is linear $$d = \alpha - \beta p$$ where $\alpha$ is maximum demand, $\beta$ is some coefficient, and $p$ is price. There ...
14 views

### Estimating Number of “Day Trades” from Total Volume of Commodity Futures Contract

Looking at futures data I am trying to calculate/estimate the number of "day trades", i.e. positions that were initiated and closed during the same day, as distinct from those positions that were ...
20 views

### What is the future value of a growing annuity with different periods for payment growth and monthly payments?

How can I modify the formula in this answer so that the frequency of payment growth is also a variable? For example, instead of payments growing by 2% each year I would like them to grow 2% every two ...
38 views

### Optional Sampling Theorem Application

Let x, y > 0. Defint eh first passage time of a Brownian motion $W_t$ as $\tau_a$ = min{t $\ge$ 0: $W_t$ = a}. I need to show that E[$e^{-u\tau_x}$$1_{\tau_x < \tau_{-y}}$] = ...
52 views

### Stationarity tests in the frequency domain for regression

Strict stationarity is the strongest form of stationarity. It means that the joint statistical distribution of any collection of the time series variates never depends on time. So, the mean, variance ...
25 views

### Price 3m libor autocap with LMM calibrated on 1y swaption data

I need to calculate a price of an autocap contract which is An autocap is similar to a cap, but at most γ ≤ β caplets can be exercised, and they have to be automatically exercised when in the ...
81 views

### Black Scholes - how to calculate delta with a vol skew

I am trying to calculate the delta of an option at different strike prices where the underlying has a pronounced implied volatility skew in order to correctly hedge an options strategy. Researching ...
36 views

### Model-independent dynamic portfolio optimization techniques

For a problem where we need to optimize the portfolio based on the data, going for Markowitz MPT has the following advantage: we only have to estimate mean and covariance to find optimal weights. I'd ...
68 views

### Provide a bond pricing differential equation and invoke Feynman-Kac

Grateful for any assistance. Consider the process: $dZ=r(t)Z\,dt$ , where $r(t)$ is stochastic and $Z=Z(r,t;T)$ is a zero coupon bond. Provide a bond pricing differential equation and invoke ...
85 views

### PDE and Black Scholes problem

Consider Black Scholes problem $\frac{\partial V}{\partial t} + \frac{\sigma^2 S^2}{2}\frac{\partial^2V}{\partial S^2} + rS\frac{\partial V}{\partial S} -rV = 0$ with boundary condition $V(S,T)=f(S)$, ...
35 views

65 views

### Asset true price determination, quoted on 2 exchanges

There is a stock that is quoted on 2 exchanges and I'm thinking about ideal (from market micro structure point) method for calculate true value of that asset. Assuming that venue with volume traded ...
37 views

### How to value a portfolio of non-mature consumer loans?

I'm looking for the best way to value a portfolio of consumer loans that have NOT reached maturity and for which I do observe the payment/default history to date? I'm working with a large database of ...
96 views

### Autoregressive distributed lag models ADL(p,q) howto in preferably matlab (stata/R/python/C# etc)

Could anyone provide me the details of how to determine the lag order of the distributed lags for an ADL(p,q) model in Matlab or another statistical package (and very much preferably in combination ...
38 views

### Understanding Price Elasticities in Discrete Choice Models (Derivative)

I'am in the midst of a paper on mutual fund product differentiation by Li and Qiu. Here, the authors model the utility an investor derives from investing in a mutual fund using a Discrete Choice Model ...
41 views

### Handling IQFeed events in Matlab

I need to get some specific market data for my studies, and it seems like the most convenient way for me to do this is to use IQFeed data feed and MATLAB. But unfortunately, since I'm not a seasoned ...
110 views

### Models for volatility estimation of high frequency data?

I have read on several news articles and research papers, "Contrary to popular belief, high frequency trading reduces volatility in stock markets rather than exacerbates it". Do you know the models ...
42 views

### proper choice of risk aversion parameter in the risk-sensitive cost-criterion

Suppose I want to minimize certain risk sensitive cost. Is it a valid question to ask what is the proper (also in which sense) choice of risk aversion parameter in the risk-sensitive cost-criterion ? ...