Questions tagged [trading]

Attempting to profit from short-term fluctuations in a security's price as opposed to investing in the security for use or income.

Filter by
Sorted by
Tagged with
46
votes
3answers
17k views

How can we reverse engineer a market-making algorithm (HFT)?

Consider a market participant $A$ who is mechanically following an automated liquidity providing algorithm (HFT) in a number of large cap stocks on a specific exchange. Assume furthermore that we are ...
40
votes
15answers
80k views

What open source trading platform are available

I would like to compile a list of open source trading platforms. Something that would give an overview and comparison of different architectures and approaches.
36
votes
8answers
33k views

Digital Signal Processing in Trading

There is a concept of trading or observing the market with signal processing originally created by John Ehler. He wrote three books about it. Cybernetic Analysis for Stocks and Futures Rocket Science ...
35
votes
1answer
3k views

Is my trading strategy search methodology sound?

I'm building an algorithmic trading business. I'd be grateful for informed comments and opinions on my trading strategy search methodology. Goal Develop (profitable!) fully automated intra-day ...
34
votes
5answers
15k views

Skew arbitrage: How can you realize the skewness of the underlying?

It's not clear to me how to realize skewness. In other words, how do you implement skew arbitrage? There seems to be no well-known recipe like in volatility arbitrage. Volatility arbitrage (or vol ...
28
votes
6answers
29k views

Applications of Fourier theory in trading

What are fashionable applications of Fourier analysis in trading? I have heard vague ideas of applications in High Frequency Trading but can somebody provide an example, maybe a reference? Just for ...
28
votes
8answers
5k views

How to design a custom equity backtester? [closed]

I was thinking about writing my own backtester and I realize I have to make some assumptions. So I was hoping I could post what I am planning on doing and hopefully some of you can give me some ideas ...
26
votes
4answers
3k views

How are risk management practices applied to ML/AI-based automated trading systems

A potential issue with automated trading systems, that are based on Machine Learning (ML) and/or Artificial Intelligence (AI), is the difficulty of assessing the risk of a trade. An ML/AI algorithm ...
22
votes
5answers
8k views

Volatility pumping in practice

The fascinating thing about volatility pumping (or optimal growth portfolio, see e.g. here) is that here volatility is not the same as risk, rather it represents opportunity. Additionally it is a ...
21
votes
2answers
2k views

Statistical properties of stochastic processes for moving average trading to work

