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
0
votes
0answers
34 views

How to calculate the longest expected losing streak for a system that trades all the index members simultaneously?

For a trading system that trades only one security we can easily compute the longest expected losing streak using this formula: where: n is the number of trades, ln is natural logarithm, P is the ...
0
votes
0answers
23 views

How do I calculate inflation adjusted CAGR?

I'm running backtests with monthly data going back to the 1920's and I'd like to compare different strategies using inflation adjusted CAGR. But I don't know how to calculate it. Would any of these ...
0
votes
0answers
22 views

Historical Economic Release Calendar

Does anyone know if any providers have a historical economic release calendar? For example, releases of things like ADP private employment, or ISM surveys? I ask because I would like to backtest a ...
0
votes
0answers
41 views

How to backtest using portfolio compositions in python using backtrader

I have a csv file / pandas dataframe which looks like this. It contains various portfolio compositions for different strategies. Mostly based on different optimisation methods, max sharpe, min VaR etc....
0
votes
0answers
24 views

Backtesting python libraries [duplicate]

Might there be any backtesting libraries in Python that computes the various statistics (Sharpe Ratio, Calmar Ratio, drawdown, win rate etc) given a dataframe of holdings and its holding duration (...
0
votes
0answers
17 views

Backtesting multiple portfolio optimisation and trading strategies using number of stocks to purchase as input

I want to backtest a trading strategy + portfolio optimization but I have never used a backtesting program before. I am comfortable with python I think. My outputs from my trading logic (after ...
0
votes
1answer
70 views

Steps to fit a Machine learning model for prediction of up and down market movement

I have around 5 years of data of an index containing many features on a daily basis. I want to classify whether the index will move up or down the next trading day (up or down movement is determined ...
0
votes
0answers
19 views

As reported financial statements historical data [duplicate]

May I request for suggestions on data vendors for historical as reported fundamental data? For example as reported eps, as reported revenue, as reported depreciation and amortization expenses? I tried ...
0
votes
1answer
135 views

Known mispricing opportunities only available for small traders

Warren Buffett has famously said that he could generate 50% annual returns if he was working with small sums of money. (He cannot move the needle enough now with large amounts of capital). Perhaps two ...
0
votes
0answers
65 views

Effectiveness of trading strategies

Generally, a trading strategy is effective for a certain duration which is a function of the environment, news etc. I am currently learning about basic strategies that are (or once were) used. Some ...
0
votes
0answers
98 views

Pairs Trading Strategy Pre-Selection

I am writing paper on the profitability of the pairs trading strategy using US equities. I have done a pre-check to see which business sectors have stocks that are cointegrated. The utilities sector ...
0
votes
0answers
38 views

Strategy in mql5

I have the following code(is not mine) in an Expert Advisor: if((Handle(DXHandle, 0) - Simbolo.Ask()) >= (DXPontosDistancia * _Point)){...} Handle(DXHandle,0) ...
0
votes
0answers
33 views

How does Intrinsic and Time Premium factor into deep ITM options for leveraged securities

So I'm curious about the downside risk on this trade. Some backstory - I noticed the options chain for TZA had basically no volume or open interest for deep ITM calls about a week ago while also ...
0
votes
0answers
41 views

Which exact interest rate should I use for valuing equity index futures (ie. SPX, MXEA)?

I'm trying to build a model that values futures for equity indicies like SPX. For example, this product link here. I know that the model is simple (please correct me if I'm wrong): $$ S_{T} =S_{0}e^{(...
0
votes
0answers
79 views

Leakage and bias in XGBoost trading strategy

I apologize for my persistence, i'm on a course of study and doubts increase every day. My goal is "just" to code a profitable forex trading strategy with machine learning. I'm trying to ...
0
votes
0answers
121 views

How is the total return of an alpha strategy being calculated during backtesting?

I am using a quant simulation platform and I have chosen a formulaic alpha to be used. Now the platform is backtesting and displaying the total return of the alpha strategy over 12 years. The trading ...
0
votes
0answers
170 views

Quantifying Bollinger Band squeeze

I'm interested in experimenting with Bollinger Band squeezes to see if a strategy can come of it. A simple definition is a narrowing of the bands like the example below. Really, only the standard ...
0
votes
0answers
111 views

Is there a framework to study quantitative model robustness/uncertainty?

Can you point me to any resources about a possible framework to analyse and possibly quantify model uncertainty and -robustness associated with quantitative investment models? As an example, there ...
0
votes
0answers
59 views

Hedging costs and BS-price

I'm looking at the chapter, "The Greek Letters" in Hull's book (Options and derivatives...) and in particular the paragraph "Dynamic Aspects of Delta Hedging". He demonstrates two ...
0
votes
0answers
78 views

Any books on systematic investing in credit securitized products (RMBS, CLO)?

I'm looking for books/research papers that would have information on systematic strategies used in the Credit Securitized products space (specifically RMBS, CLO, etc.), if there are any? I've been ...
0
votes
0answers
28 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
35 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 ...
0
votes
0answers
126 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 ...
0
votes
0answers
66 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
52 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
66 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
0answers
50 views

Vexing issues to be aware of fitting volatility smile

I wanted to know what one should be aware of trying to fit volatility smile. Besides the arbitrage issues. What are some of the real life vexing issues associated with this process. What is a non-...
0
votes
0answers
91 views

Can I make the simple moving average less lagging by this method?

I have (T+3) predicted prices for a stock. Let us assume that the predicted prices are going to be very close to the actual prices. can I alter the formula of simple moving average for 20 days like ...
0
votes
0answers
68 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
0answers
55 views

Significance of Data

The following is a result I get from a pair trading model. I am trying to figure out the significance of the below but failing. Can someone help me out i.e. a resource or possibly an explanation on ...
0
votes
0answers
40 views

measuring the performance of round-trips on stocks

can you provide me with some ideas to assess the profitability of round-trips? That is when I buy 100 shares of IBM at 10\$ and I resell them two days later at 11\$, how can I measure the profit made? ...
0
votes
1answer
2k views

Can end-to-day trading be profitable? If not, why? [closed]

Many academics argue that end-to-day trading, where you go long or short before opening and sell your security at the end of the day, is not profitable. Various explanations are given for this concern....
-1
votes
1answer
977 views

Target daily ROI for a market-making algorithm

I'm designing a market-making algorithm, I was wondering what a decent ROI / day would be to aim for in such a system?
-1
votes
2answers
362 views

Positive PnL with long volatility strategy

Suppose I was interested in longing volatility. Suppose I bought a long straddle today which expires in 3 months. Suppose that volatility was very high in those 3 months, however, the stock expires at ...
-1
votes
1answer
75 views

Removing stocks from simulation based on long term out of sample performance

I have performed a simulation on a stock universe and have found some stocks that out of sample have never performed (every day they always lose money in the simulation). I don't want to introduce ...
-1
votes
2answers
124 views

How to test a strategy with a small capital? [closed]

I have developed an algorithm / model that predicts the next day direction of CBOT wheat futures. It performs sufficiently well in backtesting that I'm interested to see how it would perform with real ...
-1
votes
1answer
484 views

Trading strategies for illiquid markets [closed]

Is there any literature on trading strategies for illiquid equities markets, such as research papers or articles? I've done some searching but haven't turned anything up.
-1
votes
2answers
98 views

One touch UP no touch DOWN, One touch DOWN no touch UP [closed]

I was reading about exotic options and I came across something new. One touch down no touch up option and the other one I saw was One touch up no touch down option. I would like to understand how it ...
-1
votes
1answer
506 views

How to use exponential smoothing for trading?

I was wondering if there's a rule of thumb regarding the value of alpha used when performing exponential smoothing. I plan to use this technique to preprocess my data before feeding them into my ...
-1
votes
1answer
859 views

pair trading cointegration - calculating shares quantities traded, portfolio value and returns

I have a trading strategy based on the cointegration of X and Y where beta derived from the regression is 0.7. My initial capital to invest is 1000. My understanding that the quantities of X and Y to ...
-1
votes
1answer
189 views

conservative approach payoff table

With the conservative approach, we choose the decision which maximises minimum payoff. I was wondering which decision is chosen if 2 decisions have equal minimum payoff (which is the maximum)? ...
-1
votes
5answers
213 views

Sending order to Forex or Stocks from Python strategy

I have my own strategy developed in Python. But I couldn't find a reliable method to send, close, and modify orders using Python. Are there any tools that help order management using Python? I also ...
-2
votes
1answer
733 views

Trading Strategies and Portfolio Constructions based on Cross Sectional Regression? [closed]

I often see trading strategies and portfolio construction that are based on cross-sectional regression. For example, I often see regressing some numbers against some factors. I was wondering how ...
-2
votes
1answer
131 views

What are good examples of using Big Data for a trading strategy?

As the title say, I am looking for trading strategies in the stock, bond, forex market, that rely on the usage of Big Data. The more out of the box strategy the better. Also if anyone knows any ...
-2
votes
2answers
235 views

Automatic trading strategies - what are benchmarks for PL on serious backtesting?

There are plenty books and sites which offer automatic trading strategies (robots) and claim they are very profitable. On the other hand many people do not believe in such things, saying that: if ...
-2
votes
1answer
1k views

How to calculate the weight of the stocks using the linear regression?

I do a simple example with the follow three series(stocks prices): ...
-4
votes
1answer
73 views

How to choose a stock? [closed]

So far, I have only been working on systems that track numerous stocks and evaluate which present the best opportunities at a given time. I have grown curious about building a day-trading system that ...

1
5 6 7 8
9