Questions tagged [quant-trading-strategies]

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 human trader) or automatically (by a computer).

Filter by
Sorted by
Tagged with
1
vote
0answers
52 views

Has anyone done the course STATS242: Algorithmic Trading and Quantitative Strategies. Where Can I find the assignments and other resources?

Basically the title. There's a course STATS 242: Algorithmic Trading and Quantitative Strategies offered in Stanford a few years ago. I searched on google a bit for the course website to see the ...
0
votes
0answers
18 views

Harvesting Bond Term Premium and Roll Yield using curve plays with Oanda Continuous Contracts

Oanda has their own product pricing and method of rollover that stitches the futures contract prices. I was trying to implement a strategy that accesses the bond term premium and roll over yield for ...
0
votes
0answers
25 views

Extreme and rare events affecting the market

There are extreme events affecting the high-probability [short-term] market such as lowering interest rates that rocket stock prices, even though such events are rare and the market's response can be ...
1
vote
0answers
69 views

Is there a scientific significance to Fibonacci numbers in economics?

I am new to the field and have read popular articles on Fibonacci numbers, but I did not find it grounded in academic research and would love to know if there is a research basis for this and whether ...
0
votes
1answer
36 views

Predict Log Stock Return Direction and Trading Strategy

The $k$ period log return is defined as $$r_{t}(k)=log(S_{t}/S_{t-k}),$$ Where $S_{t}$ is the stock closing price at time $t$. For argument sake, assume that by time I mean a stock trading day and ...
1
vote
2answers
100 views

Decode stock market data from C++

As practice, I have been wanting to parse exchange data and try to build an order book algorithm on my own. I found some sample data from NYSE: ftp://ftp.nyse.com/Real%20Time%20Data%20Samples/NYSE%...
1
vote
0answers
25 views

How does a hedge fund with market-neutral (relative value) strategy be discretionary?

I've been researching about the strategies that funds employ and I've learnt that there are funds out there that apply quantitative techniques in their analysis, employ relative value investment ...
0
votes
0answers
16 views

Multivariate combinatorial purged cross-validation

Combinatorial purged cross-validation (CPCV) is a technique for backtesting strategies while purging and embargoing observations in a time series. CPCV improves upon classical k-fold and walk-forward ...
0
votes
0answers
113 views

How do you formulate trading ideas and strategies?

I have access to some tick data and Bloomberg data. Outside of data mining and hoping to find an economic rationale after the fact, what do you usually do to generate ideas before you look at the ...
2
votes
0answers
37 views

The discontinuity when applying the combinatorial purged cross-validation

In Marcos Lopez de Prado's book, Advances in financial machine learning, he recommends using the combinatorial purged cross-validation(CPCV) for backtesting. His motivation is sensible. Through the ...
1
vote
1answer
76 views

Backtesting with Level 2 depth of book

I'm new to automated trading. I'm in the process of coding the methodology I've been using manually for a few weeks into a quantitative algorithm using IBKR and Python. I read everywhere I should ...
1
vote
0answers
40 views

Looking for references on reinforcement learning in finance

I plan on using reinforcement learning for a research project. To be specific, I plan to define learning environments using market microstructure models whose solutions are well known and see if I can ...
0
votes
1answer
86 views

Why would the market systematically underestimate the probability of unlikely events?

