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
56 views

Machine learning algorithms that generate trading models (literature)?

Is there any academic literature on machine learning algorithms that are able to generate functioning trading models? Would this even be feasible at all, now or in the future? Could you point me to ...
1
vote
0answers
46 views

Can I use the Sharpe Ratio as an objective function in algorithmic trading?

I’m experimenting with custom loss functions for different trading rules and have come across a few articles citing success in directly using the (negative) Sharpe Ratio as a loss function, ...
3
votes
1answer
93 views

Exposure/Factor Analysis on a loan portfolio?

I am working on performing factor analysis on a loan portfolio. This is my understanding so far, and I was hoping that some of the smart folks here might be able to chime and guide me through this ...
3
votes
0answers
160 views

What is “signal” in quant investing?

Can somebody explain (and give examples) of "signals" in quant investing? What are those? What does this word mean?
0
votes
1answer
145 views

Generating buy/sell signals in pairs trading

I'm reading a quantitative trading book"Quantitative Trading with R" by Harry Georgakopoulos. In the pairs trading section, there's an example that creates the spread and generate buy/sell ...
3
votes
1answer
120 views

Are momentum returns negatively skewed?

In the academic literature, I found that momentum returns are negatively skewed (e.g. Daniel and Moskowitz, 2002). As far as I understand, this usually happens when the "past losers" rebound ...
2
votes
1answer
127 views

Can alpha be positive if cumulative returns underperform the benchmark?

According to my portfolio analysis program (pyfolio), the alpha of the following strategy is .17 (I am assuming 17%). [Based on pyfolio documentation, alpha here is the "annualized alpha".] ...
0
votes
2answers
104 views

What kind of returns should I use for my model?

I'm building a machine learning model with the aim of learning a daily strategy of buy or sell the stock. I was wondering if I should use adjusted close price or something else to calculate returns (I ...
0
votes
0answers
34 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
60 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 ...
1
vote
0answers
28 views

Combining multiple securities' Net Asset Value time-series into one total NAV series

I have a number of individual securities that each have a Net Asset Value (NAV) time-series. For example: ...
2
votes
1answer
123 views

Continuous Percentage Profit and Loss calculation

I need to calculate a profit and loss for an equity timeseries. The position size (column D in the below table) is not binary (not moving from zero position to a position and then back to zero ...
6
votes
7answers
2k views

Do quants need to know Accounting?

Do quants need to know Accounting? In my school's undergrad Quant program, we had Financial Accounting and Managerial Accounting, which were listed as prerequisites for our undergrad Finance subjects. ...
1
vote
1answer
42 views

How to combine different strategies in a backtest (and IRL)

I am trying to combine long and short strategies into an L/S strategy in my backtesting program. The way I have my backtester set up is it takes a signals object (...
4
votes
0answers
106 views

Machine learning - assigning a value to each tradable moment

I've been looking at machine learning trading strategies for some time and realized recently that I've been neglecting a very important part of the equation in terms of training an effective model. In ...
4
votes
3answers
515 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
2answers
779 views

Historical tick data level 1 and level 2

I am a software engineer and want to run some simulation of over historical market data . I am pretty new to finance and trading world. To automate some of my strategies I would like to run some back ...
2
votes
2answers
946 views

Didier Sornette's Strategy to Exploit Return Correlations

In his book, "Why Stock Markets Crash", Didier Sornette discusses a trading strategy that exploits return correlations. Consider a return $r$ that occurred at time $t$ and a return $r'$ that ...
3
votes
1answer
158 views

evaluating garch models

I used ugarchroll to backtest my garch model on S&P returns this is my code ...
3
votes
2answers
1k views

Does QuantConnect use both bid and ask data for backtesting?

Or Quantopian? How about Python libraries like ultrafinance and PyAlgoTrader?
0
votes
1answer
75 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
0answers
66 views

Forex trailing stops - better alternatives?

I've been pursuing the holy grail of trading, short term FX trading, using machine learning. I've experimented with a ton of strategies but mainly those revolving around holding each trade for a ...
1
vote
0answers
89 views

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

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
24 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
30 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 ...
4
votes
3answers
375 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
130 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 ...
1
vote
0answers
80 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 ...
1
vote
2answers
136 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
1answer
118 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 ...
1
vote
0answers
40 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
2answers
145 views

Implied volatility is returning infinity

I am trying to calculate implied volatility using javascript , I have following code ...
0
votes
0answers
18 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 ...
2
votes
1answer
141 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 ...
1
vote
2answers
459 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, ...
1
vote
1answer
83 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 ...
1
vote
2answers
189 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 ...
0
votes
2answers
131 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 ...
2
votes
0answers
44 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
115 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
49 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 ...
2
votes
1answer
81 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?
1
vote
3answers
383 views

Is anybody using 13F-HR data for making strategies?

I see that a lot of quants work on high frequency strategies. Mostly used data are prices, volumes. I wonder, is anybody using data on funds positions, which they have to disclosure quarterly under ...
0
votes
1answer
91 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 ...
0
votes
0answers
55 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
1answer
79 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 ...
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)...
0
votes
0answers
30 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 ...
1
vote
1answer
47 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?

1
2 3 4 5
8