Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

Quantitative trading strategies use quantitative signals and a set of predefined systematic rules to make trading decisions. Strategies operate within parameters based on historical analysis (backtesting) and real world market studies (forward testing). Strategies may be executed manually (by a ...

0
votes
0answers
10 views

What is the strategy for this piece of information

Heavy Math background, very light finance background: Suppose I have a stock $S$ whose price is measured by the market once on times $t_0$ $t_1$ $t_2$. Now the market has some opinion for how the ...
0
votes
0answers
21 views

Evaluate model performance across all stocks

Suppose I have a lm model that captures per-stock level alpha. Therefore, I fit this model using all historical data stock by stock. My question is that how to combine all individual models’ ...
-2
votes
0answers
37 views

How to implement intraday pair trading strategy which exits before EOD [on hold]

I have 1 minute stock data of two cointegrated stocks in OHLC format. How to write backtest strategy with Python which would do following: 1. Calculate Ratio = stock1/stock2. 2. Calculate Standard ...
0
votes
0answers
25 views

Assessing goodness of a Technical Trading Rule using a ROC model

I am testing various technical trading rules (TTR) on the cryptocurrency market. I have already setup some significance tests, to compare the returns and volatilities. I would now like to test it ...
2
votes
0answers
61 views

Exotic derivatives - Replication

I would like to replicate the payoff Max(0, Min(S1, K) - S2) with a combination of the following derivatives: -> option on S1, strike of our choice -> option on (S1-S2), strike of our choice -> A ...
0
votes
0answers
18 views

Isolating the portion of the market indexes' returns that are independent of the other market indexes

I am trying to find a way to isolate the portion of the market indexes' returns that are independent of the other market indexes. My dataset comprises of 10 sectors (Technology, Financials, Utilities, ...
2
votes
1answer
64 views

Fundamental factor analysis using portfolio construction

I am a new aspiring quant who is trying to build a fundamental factor algorithm to rank stocks for a basic long/short strategy, so sorry for the likely very basic question. Nevertheless... Why do you ...
13
votes
0answers
103 views

Is there a relationship between Risk Neutral Pricing framework and Nash Equilibria?

Based on the Fundamental Theorem of Asset Pricing, the risk neutral price of a contingent claim on an asset in a liquid, arbitrage free market can be determined by switching to an equivalent $Q-$ ...
0
votes
0answers
34 views

Why the spread is calculated on raw prices instead on the price changes?

I'm reading *Quantitative Trading With R * written by Harry Georgakopoulos. In chapter 6 he exposes a basic quantitative strategy based on setting up a stock spread and buy when it is below a lower ...
-3
votes
0answers
54 views

Testing strategies

Ok, So suppose I have found a statistical relationship that performs well using robust econometric methods for predicting the stock market using monthly data. How would I go about testing if this ...
0
votes
2answers
159 views

Can someone please share examples of machine learning in quantitative finance? [closed]

There has been a lot said about the application of AI, ML and Neural Networks in trading for predictive modelling. I was unable to find any relevant examples that prove a credible output based on ...
0
votes
0answers
50 views

Constrained Optimization for performance attribution

I am trying to perform constrained opmitization for portfolio performance attribution analysis. Specifically, I am trying to determine the impact of sectors performance on the S&P 500 index. Min ...
0
votes
2answers
131 views

Seeking papers that deal with stock market analysis

I am sure there are a lot of papers that are related to stock market analysis.. but I haven't been able to find ones that fit my needs most. I want to read papers, replicate their analysis, and use ...
1
vote
0answers
35 views

Correlation between a sector and MSCI ACWI returns

I have daily return data of 11 sectors of MSCI World Index and the MSCI ACWI index. I want to know the stationarity of correlations between the sectors and MSCI ACWI index. This is what I have done: ...
1
vote
2answers
67 views

Quantitative Finance education/skills [closed]

What is currently most desired in candidates by employers in quantitative finance/algorithmic trading? Strong quantitative academic background, for example, MSc/PhD in Physics, Engineering, ...
0
votes
0answers
17 views

Calculating Flat Price Risk for Physical Commodity Trades

I've been reading Craig Pirrongs Economics of Trading Firms published by Trafigura: https://www.trafigura.com/media/1364/economics-commodity-trading-firms.pdf Very informative read. The point I have ...
1
vote
0answers
87 views

Just a validation question for experts in the field: Is this guy a serious player? [closed]

There is a gentleman by the name of Marcos Lopez de Prado. His reputation seems mostly self-proclaimed. How break through are his methods? From a quant perspective, the stories he tells, there ain't ...
1
vote
0answers
36 views
1
vote
1answer
73 views

Implementing the Sharpe's return-based style analysis on Python

I am trying to implement the Sharpe's return-based style analysis on Python. The problem is formulated as follows: ...
1
vote
1answer
45 views

How can I reproduce the experimental verification of the “False Strategy” theorem plot?

I recently came across the following blog post talking about the importance of back-testing overfitting, and a plot claiming to be an experimental verification of the False Strategy theorem. The ...
3
votes
2answers
72 views

Lagged Residual as Independent Variable

I am building a factor model to estimate future equity returns. I'd like to include an autoregressive residual term in this model. I'd like to have yesterday's error (the difference between yesterday'...
1
vote
0answers
36 views

Probability of outlier events for laplace distribution

I've read that the laplace distribution is better for forecasting purposes than the normal distribution due to it better accounting for fat tails. However, when I run the numbers in matlab, laplace ...
2
votes
1answer
120 views

approach on trading algorithm using machine learning [closed]

let's say I am supervising a algorithmic trading project using machine learning. I don't have involvement in the technical side but am involved in the high level planning. the style is likely ...
1
vote
1answer
54 views

What steps are for a specific Day Trading Pattern

I am new to day trading, and I am looking to get a better understanding of what key attributes can be identified when trying to identify patterns when day trading. Specifically, I am looking to find ...
1
vote
0answers
32 views

Dealing with missing factors

I have to deal with a factor investing strategy, with the particularity that I can't get a value for the factor for each date for each stock. Practically speaking, this is due to the fact that this ...
1
vote
1answer
61 views

Adding a new strategy to an existing portfolio

I wanted some help in looking for suitable articles/literature. Suppose an investor has a bunch (bouquet?) of quantitative strategies already generating trading signals for him. If he comes up with a ...
0
votes
0answers
37 views

How to find the maximum clean price during lifetime of a bond

I'm trying to find a solution to following question: If I'm buying a bond and assume an upward sloping yield curve, than this bond will (under certain circumstances) experience price gains during his ...
1
vote
0answers
56 views

Understanding Forex Positions

I am new to forex trading and using an Oanda free practice account to play with it. However, I'm not understanding a few things. When I buy or sell a currency pair, am I buying/selling a currency or ...
2
votes
1answer
202 views

How to calculate Sharpe Ratio from $ returns?

I have a pairs strategy that I am trying to calculate the sharpe ratio for. Currently I am using python for my analysis and calculation. I have a dataframe that contains the cumulative returns in $'s ...
0
votes
0answers
32 views

How are Risk indices linked to Physical Trading returns?

Ref to my previous question here: Physical trading spot transaction analysis-Quantified I have been able to narrow down my aim to defining a physical trading strategy P&L. My question is, how ...
1
vote
0answers
32 views

Trading rules: Controlling the portfolio FDR+ level

I'm trying to apply the FDR+ (False Discovery Rate +) methodology from Bajgrowicz (2011) link another_link. I have computed the p-values with the stationary bootstrap as they did, however I am not ...
0
votes
0answers
46 views

Physical trading spot transaction analysis-Quantified

ref to my previous question here: Physical commodity trading quantitative risk return model I am currently new to commodities and physical trading. I have currently narrowed down my area of analysis ...
4
votes
2answers
118 views

Physical commodity trading quantitative risk return model

I am very new to commodities, I was previously in portfolio management/optimization (Black Litterman Markowitz etc). I am now a Buy-Sell analyst for Petrochemicals, and need to understand the basic ...
1
vote
0answers
71 views

Which stats are the best predictors of model sucess in real time? [closed]

What are the best predictors of real time model success in quantitative trading, i.e. # of transactions, length of backtest, StdDev, Skewness, Excess Kurtosis etc and what are the numerical values of ...
3
votes
1answer
111 views

Papers and books related to “Forex” market microstructure

There are lots of papers and books on this topics but haven't seen much specific to forex markets nowadays. Any recommendation on recent papers or books?
3
votes
1answer
203 views

Understanding Cover's Universal Portfolio Algorithm

I am trying to implement the Universal Portfolio algorithm strategy inspired by the paper by Professor Cover from Stanford. At the moment I am trying to understand the underlying logic of the ...
0
votes
0answers
54 views

What could be lead indicator for forex pairs like EUR-USD?

I am trying to look for intra-day lead indicators for FX pairs. For example what other securities like FX or bonds or indices can be considered as lead indicators with significant positive or negative ...
4
votes
2answers
230 views

Interpertation of delta hedge error in Black Scholes

I have spent some time to prove the delta hedge error as described in this paper paper page 16-17 by Davis. The proof is discussed here Deriving Delta Hedge error in the B-S setup (part 2) (a post by ...
0
votes
0answers
28 views

Lower cost alternatives to prime brokers

Given that our model trades ~40 million shares per month on a USD 10 million portfolio, our trading costs are significant under most price-per-share models. I was wondering if anyone here has a list ...
0
votes
0answers
23 views

Black Scholes Equation into the Heat Equation? [duplicate]

How many different ways are there to get the Heat Equation from the black scholes equation? I'm trying to understand the transformation better but most examples are either missing steps or not concise ...
2
votes
0answers
132 views

Interactive Brokers - Tracking High Relative Trading Volume

I'm new to Interactive Brokers (and day trading), I am trying to setup my different charts etc. How can I have alerts/monitor for any stock that is trading at above average volume - compared to X? ...
1
vote
1answer
79 views

How do I officially track the performance of my quant strategy? Do I need to be GIPS compliant for my performance to be legitimate?

I have a quant strategy that I want to implement in order to establish an official track record, but I'm not sure what I have to do. I have about $100k to set this thing up and would appreciate ...
1
vote
0answers
21 views

Dynamic counterpart for model tunneling/optimization using past data

When we tune a model to optimize parameters for a strategy using past data, even if controlling for overfitting (checking out of sample performance) and refreshing the analysis from time to time, we ...
1
vote
0answers
178 views

Approximating Market Making PnL with a Trend Following Strategy

In an interview about the setting up AHL Michael Adams made the following quote (the quote relates to their pre AHL days when they acted as consultants): I think because we we re doing work for ...
0
votes
0answers
50 views

How to mathematically compute the trend range of each stock?

I joined a stock market group that uses 2 modified Fibonnaci Retracement charts with the values of: 0, 0.5, 0.886, 1, 1.13, and 1.272. It will appear like this, the values of 1, 1.13, and 1.272 are ...
0
votes
0answers
78 views

using database to scan trading signals as fast as possible

In stock market sometimes we search for certain "signals" such as stocks that raise for five consecutive days. In this scenario, we're not saying that the stock's price raises for every seconds in ...
0
votes
0answers
50 views

Rounding or trimming stock prices

I have created a vwap timeseries. The values in the timeseries have 14 decimal places. I would like to reformat to 5 decimal places. My question is should I trim the price to 5 decimals or round to 5 ...
0
votes
1answer
52 views

How to properly classify rate of change?

I am working in a Machine Learning Model for Bitcoin Price. I am attempting to predict how much the price changes in the next day. I am approaching this as a classification problem instead of ...
0
votes
0answers
39 views

Equivalent of Force Indicator Within Ta-lib

Is there any equivalent of the Force indicator (http://stockcharts.com/school/doku.php?id=chart_school:technical_indicators:force_index) within the talib library? (...
2
votes
1answer
189 views

Scaling (Data prep) & Feature selection for the financial Data for LSTM Models

Overview I'm training an index e.g. FTSE100, where I have 8 years of past data (daily). I also have a list of its constituents. For each stock, I have the following features: ...