(I'm not in finance, so pardon my ignorance) In The Big Short (2015), there is a little story about Cornwall Capital's early trading strategy: Their strategy was simple and brilliant. Jamie and ...
1
vote
2answers
173 views

Would C++'s speed over Python make it a more applicable language for scalping arbitrage opportunities?

I am using the Bittrex exchange API to ping markets to poll whether there are triangular arbitrage opportunities available for USD/BTC/LTC/USD. Note that I am not trading but rather synthesising them ...
1
vote
1answer
80 views

What market conditions are attributable to prolonged instances of triangular arbitrage opportunities?

I am investigating the potential for intra-exchange triangular arbitrage opportunities for the Cryptocurrency market. I believe that due its immaturity, relatively low volume and high volatility that ...
0
votes
1answer
70 views

How can I combine traditional trading patterns and machine learning algorithms to produce a trading system?

Traditionally, retail traders have leveraged on price patterns discovered by applying graphical tools such as flags, fractals, pennants, heads, shoulders, etc. However, while this method has been ...
0
votes
0answers
50 views

What are the best metrics to evaluate an ML algo backtest, other than the nominal returns?

I have designed an algorithm that uses Support Vector Machines to classify the next day's price movement for several prominent cryptocurrencies on a ...
2
votes
1answer
107 views

How to propertly change time horizon in Avellaneda-Stoikov model?

I'm working in the Avellaneda-Stoikov implementation using Python. My implementation reproduces the authors' results, but I don't know how to properly adapt the algorithm in order to consider a larger ...
2
votes
4answers
1k views

Algorithmic Trading: Python vs SQL

I am new to algo trading. But I have bit of coding experience in SQL. Now I am planning to develop a Algorithmic Trading system. In here I am storing all the historical data in Database (PostgreSQL DB)...
1
vote
1answer
42 views

Hedge ratio with future contract [closed]

I want to buy some stocks and short future contract instead. I wonder whether I can calculate the hedge ratio?
3
votes
0answers
76 views

How to monetize ability to predict small stock movements smaller than spread?

For a relatively small subset of stock symbols I have been able to build a model that is able to 20-100 times per day consistently predict whether a stock is going up within the next 2 minutes, being ...
3
votes
3answers
340 views

Basics of trading strategy development

I am Computer engineer and I know programming in python, go-lang, C++, I am interested in trading, I know how to make system to get data, send orders, back-test, fault-tolerance system, etc I have ...
0
votes
0answers
56 views

USING HIDDEN MARKOV MODEL TO DETECT MARKET REGIMES IN R

How can I use a hidden Markov model to detect different regimes within AAPL's returns using the R programming language . If anyone can point me to any papers or links which can help me out that would ...
0
votes
0answers
29 views

Sizing a beta neutral Pairs trading with an allocation limit

Hopefully a simple one for someone. I've a pair of stocks A and B. The beta adjusted spreads tell me I need to be selling A and buying B, my beta for B is 1.5, so in order to get a beta neutral pair ...
2
votes
1answer
59 views

Is there anything like Quantopian in R?

Quantopian is an incredible tool for the quant community, but it is Python based only. Just wondering if is there anything like Quantopian in R that you reccommend?
2
votes
0answers
86 views

Competitive levels in Limit Order Books

I've been doing some research on electronic Limit Order Books (mainly equities) and I was wondering if anyone has seen a paper on how to compute competitive limit order prices. By competitive, I mean ...
0
votes
1answer
92 views

Generating buy/sell signals in pairs trading

I'm reading a quantitative trading book"Quantitative Trading with R" by Harry G. In the pairs trading section, there's an example that creates the spread and generate buy/sell signals. y and x are ...
0
votes
0answers
44 views

Correct labelling for trading strategies

In trying to build a ML powered trading strategy, one of the most important tasks is to correctly label the data so that the results of whatever classification algo you are using will be properly ...
0
votes
0answers
54 views

Probability and random walk

Let's says i have 10 years of daily prices on a stock ABC. I do some analysis and I realise that, for example, if the stock increases 5 days in a row (close > open), 75% of the time, the 6th day will ...
0
votes
0answers
24 views

How to calculate technical indicator using tick data cross the night?

The tick data shortly before the close in yesterday have different statistics and charasterices compared to the tick data shortly after the open in today. Then, how I calculate the indicators using ...
0
votes
0answers
38 views

Evaluating Markov switching garch models with R

Hello I have been working on a Markov switching GARCH model my intention is to use it to trade options volatility . I have created a Markov switching garch model using the MSGARCH package in R and in ...
2
votes
1answer
75 views

Why are quadratic variation and rough paths so important in quantitative finance?

I am new to quant finance - come from a mathematics background. I am starting stochastic calculus and have been particularly interested in some papers pathwise integration and rough calculus in ...
2
votes
0answers
83 views

Meta Labeling for trading opportunities

In Advances in Financial Machine Learning, Lopez explains how we should build a primary exogenous model (binary classifier) to identify trading opportunities and a secondary meta model to filter out ...
3
votes
1answer
161 views

How to orthogonalize Fama French factors?

The Fama French factors (e.g. size, value) are not orthogonal to each other, so when e.g. you want to create a diversified portfolio of factor mimmicking portfolios (factor investing), the correlation ...
2
votes
3answers
185 views

Is it possible to make profit by reversing client trades for a market maker?

If a market maker is making profit in a considerably enough period, then does it mean that the clients that bought/sold from/to the market maker lost money? If so, is it possible that market makers ...
2
votes
0answers
68 views

What are some special trading phenomena that would be interesting to research?

I'm looking to research special trading phenomena like end-of-month bonds activity, daily closing imbalances in cash equities, futures expiration/settlement manipulation (like in VIX) etc. What are ...
1
vote
2answers
147 views

Genetic algorithm development - chromosome stucture based on buys/sells

Creating a GA algorithm for intraday trading (e.g., futures ES, NQ) is more difficult than textbook examples for GA function minimization/maximization. Initially, I assumed the parameters for buys ...
0
votes
1answer
69 views

Realized and Unrealized Profit and Loss [closed]

https://www.tradingtechnologies.com/xtrader-help/fix-adapter-reference/pl-calculation-algorithm/understanding-pl-calculations/ What I want to know is, after Scenario 4 in this article how does the ...
1
vote
1answer
102 views

Benchmark of a Dollar Neutral Strategy

A dollar neutral strategy invests the same amount of money long and short without accounting for the volatility (risk) of either side. Depending on volatility you either end up positively or ...
3
votes
0answers
84 views

Realistic Modeling of Capacity in Backtesting a trading strategy

Typically the backtest of a quantitative trading strategy assumes a fixed period and fixed capital at the start to backtest a strategy. However, each strategy has a capacity (due to non-linear trading ...
0
votes
2answers
141 views

Implied volatility is returning infinity

I am trying to calculate implied volatility using javascript , I have following code ...
4
votes
1answer
187 views

Markowitz portfolio in reality

I am in academia and begin to work on topics including portfolio optimization. I just read lots of paper discussing different extensions to the Markowitz approach, given different (possibly ...
1
vote
2answers
244 views

How to understand micro-price (aka, weighted mid-price)?

The definition of micro-price is S = Pa * Vb / (Va + Vb) + Pb * Va / (Va + Vb) where Pa is the ask price, ...
0
votes
0answers
63 views

Can a publicly known gap trading strategy be profitable and if so why?

Newbie to this field, please forgive any lacking knowledge... There is various literature (example) on trading according to strategies which assume that (in the absence of a large gap, or major news) ...
0
votes
2answers
130 views

Trading after the close

Are there institutions that will fill stock trades after the close (from stock on their order book) at the official close price? If so, would it be significantly more expensive to execute a trade this ...
0
votes
1answer
82 views

Correlation between the perfect market-timing strategy and the market itself?

What would be the correlation between a perfect market-timing strategy [that it always goes long (short) one unit of the market the day before the market goes up (down)] and the market itself, given ...
3
votes
1answer
91 views

Correlation of a portfolio of trading strategies to a benchmark [closed]

I have two trading strategies, both having a correlation of 0.5 to an indicator 'i'. If I take a portfolio of these two strategies, what will be the correlation of this portfolio with the indicator 'i'...
2
votes
0answers
95 views

Johansen cointegration Test for spread generation

I'm using the python statsmodels version of the johansen cointegration test and I'm looking for some advice on how best to generate the spread used within a pairs trading algorithm. For example I've ...
2
votes
0answers
198 views

Calculating % Return in Pairs Trading Strategy

Hi guys Could you help me here? I would like to calculate the return of a Pairs Trading strategy. For example: 18/11 - Open the Trade: I will go long on A and Short on B: Stock A : $ 32.24 Stock B ...

1
2 3 4 5
8