# All Questions

12,439 questions
77 views

### Monte Carlo simulations in Python using quasi random standard normal numbers using sobol sequences gives erroneous values

I am trying to perform Monte Carlo Simulations using quasi random standard normal numbers. I understand that we can use sobol sequences to generate uniform numbers, and then use probability integral ...
14 views

### When a bank enters a swap with a counterparty, when does it decide to use a OIS curve as its CSA Term, versus a counterparty specific “CSA Curve”?

What determines whether a swap should be discounted against a standard OIS curve VS a 'custom' CSA curve specific to the swap's counterparty? (such custom curves are marked as spreads to some base ...
167 views

### Crossing the spread as a ML signal

In the optic of high-frequency trading, most of the standard trading algorithms work on the principle of mid-price prediction or mid-price movement prediction. However a big drawback of this technique ...
36 views

### Tracking historical short interest

I am looking for a source of historical (more than one year) short interest in a specific equity. NASDAQ provides only one year of short interest history. I am interested in looking back 2 to 3 years. ...
2k views

### How to compute for basis adjusted forward rate?

To give you a brief background, I'm valuing a fixed-for-float Interest Rate Swap (IRS) using Bloomberg. I put in a notional amount in (USD) and a assigned 6MO USD LIBOR as the reference index for the ...
131 views
+100

### PCA: How to select a smaller set of the original features that best represent first PC with minimal contribution to the other PCs

I have performed PCA on a covariance matrix. I have 24 original features and subject to some constraints over which features are used i would like to chose the combination of features that best ...
36 views

### Calculating PD of commercial bank loan

I have two main options to calculate PD of a loan in a commercial bank; with and without machine learning. On one hand, there are traditional methods such as Merton or KVM. On the other hand, I could ...
60 views

### In-sample volatility measurement

I would like to know what is the most reasonable way to measure volatility in a sample of past observations. Aside from standard deviation, are more complex models like GARCH used for (historical) ...
17 views

### Forecasting a seasonal series with R

I am working with the program "R". I used the command "seas (X-13)" to deseasonalize my quarterly series, then I did the forecast with it. Therefore my forecast is in deseasonalized terms. Now, I was ...
9 views

### Longstaff Schwartz with future conditional coupons

I've implemented the L-S algorithm for a simple put option. I want to value a more complex derivative which has future conditional coupons which only occur if the option is in the money. How would I ...
583 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 ...
525 views

### Is there any public data to get OIS for differal time (1d, 1W, 1M, …, 10Y)?

I want to get data of Overnight Index Swap, also known as OIS rate, there is any public why to get this always from yesterday? For example, I want to get EFFR(Effective Federal Funds Rate), I can get ...
19 views

### Understanding the ZABR model (an extension of SABR)

http://janroman.dhis.org/finance/SABR/ZABR%20Andreasen.pdf In this acticle the SABR model is first presented in another form ( see equation 7 in the article ) and then extended to the so called ZABR ...
69 views

### Transaction costs in option market

The transaction costs in option market could be quite large. The bid ask spread of a SP500 firm could be around 15% of the mid-quote when I check the data. Since I do not have data on transaction ...
38 views

### A stringent test of stock return predictability? The role of one-sided hypothesis tests

A stringent test of stock return predictability? The role of one-sided hypothesis tests... In a well-published paper, Trading Volume and Cross-Autocorrelations in Stock Returns TARUN CHORDIA ...
44 views

### Is it necessary for $P(K, t) - P(K + s, t) \geq se^{-rt}$ to hold?

Let $P(K, t)$ be a put option with strike price $K$ and expiration time $t$. Let $s > 0$. Is it necessarily true that the inequality $$P(K, t) - P(K + s, t) \geq se^{-rt}$$ holds? I know that ...
43 views

### Portfolio - Default Probability

Suppose we want to identify the frequency of default on a portfolio with a 1000 loans. In the independence case, each firm’s default process follows a Bernoulli distribution with parameter p = 0.01. ...
121 views

### Finding optimal trading of option on a foward

Assume you have a option on a forward $F$ with a payoff: $\max(F_T - K, 0)$. Assume also, that you have a bullish view on the forward in such a way that $E_{0}[F_T] > F_0 = E_{0}^{*}[F_T]$ (where ...