Common wisdom holds it that a moving average approach is more successful than buy-and-hold. There is quantitative evidence for that across different asset classes (see e.g. this book, or this paper ...
21
votes
2answers
4k views

statistical arbitrage option overlay strategies / volatility trading

Here's an interesting trading puzzle that I would love to get the community's input on. Let's say there exists an alpha signal that does a good job of sorting equities expected excess returns over ...
20
votes
3answers
8k views

How to combine multiple trading algorithms?

Is it possible to combine different algorithms so as to improve trading performance? In particular, I have read that social media sentiment tracking, digital signal processing and neural networks all ...
19
votes
4answers
952 views

Why do Human traders make money?

Over the years I met a couple of dozen of (human) traders who I'd consider good (being in the business for several years, generating a reasonably steady income). I had chances to chat with some of ...
18
votes
2answers
2k views

Is there a standard method for quantifying mean-reversion for use in directional trading?

Assuming a directional strategy (no pairs or spread trades) is there a "standard" method for quantifying mean-reversion? Should auto-correlation, variance ratios, hurst exponent, or some other measure ...
17
votes
3answers
6k views

How do I find the most diversified portfolio, or least correlated subset, of stocks?

I have a trading system that chooses top 10 stocks in Nasdaq 100 ranked on relative strength and some other factors. However, I'd like to take positions in only 5 of these 10 stocks based on how ...
17
votes
3answers
4k views

Order submission strategies of a rational market maker?

Consider a market maker that has decided to try to make a round-trip trade in stock A in order to capture the bid-ask spread. Assume furthermore that he has no current inventory in the stock A. To ...
15
votes
3answers
7k views

How to simulate slippage

I'm backtesting a trading strategy, using free OHLC data from yahoo or google. I'm simulating friction by lopping a flat percentage (say 0.5%) off my returns for each day that I make a trade. Whats ...
13
votes
2answers
4k views

What are the most common/popular exotics in the interest rate markets these days?

By "exotic" I mean anything that is not a plain vanilla swap, swaption, cap or floor. Also any IR hybrids if appropriate. Possible examples would be: CMS and CMS spread options Multi-callable swaps ...
13
votes
2answers
628 views

Exploiting breakdowns in correlation of estimated volatility

In the attached image I have a plot of the rolling correlation of 90-day historic volatility (using the Garman Klass estimator based on Sinclair's Volatility Trading) of JPM v. the S&P. As can be ...
12
votes
4answers
2k views

What are the options for a mathematician to break into QF without working for a fund? [closed]

I have a degree in mathematics, and I've worked as a statistician and done some programming work. I'm very strong in my math/stats/programming background and have browsed some QF books, and I'm very ...
12
votes
4answers
2k views

What kind of specialized hardware is used in trading?

What kind of computer hardware, in additional to the 'conventional' fare, is actually used in trading? And what languages is it typically programmed in? I'm interested in ASICs, FPGAs, that sort of ...
12
votes
3answers
955 views

What strategy would benefit most from having the fastest connection to the exchange?

Imagine that you have the fastest connection to the exchange (receive quotes 1 ms earlier than everyone else) for both stocks and derivatives. How would you benefit from this? Of course almost any ...
11
votes
4answers
2k views

Can the futures market's open interest predict commodity, treasury, and equity returns?

I came across this article and became curious. Can the futures market's open interest really predict market action?
11
votes
3answers
1k views

Deciding how many trades to make

I recently sat a technical interview with a prop trading and market making firm. I didn't pass the interview, and I was wondering about answering one of the questions they asked me. So the ...
11
votes
3answers
11k views

How to calculate the JdK RS-Ratio

Anyone have a clue how to calculate the JdK RS-Ratio? Let's say I want to compare the Relative strength for these: EWA iShares MSCI Australia Index Fund EWC iShares MSCI Canada Index Fund EWD ...
11
votes
1answer
1k views

A generic limit order book: What are the most important queries it should be able to answer?

Assume a class LimitOrderBook which represents a limit order book in a trading system. To be able to represent the limit order book a data handler reads a feed ...
11
votes
1answer
527 views

How to select/construct benchmarks for black-box trading strategies?

When faced with a black box trading strategy with extensive historical data available, how would one select/construct a representative benchmark? As a trivial example, when a strategy historically ...
10
votes
6answers
30k views

How are HFT systems implemented on FPGA nowadays?

I have read about different implementations of HFT systems on FPGAs. Argon HFT system (http://trading-gurus.com/argon-design-an-fpga-based-hft-platform/) Hardware-only implementations or hybrid ...
10
votes
2answers
2k views

What is “high frequency quoting” or “quote spam”?

What is called "high frequency quoting" or "quote spam" in the context of high frequency trading? Why do some people consider that as a problem for the market?
10
votes
3answers
7k views

Application of Control Theory in Quantitative Finance

I have recently completed an MSc in Control Systems from a top university. It seems to me that control theory must have an application within quantitative finance. I would like to apply my degree ...
10
votes
3answers
2k views

Why is there a stong intraday-correlation between spot and vol?

Fig.1 shows an intraday scatterplot of the DAX future against its volatility index VDAX on 6-Jan-2016. The data suggest a strong negative correlation between the two. There are various models ...
9
votes
2answers
3k views

Trading interview gambling question

You're invited to a one-on-one coin-flip gambling game. Your opponent has 1 million USD on hand (the max you can bet is 1 million USD). The payouts for flipping heads and tails are as follows: Tails: ...
9
votes
3answers
6k views

How to distinguish between different types of algorithmic trading

Algorithmic trading involves the use of algorithms to optimally execute trading instructions. Then there are algorithms which initiate trades, based on various quantitative strategies (e.g. pairs ...
9
votes
3answers
400 views

Is there data on market participants at a particular moment?

I am looking for data on market participants at a particular moment (or some proxy/approximation). For example, how can I tell whether mostly big players and HFTs are dominating the market in ...
9
votes
2answers
3k views

Which algorithm should I look into to kick off my research in algorithmic trading? [closed]

I have recently undertaken a research into automated algorithmic trading algorithms. The aim of the research is to focus on studying algorithmic trading and trying to improve a basic implementation ...
9
votes
2answers
18k views

How to use PCA for trading

Can anyone give me a few pointers of how to approach using PCA for trading? In particular, it seems to me, PCA is useful for selecting a subset of a portfolio of stocks(or other) rather than trading ...
9
votes
1answer
465 views

Is there any measure that is a non-trivial combination of VWAP and TWAP?

Is there any measure that is a non-trivial combination of VWAP and TWAP? For example: \begin{equation} \textrm{VTWAP} = \frac{\textrm{VWAP}+\textrm{TWAP}}{2} \end{equation} I'm thinking about ...
9
votes
4answers
10k views

When should we use SWIFT versus FIX?

I've read documents that claim that SWIFT and FIX are not competing protocols for financial transactions and messaging. And yet, I have not come across a clear articulation of when to use SWIFT versus ...
8
votes
4answers
2k views

Is this how stock trading works?

I was told to move this question here from Money Stack Exchange, where some people have already provided some feedback. This is a very basic question about the Stock Exchange, and I was looking for ...
8
votes
2answers
6k views

How do firms make money from “flow trading”?

Apologies if this is a very simple question, but how exactly do firms make money from "flow trading"? Is it simply profiting from "selling" direct market access?
8
votes
2answers
2k views

How long do algorithmic trading strategies typically remain profitable?

As I understand it, an algorithmic trading strategy could lose profitability, if, for example: it's rediscovered by others employee turnover leaks the strategy to others market conditions change ...
8
votes
4answers
786 views

Efficient Markets Paradox

Basically all Quant Finance theory is build on No-Arbitrage presumption and Efficient Markets Hypothesis. The known Grossman-Stiglitz Paradox says: if one can't make money from trading, one wouldn't ...
8
votes
2answers
10k views

Cost of rolling futures contracts

Futures are traded on margin, so that the P&L of any open position is realized on the posted margin. To maintain a constant exposure to the future, an expiring contract needs to be rolled into a ...
8
votes
1answer
2k views

Why would an exchange choose one matching algorithm over another?

There are a number of different matching algorithms at different exchanges. Time-based FIFO is most common, but there is also mixed FIFO/pro-rata, pure pro-rata, size priority, etc. Why would an ...
8
votes
3answers
557 views

Means of inferring trading algorithms from competition trade data

I'm analyzing trades from several participants in a trading competition, and I was wondering - are there known mechanisms for analysis and inference of the logic in a set of trades done by one ...
8
votes
1answer
599 views

Are special condition identifiers (e.g. AIG+) standardized?

Suffixes indicating class, preferred, new, etc., are well defined for NASDAQ and NYSE, but I can't find anything documenting the meanings of the trailing punctuation. For example, here's some that I ...
8
votes
1answer
1k views

Optimal Executions for Minimizing Slippage

There has been a considerable body of work for finding trading strategies that minimize the slippage wrt arrival price. For instance, the following are on of the most well known papers: [1] Robert ...
8
votes
1answer
2k views

Repo Settlement v. Collateral Settlement

I'm a bit confused about repo settlement conventions, and let's say repos on US Treasuries (USTs). USTs settle $T+1$ where $T$ is the trade date. So if today is Wed 3/8/17 and I execute a trade with ...
8
votes
2answers
3k views

How can index futures trade 24/7 when the index doesn't change?

I have read that the E-Mini S&P 500 Futures trade 24/7, how is that possible? I mean the underlying stocks which form the index are traded from 9:30am-4pm - so outside of these hours the S&P ...
8
votes
1answer
341 views

Estimate price movement per unit of volume for daily data

I'm working on backtesting a number of stock trading strategies and need to estimate how much the execution price will likely deviate from the historical close price for that asset using daily data; ...

1
2 3 4 5
9