All Questions

0
votes
1answer
11 views

How to calculate impact on portfolio with various asset classes

I was given a portfolio consisting of equities, commodities and high-yield bonds and respective weights. I also have correlation data of different asset classes and standard deviation of each asset. ...
4
votes
1answer
336 views

Combining modern portfolio theory and Kelly betting?

I'm using modern portfolio theory to compute the frontier of efficient portfolios. I'd like to pick the best one in the spirit of Kelly betting, ie. maximising expected growth. I'm looking for a ...
11
votes
1answer
383 views

Variance swap volatility - ATMF vol, Skew and Curvature

In a pure diffusion setting, it is a well known result that the volatility $\sigma_T$ of a fresh-start variance swap of maturity $T$ as seen of $t=0$ verifies \begin{align} \sigma_T^2 &= \Bbb{E}_0^...
0
votes
0answers
11 views

Fixed Income Attribution

Q: In the passage below, is the implied forward rates (expect return) considered the same as the market implied return from forward rates (unexpected return)? For instance, Expected return = Implied ...
2
votes
1answer
252 views

VAR-aDCC full ARCH and GARCH parameter matrices in R

I am working with the rmgarch package in R and I estimated a VAR-aDCC model. Is there any way to extract the extended version of estimates (allowing for volatility ...
2
votes
1answer
276 views

Cross-Currency Inflation-Linked Swap

I am trying to find any references to cross-currency inflation-linked swaps. Have anyone encountered them and can describe how they work and how they differ from standard year on year inflation swaps?
-1
votes
0answers
14 views

Help!! how can do i compute bond price with YTM in python? [on hold]

Given FV = 1000 coupon rate = [0.01, 0.015, 0.023, 0.038] ytm = [0.016, 0.021, 0.045, 0.065]
0
votes
0answers
21 views

pricing a fx forward with legs separately

In the answer to this question, it says (simplified) At time $t$, the forward exchange rate $F^X(t,T)$, for maturity $T$, is the exchange rate such that the payoff $X_T-F^X(t,T)$ has a zero ...
2
votes
3answers
97 views

For using finite difference on PDE, what should the grid be?

If I wish to use finite difference methods to approximate the pricing function $F(t, s)$ for an option (say, a call), what size grid should I use? I mean, it seems to make sense to start the grid at ...
5
votes
1answer
1k views

Vasicek model calibration

I am trying to calibrate Vasicek model, i.e. to determine the parameters $\kappa, \mu, \bar{\mu}$ and $\sigma$ where the process dynamics are given through $$ dr_t=\kappa\left( \mu - r_t\right) dt+\...
1
vote
0answers
10 views

how to test OMS functionality via FIX?

Has anyone done app dev that tests OMS functionality ( FIX ) ? Do any brokers or other financial entities make test apis available ?
2
votes
1answer
32 views

Expected value of stochastic optimization

I have a optimization problem where the SDE is: $$ dX(t) = [X(t)(u(t)-\beta(t))+\theta(t)]dt+X(t)u(t)\sigma dW(t), t \in [0,T], X(0) = X_0 $$ where $u(t)$ is the portfolio, $\beta(t)$ and $\theta(t)$ ...
1
vote
1answer
52 views
1
vote
1answer
34 views

where to download current composition of popular indexes?

What are reliable sources to download plain-text files listing current composition of various popular indexes such as S&P 500 (SPX) or Dow Jones Industrials (DJI) or Nasdaq 100 (NDX) ? At a ...
2
votes
0answers
24 views

Achieving an even distribution of orders in the queue

Market Making under a Weakly Consistent Limit Order Book Model contains the following paragraph "The market maker may achieve her target execution profile by continuously adjusting her limit ...
1
vote
1answer
37 views

Computing FX forward returns using spot returns and an existing term structure

Sorry for the naive question, I am new to the area. I have YTD spot returns on the USD/GBP pair and a forward yield curve. How would one go about computing the forward returns in 2 years using this ...
262
votes
29answers
195k 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?
4
votes
1answer
72 views

Metric for measuring the “spread” of a copula

I am fitting copula to log returns data for my undergraduate thesis, and comparing the quality of the fit with AIC. One interesting thing that I found is that the Clayton copula, which has negative ...
1
vote
1answer
34 views

How to hedge x gamma in callable prdc?

How do you hedge the short rates - fx cross gamma in a callable PRDC (Power Reverse Dual Currency note) ?
1
vote
1answer
418 views

(Reproducible example) Conditional returns in GARCH-EVT-Copula context (with R)

I'm estimating a time-varying correlation matrix for the normal copula using the rmgarch package from R. I've found this code in the rmgarch.tests folder. I use the ...
1
vote
1answer
105 views

Difference between IRS and OIS

Is the understanding right that OIS can be accessed only by banks whereas IRS is for corporates. Also, since corporates borrow at Libor + spread, to hedge Libor I use IRS. Banks can borrow overnight ...
1
vote
0answers
20 views

Local Volatility calculation in Python

I am trying to price Local Volatility in Python using Dupire (Finite Difference Method). I have following set of information Spot: 770.05, Strike: 850, Type: 'C', rfr: 0.0066, time to maturity = ...
-1
votes
2answers
187 views
+50

Detect trend of an index

My question is about determining the trend and it can break down to 3 parts. To clarify, a trend in my point of view, and in simple form, is the last close at time t relative to its time reference, i....
9
votes
1answer
328 views

Block bootstrap to synthesize asset prices

I have a few basic questions on block bootstrapping on a financial time series ('TS'). Assuming my trade universe consists of 10 stocks, I would like to create a set of synthetic prices for all 10 ...
1
vote
0answers
51 views

How to build an inflation term structure in QuantLib?

This is what I've got, but I'm getting weird results. Can you spot an error?: ...
3
votes
1answer
97 views

Which securities have expirations more often than monthly?

I'd like to explore buying low-cost calls close to the money, so I'm looking for low time values in options premiums. This happens near options expiration. Unfortunately, most options expire on the ...
0
votes
1answer
40 views

pricing deliverable vs non-deliverable fx forwards

I am trying to link these two questions together Pricing a regular FX forward This is a contract (say USD vs JPY) where you exchange 2 currencies at maturity at a pre-determined rate, while no ...
0
votes
0answers
17 views

American look Back Option (put)

Hello everyone I'm having some trouble calculating the value of an american lookback put option using any other method but "similarity reductions", if you could kindly describe such method or provide ...
0
votes
1answer
29 views

Calendar roll terminology (buy vs sell)

I am trying to get the direction/terminology correct in futures calendar trading. Let's say I have two calendar futures contract where the prices are 100 and 102 reflecting the front and back ...
0
votes
0answers
25 views

ODE solving on GPUs using Python

I am building a financial model and i need to compute simultaneously the same ode with 6 different real-time time series datasets. As I have a mining rig of 6 Asus gtx 1070 8gb, can i use it if I ...
5
votes
2answers
510 views

Credit Valuation Adjustment Implementation

I am trying to help a friend with her thesis on Counterparty Credit Risk where she intends to have a somewhat lengthy treatment on Credit Valuation Adjustment (CVA). Specifically I am looking to help ...
0
votes
1answer
48 views

DeMark Indicators

Would anyone know of a library in R that handles DeMarkindicators. Just wanted to check-in with the community before I invested a whole lot of time reinventing the ...
1
vote
1answer
62 views

Bermudan Swaption

Is there an equation of the kind of call-put parity for Bermudean swaptions ? (maybe an inequality ) Is there an intuitive description of what would be an optimal exercise moment ? Intuitively I ...
0
votes
0answers
23 views

How is a LIBOR Market Model volatility skew determined?

LIBOR based interest rates are derived from the prices (supply / demand) of swaptions, caps and floors. These prices are generally quoted in yield vols. Their prices are given by the Black formula. ...
8
votes
1answer
657 views

Issue with OLS Regression for Nelson Siegel Svensson parameters

I have been working on getting input parameters to the Non-Linear Optimization which gives the Nelson Siegel Svensson model parameters and am carrying out the OLS regression as described in this ...
3
votes
1answer
83 views

Pricing a callable bond

I have read the Lehman Brother's paper on OAS which I mostly understand, they outline how to find the OAS for a callable bond of which the formula is effectively (ignoring refinancing costs): Market ...
0
votes
0answers
32 views

Temporal aggregation of daily implied volatilities

Suppose I have a time series of daily implied volatility values for a given month and I am interested in calculating the monthly implied volatility for that month. What would be the most theoretically-...
2
votes
1answer
352 views

how to choose a price adjustment, a roll date and a data center for my trading strategy?

I have many doubts about Which roll date and price adjustment should I use. I need to backtest like 50 diferents futures. 6 index(mini sp500, Nikkei 225…), 10 Agriculture (soybean, Oat, Corn….),3 ...
0
votes
1answer
51 views

Is there an inverse relationship between (future-spot) price and yield?

If the difference between futures and spot prices rises will the yield for the current bond increase as well?
0
votes
1answer
61 views

Calculation of Bond returns

Given that I have a portfolio of High yield bond with USD 50. Duration : 5 years and Spread duration: 5 years CSI BARC Index (Barclay US Corp HY) is as below for the last 30 years. USGG10YR Index (...
1
vote
2answers
66 views

Portfolio volatility - Real life application

Given that a portfolio consists of Stock=USD 30, High-yield bonds(duration=5 years,spread duration=5 years) =USD 40 , Commodity = USD 30. I was given monthly data for MXWD Index for stock, CL1 Comdty ...
0
votes
1answer
67 views

How to price a barrier using monte carlo when return distribution is not iid?

this question is actually related to set the stop loss and stop return. Say after a liquidity shock, I want to place two stops, one being stop loss and another being stop return. If I use, say 10 ...
1
vote
0answers
34 views

Risk Measure-identication

Let X be a variable with existing moment generating function $M_x(z)=E[e^{zX}]$. Define the following risk measure: $\rho_{\alpha}(X)=inf_{z>0}(z^{-1}ln(\frac{M_x(z)}{1-\alpha}))$ Does anyone know ...
5
votes
0answers
57 views

Distribution of portfolio values with constant spending rate

If your portfolio is invested in an asset that follows a geometric Brownian motion, and you withdraw a constant dollar amount at the beginning of each year, is there an approximate analytical ...
0
votes
0answers
34 views

Solving for Implied Volatility Vega gets stuck at 0 (Python)

So my goal is to calculate option greeks with as few manual inputs as possible. I managed to get the IV for at the money options but then when I try further OTM strikes my results get completely ...
0
votes
0answers
42 views

Scenario Analysis - Real life application

Given a portfolio consists of Stock = usd 40, Bond = usd 40, commodity =usd 20. Also given the correlation between these assets. Scenario 1 : stock down by 30% When performing scenario analysis, do ...
0
votes
0answers
36 views

How to implement an investment strategy in MATLAB? [on hold]

Since I`m a total novice in MATLAB I am struggling with a question that might be not even really hard. I have to implement and backtest 4 heuristic investment strategies but literally no idea how to ...
2
votes
2answers
73 views

American Option Exercise

Suppose I am a market maker in American options. At end of day I have positions in various options but my portfolio is overall hedged. Now, after the market close, someone decides to exercise an ITM ...
0
votes
0answers
43 views

What is needed in Brownian Motion [on hold]

What data is needed for Brownian Motion? I’m currently having an dummy firm, and want to simulate stock market using this dummy firm and firm data. How can I proceed this ? Edit: I have a simulated ...
0
votes
1answer
36 views

serial correlation and CUSUM results

I have the following CUSUM test resulted from autoregressive distributed lag models (ARDL). Does the CUSUM results show that the model is stable? I am a bit confused because the red line in CUSUM ...

15 30 50 per page