15

Windham Capital Management is using hidden markov models for their Risk Regime Strategies. Mark Kritzman, who is also CEO, has published an article about the general outline of the strategy (with source code so you can replicate the results!): Regime Shifts: Implications for Dynamic Strategies (corrected August 2012) by M. Kritzman, S. Page, D. Turkington]...


10

I found this solid overview of different trading algorithms by Deutsche Bank Research: Trade execution algorithms Designed to minimise the price impact of executing trades of large volumes by ‘shredding’ orders into smaller parcels and slowly releasing these into the market. Strategy implementation algorithms Designed to read real-time market data and ...


10

In January 2020, Matteo Aquilina, Eric Budish, and Peter O’Neill from Britain's Financial Conduct Authority published this study, illustrating how "low latency" market participants can make money off of others. I suggest you read it, because it's very clearly written for the general public, and explains how markets work. I will first oversimplify ...


8

Concur with Thomas for most part, though I would recommend you to sign up for a trial with Dow Jones Newswire. I like the API and app that Newsware ( http://www.newsware.com/) makes available. It is not suitable for hft but I use it in order to stay informed and look up often used mnemonics. I think they have a pretty capable API and I remember they offer ...


8

Ha, interesting, so many responses with "negative" expectations. There are plenty of people that have successfully gone down this road and are producing pretty nice returns, so obviously it is possible. A trader with a smaller capital has better chances of producing good ROC with very reasonable risk parameters, simply because he's would not be constrained ...


8

You would definitely have some advantage. High Frequency Trading is all about speed and the fastest traders wins. Oftentimes, winner takes all. The blog Sniper in Mahwah & friends digs into the state of the art of inter-exchange communication. The current state of art for reliable broadband connections are microwave dishes between major trading hubs such ...


7

As a starting point to my answer, I would say that reading a book is not sufficient to start doing automated trading on your own as chrisaycock suggests in his comment. I would answer your questions in 3 different ways. First, building your "AI bot" which I would rather call a systematic algorithm not only requires programming skills, it also means having ...


7

The most commonly-known approach to this is described in Inferring trade direction from intraday data (1991) by Lee and Ready. You will find that the non-trivial part has to do with classifying trades that are reported inside the spread. I believe you will find that the Lee-Ready algorithm will outperform the naive midpoint reference approach suggested by @...


7

If I was in your position I would start to research how I can create a web server is C++ and expose calls to create a REST service. In other words, can you make your code status output to HTTP? From there, the rest should be easy. You would just need to create a GUI that can access REST services, which virtually all modern languages can. You could focus on ...


6

The first formal model to explain this was Kyle (1985). Oversimplifying, imagine there is a group uninformed traders and an informed trader active in the market for a given security. Uninformed traders cannot make correct directional predictions. The informed trader knows --- with some uncertainty --- what the price will be at the end of a certain time ...


6

It would be relatively trivial to implement a web scraper for any website you were interested in gathering news from - see Beautiful Soup for Python. This would allow you to gather and analyse news data from multiple sources in a way that may be more robust than relying on a single service. For example, you could screen scrape a certain website for the news ...


6

To be honest you're not likely to get a very satisfying answer to your question. Not because its a bad question, but because "regular people" can't just go hooking their home grown trading systems up to a live market. I'd like to start automating my trading strategies. First off you'll need a system that can interface with your broker. If you're not a ...


6

Let me try to answer. I have worked at an Algo-trading firm that trades equities and have seen how trades are executed at the order book level. Let's say the price of the stock is 100 (last traded price). Let's say the order book is as follows: Bids: Bid1 = 99 (size = 10,000), Bid2 = 98 (size = 20,000), Bid3 = 97 (size = 25,000), Bid4 = 96 (size = 30,000), ...


5

I can share my own experience working with the Deltix product suite. As a research and development platform it's very feature rich with support for every back-testing mode there is (BBO, Trade, Midprice, Bar, Level 2 Order Book) and advanced optimization modes (walk-forward, genetic, mean-variance, portfolio optimization, etc). I have built components and ...


5

I used https://newsapi.org/ for one of my last projects. free access to over 30,000 news sources world wide (US, Germany, India, Japan, etc.) RESTful API returning JSON excellent API documentation no throttling Example: Top Headlines Request: https://newsapi.org/v2/top-headlines?country=us&apiKey=YOUR_API_KEY Response: { status: 'ok', ...


5

TLDR: Massive expansion of credit fuelled by rehypothecation, a general shift to repo, then the scale tips and everyone pays as credit collapses. Quants were there, but I don't think they can be simply blamed for all the ills of the world. There is a general disagreement about what caused what, so some of this is guesswork. I'm marking this a community wiki ...


4

Trade matching is the process of 2 investment banks electronically inputting their respective trade details into an electronic trade matching platform; it is called trade matching because both parties are equal in this relationship. Conversely, where an investment bank has executed a trade with a buy-side firm (e.g. pension fund, insurance company), part of ...


4

These are the libraries I most prominently use for C++: QuantLib Boost C++ Libraries This is not specifically a library however it is extremely helpful, the Anaconda Compiler Tools. The Armadillo C++ library for linear algebra & scientific computing. The Intel Math Kernel Library for C++ (MKL). The Ta_Lib Technical Analysis Library has an API for C/C++...


4

LMAX Exchange has a nicely written .NET API which is free and can be used to in demo environment. However, note that LMAX is mostly a FX platform with few CFDs on equities and commodities.


4

Assuming the following: You consider bid/ask spread to be a transaction cost. That you're interested in passive trading since you mentioned adverse selection. As a random passive trader you simply place a bid to buy and an offer to sell at price $P$ and $P + Spread$, respectively. You do no active order management and are therefore a naive trader with ...


4

These 2 sites are relevant: - The Whole Street (research aggregation) - Oxford Capital Strategies (strategy reviews)


4

Trading through an ECN is a good idea, FXALL is probably a bad choice since they have such a small market share. Currenex and Hotspot are both better. EBS (in EUR, JPY, and CHF) and Reuters (in GBP, AUD, CAD) have the largest market shares, but they both are expensive to set up and require monthly fees regardless of how much you trade, their liquidity in ...


4

Is there anything which can be done to account for the underlyings with no listed option contracts? Classical options pricing theory relies on the idea that any option contract can be simulated with the appropriate dynamic hedging strategy. Options pricing practice indicates that this is sort-of true. So one thing you can do is synthesize the given ...


4

Look for the Overnight LIBOR or OIS rates for each currency. It's easier to find LIBOR rates by the way, but OIS are closer to being risk-free. In a nutshell, LIBOR rates contain bank related credit risk which may induce bias your analysis. Also available for the USD is the fed funds rate and the ECB refinancing rate for the EUR.


4

Most of these classifications of aggressive trades are not so relevant anymore, due to smart order routers which execute aggressive parent orders using passive child orders, as Maureen O'Hara points out in http://www2.warwick.ac.uk/fac/soc/wbs/subjects/finance/fof2014/programme/maureen_ohara.pdf I am not sure what I would do if I wanted this information, ...


4

This is an interesting question. I would reformulate a little bit your question and try an attempt of answer of why using neural networks is not a good idea for predicting market direction. IMHO, one main reason would be that it is not possible to experiment a strategy without modifying the market behavior and thus it is impossible to repeat the same ...


4

There are a number of price impact models which seek to predict the bias induced on prices by trading. There are also issues with some of these models (which I will mention later). Models Probably the earliest and most-known model is that by Torre and Ferrari (1997) which estimates the impact to be a multiple of the square root of trade size over average ...


3

News is not free, and hence you won't find a company offering machine readable news services for free. My best suggestion is to ask a machine readable news company for a day's worth of historical data. Even that might not work, however, as they won't waste their time if they don't think you're going to buy their service.


3

For the brokerage fee, consider coding a system that calculates the fees for several brokerages (so that you can compare brokerages). For the slippage (and other issues), consider coding that in as well. Adjust prices based on the slippage percentage. Once you do that, you can vary the slippage and determine how much slippage will break your algo.


3

Increased volatility towards the event start is definitely from increased order flow. There are some papers specifically on "prediction markets", the ones with practical applications are on market making which I suspect is generally a loss-making operation conducted by the exchanges themselves when a market is opened. Given the short-time periods and small ...


Only top voted, non community-wiki answers of a minimum length are eligible