All Questions

1
vote
1answer
21 views

Proper maturity in the Merton's model

I am working on a credit rating project using Merton's model. Basically it adopts Black-Scholes that equity value can be viewed as a call option with a strike price of face value of debts. Since the ...
3
votes
1answer
72 views

How modern portfolio theory(MPT) and CAPM are related?

1. Question In what sense Capital Asset Pricing Model(CAPM) is related with Modern Portfolio Theory(MPT)? Why do we need to check whether the current price of assets is overvalued or undervalued ...
0
votes
0answers
39 views

Having 100$ as the minimal profit per transaction

I am working to build a reinforcement agent with DQN. The agent would be able to place buy and sell orders for a day trading purpose. I am facing a little problem with that project. The question is "...
-1
votes
0answers
14 views

Fama French 3 factor model regression

I have a question concerning the Fama French regression model. Can I use (return on each stock-risk free rate ) as my dependent variable or do I have to use instead (return on each portfolio-risk free ...
1
vote
1answer
50 views

Free E-books for students on Volatility Models

Some e-books are free for students when they are on the university IP. So can anyone provide a list of free e-books for students and free e-books in general about (stochastic) volatility modelling?
0
votes
0answers
19 views

Bachelier Pricing Formula for Interest Rate Binary Options

Similarly to the Black and Scholes formula, I am looking to replicate Bachelier's caplet formula with two digital options: (1) asset-or-nothing (forward rate in this case) and (2) cash-or-nothing. For ...
2
votes
4answers
239 views

Backtesting Fundamental Equity Strategies in Python

I am trying to run a local backtest using Python and Zipline seems to be the most popular package out there. Does any one have isnight on ingesting fundamental data for the backtest? The documentation ...
1
vote
3answers
275 views

Backtesting software with custom data input

I was considering to develop a custom backtesting platform for myself. However, I see that it would require some significant time and effort, and the result might not be as initially expected. So I ...
5
votes
2answers
2k views

Are there Python algorithmic trading libraries supporting forex?

I know about zipline and ultrafinance, but as far as I know, they don't support fx trading. Which libraries do?
4
votes
3answers
815 views

Software for backtesting outside strategies (CSV transaction upload)

I've developed some software which generates sets of trades, and I'd like to backtest those trades. My software currently outputs a CSV file with details of each trade: ...
2
votes
1answer
487 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, ...
1
vote
1answer
330 views

Rblpapi millisecond resolution

I'm using Rblapi to get tick data, using the nice getTicks function. Much to my dismay the index is rounded to the second, while milliseconds time stamp could be provided. Tried returnsAs xts, fts(?) ...
0
votes
0answers
17 views

Commodity Asian Swaps

I'm trying to find info about asian swaps on oil/energy products and about their pricing methods. However, all I could find are on asian options. Would be glad if you can provide me with some ...
2
votes
0answers
130 views

RiskMetrics VAR calculations and conditional distribution of sum of log returns

According to Tsay's book in Chapter 7, for the Risk Metrics model: A nice property of such a special random-walk IGARCH model is that the conditional distribution of a multiperiod return is ...
0
votes
0answers
19 views

What volatility to use to estimate BDT?

I am attempting to estimate the value of a bond with prepayment option (callable bond). In order to do so, I am fitting a lattice to the Libor Swap curve using a BDT model. The measurement date is ...
3
votes
0answers
54 views

Reference request for research on the maximum drawdown **ratio** (NOT value)

Let's suppose the asset price process follows a Geometric Brownian motion $S_t \sim GBM(\mu, \sigma),\,t\ge 0$, and define the two process: $$ \begin{align} \text{MSF}_t &:= \max_{\tau\in[0,t]} S_\...
1
vote
1answer
50 views

How do orders outside of the market clearing level affect price?

Let's say a trader is trading in a LOB and he places an order deep in the book. How close can he be to the touch until if he has temporary or even permanent price impact? This assumes he cancels after ...
1
vote
2answers
59 views

ETF Replication

I have a question regarding the ETF replication methods. I know there are two main methods, namely physical and synthetic replications, but I would like to understand how an ETF trader can : ...
0
votes
1answer
30 views

Do you optimise models on boostrapped time series?

As Quants, we soon learn to optimise models, by fitting them to historical time series, e.g. the historical daily returns of some stock. But the historical series of daily returns is just one ...
0
votes
1answer
43 views

Calculating value of bond

The bond has a facevalue of 40 and maturity of 20 years. It produces 0 coupon payments during the first 6 years but pays coupons of 2 annually during the last 14 years. The discount rate is 7%. The ...
1
vote
1answer
37 views

Fama Macbeth regression and portfolio sort result contradiction

I ran Fama Macbeth (regression) on two variables called return and lag MAX ( monthly average return and lag of maximum return over a month). the results are like the following : ...
0
votes
0answers
15 views

ISSUER data for a reference data management system [duplicate]

we are building a reference data system from scratch. I am planning to use the bloombeg issuer equity ticker to download the information on the issuers. However, I dont seem to find issuer data for ...
1
vote
0answers
37 views

Butterfly Arbitrage condition

I hope anybody can help me. According to Gatheral and Jacquier (https://papers.ssrn.com/sol3/papers.cfm?abstract_id=2033323) no Butterfly Arbitrage can be expressed like this: Define the function $\...
0
votes
0answers
40 views

Use of Seasonal Trend Decomposition using Loess (STL) in R for seasonality adjustment

When I decompose a time series using stl in R is the trend output simply the seasonally adjusted data that I can then use in my model? Or do I need to make further adjustments? Ultimately, I need to ...
1
vote
2answers
161 views

Justification of Levered ETFs?

I have done some basic research on levered ETFs and cant understand them completely How do you justify the existence of Levered ETFs when margin accounts are available? E.g. If I want 3X SPY returns, ...
4
votes
1answer
171 views

Heston model reparametrisation

It is well-known that calibrating Heston to the vanilla market is not as easy as it seems: some parameters are "interdependent" and the objective function exhibit plateaus in the parameter space (at ...
0
votes
0answers
14 views

Regarding Issuer [on hold]

We have below mentioned Asset Classess like Equity Credit Interest Rates FX Commodities Can you please tell us answer for below questions. 1. Which all above mentioned asset classes has the issuer 2....
0
votes
3answers
72 views

Which stock tick has its geometric asian call?

Many finance books introduce the pricing on geometric asian call/put options underlying black-scholes model, since its price has its explicit formula. I am not sure, if geometric asian option is ...
0
votes
0answers
10 views

Literature on return sensitivy in respect to: growth, risk and profitability

I am currently writing my master's thesis, wherein I am looking for supporting literature. Specifically, I wanted to know if there had been any research relating to how the: growth, risk and ...
3
votes
3answers
142 views

Modelling HFT data

In the context of Market making, how important is recent trades? In general, would i be able to get away with just modelling the Limit Order Book (LOB) and the evolution of the LOB in order to ...
0
votes
0answers
20 views

How does CVaR change when the mean and variance of the loss distribution change?

I have a CVaR constraint in my optimization problem and I want to change the mean and standard deviation of loss distribution during each iteration. How can I get the new CVaR based on the old CVaR ...
0
votes
0answers
31 views

Is this the correct way to forecast stock price volatility using GARCH

I am attempting to make a forecast of a stock's volatility some time into the future (say 90 days). It seems that GARCH is a traditionally used model for this. I have implemented this below using ...
11
votes
7answers
8k views

Fastest algorithm for calculating retrospective maximum drawdown

Simple question - what would be the fastest algorithm for calculating retrospective maximum drawdown ? I've found some interesting talks but I was wondering what people thought of this question here.
-1
votes
1answer
55 views

Bloomberg SWPM: Day count to calculate discount factor for US0003M

I'm trying to replicate price I get for CCIRS in SWPM. This is USD3m float vs RUB 1Y. Second leg doesn't matter for my question. Suppose today is 7th of Jan 2019, deal date. Settlement will happen on ...
1
vote
0answers
30 views

VaR of ARCH model

Consider the following: $r_t = \theta r_{t-1}+u_t$ $u_t=\sigma_t\epsilon_t$ $\sigma^2_t=\omega+\alpha u^2_{t-1}$ $-1<\theta<1,\omega>0,\alpha \in(0,1)$ What is the 99% 2-day VaR of a ...
3
votes
0answers
36 views

Is Ledoit-Wolf Shrinkage with a Constant Correlation Prior Reasonable for a Stock/Bond Mix?

I've been looking into Ledoit-Wolf shrinkage but I've found the papers concentrate on large numbers of assets that tend to all be highly correlated. Often a universe of large cap stocks. I'm ...
3
votes
2answers
125 views

Application of Ito's lemma

Let $X_t$ be some stochastic process driven by wiener process ($W_t)$ so it can be expressed as: $$dX_t=(...)dt+(...)dW_t$$ Let $f(t,x)$ be some $C^2$ function. Define the process $Z_s=f(t-s,X_s)$ ...
2
votes
2answers
54 views

Arbitrage-free calculation of flat term structure out of normal term structure for e.g. pricing european options

since e.g. the Black-Scholes model requires a constant interest rate (flat term structure) but the real world often has normal term structure, I was wondering if it is mathematically correct to ...
2
votes
0answers
44 views

Dealing with Inventory Risk - Paper

I am reading the paper - Dealing with Inventory Risk and I am having trouble understanding a point made in the paper. The author(s) say towards the end of section 2 that: and says that: $ \mathcal A ...
1
vote
0answers
12 views

Volume or Dollar bars vs. volatility normalized and demeaned financial time series

In his book - Advances in Financial Machine Learning, Marcos Lopez de Prado familiarises the reader with a number of ways of normalizing our financial time series data. Below I provide a couple of ...
1
vote
1answer
37 views

Calculating beta when holding market portfolio

Suppose that CAPM holds and that you hold a portfolio of the market portfolio and the risk-free asset with weights equal to 0.74 and 0.26 respectively. What is the beta of your portfolio? My ...
1
vote
1answer
39 views

calculation of daily risk free rate?

I need to get daily risk free rate to measure my Capital asset pricing model. However, I am still confused on which proxy to use for that (my sample comprises German stocks). Some empirical studies ...
20
votes
4answers
4k views

Quantitative Math required for Market-making?

I understand there is an awful lot of Quantitative Math required for statistical arbitrage/algorithmic trading. However, would someone "in the know" be able to tell me whether there is less ...
0
votes
1answer
65 views

VXX Put pricing

Last week at Friday's close, the Dec 14 37.5 Put options were selling for \$.68 with VXX at \$40.29. This week at Friday's close, the Dec 21 37.5 Put options were selling for \$.38 with VXX at \$40.50....
0
votes
1answer
50 views

What do I call the combination of two or more prices when doing arbitrage?

Suppose that I’m doing forex arbitrage between multiple currencies. A possible arbitrage strategy is to combine the currency prices in pairs and then evaluate if there is a chance to make a profit. ...
0
votes
0answers
33 views

Morton Asset Volatility after Taxes

I'm writing a paper on Debt Covenants and I'm looking at the Asset Substitution Problem. I was thinking about looking at asset risk deltas before and after issuing, namely ß Unlevered and the Implied ...
-1
votes
0answers
33 views

CVA of Payer v/s Receiver Swap

Why is that the CVA for a Payer swap more than that of Receiver swap for an IRS?
1
vote
1answer
59 views

Rolling Winsorization for Time-Series

I'm running a multivariate time series analysis and need to deal with some outliers. I'm thinking about using a rolling winsorization (e.g., pull anything above 99.5 percentile and replace with the 99....
0
votes
0answers
32 views

Best database source to download large number of stock prices

I am wondering what databases exists where I can download stock prices from 2006 to today with the following features 1) using Python API 2) using Bloomberg tickers (e.g. AAPL US Equity) 3) free ...
3
votes
2answers
4k views

How popular is the Linear Gauss Markov (LGM) model?

Some friends recommend to me Linear Gauss Markov model, saying it's interesting to have a look at it. Basically it's a framework different from HJM, with potential to extend, and the merit is that it'...

15 30 50 per page