Key Takeaways
1. Algo Trading: Rules-Based Trading for All Instruments
That is the first lesson of this book – algo trading = rules to trade by.
Definition of Algo Trading. Algorithmic trading, or "algo" trading, boils down to trading based on a precise set of rules. It's applicable across various financial instruments, including stocks, ETFs, forex, futures, and options. The core principle is to have a defined set of instructions that dictate when to enter and exit a trade, removing subjective decision-making from the process.
Evolution of Algo Trading. Historically, it was referred to as systematic, mechanical, or rules-based trading. The term "algorithmic" is a more recent label for the same concept. Whether the rules are programmed into a computer, memorized, or written on paper, the essence remains the same: a predefined system for trading.
Algo Trading vs. Other Methods. Algo trading contrasts with discretionary trading, where human judgment and intuition play a significant role. It also differs from hybrid trading, which combines elements of both discretionary and algorithmic approaches. The key distinction is the strict adherence to predefined rules in algo trading.
2. Discretionary vs. Algorithmic vs. Hybrid Trading
Discretionary simply means traders use some sort of judgment to enter and exit trades.
Discretionary Trading. Discretionary trading relies on a trader's judgment, intuition, and subjective analysis to make trading decisions. Traders may use charts, news, or other information, but the final decision is based on their interpretation and "feel" of the market. This approach lacks a rigid set of rules and can be inconsistent.
Algorithmic Trading. Algorithmic trading involves using a predefined set of rules to automatically generate buy and sell signals. These rules are programmed into a computer, which executes trades without human intervention. Algo trading is characterized by its objectivity, consistency, and ability to be backtested.
Hybrid Trading. Hybrid trading combines elements of both discretionary and algorithmic approaches. For example, a trader might use technical indicators to identify potential entry points but rely on their judgment to determine the exit strategy. This approach allows for some degree of human input while still leveraging the benefits of automation.
3. Key Components of a Trading Algorithm
Let’s take a look at the components of a typical trading algorithm.
Essential Components. A typical trading algorithm consists of several key components, including long entry rules, short entry rules, long exit rules, and short exit rules. These rules define the conditions under which the algorithm will enter and exit trades on both the long and short sides of the market.
Additional Features. In addition to the core components, algorithms may also include features such as stop-loss orders, profit targets, and position sizing. Stop-loss orders limit potential losses, while profit targets lock in gains. Position sizing determines the number of shares or contracts to trade based on factors such as account equity and risk tolerance.
Order Types. The types of orders that can be placed by your algorithm depend in part on the trading platform. The three most common types are market orders, stop orders and limit orders.
4. Is Algo Trading Right for You? Self-Assessment
If you have ever looked for a job, chances are you heard one or more of these excuses from a potential employer.
Analytical Thinking. Algo trading often appeals to individuals with strong analytical skills and a preference for rules-based systems. Those who enjoy problem-solving, data analysis, and logical reasoning may find algo trading to be a good fit.
Emotional Control. Successful algo traders tend to be calm, patient, and disciplined. They are able to follow the rules of their algorithms without letting emotions influence their decisions. This requires a high degree of self-control and the ability to detach from individual trades.
Rule Following. Algo trading requires strict adherence to predefined rules. Those who are comfortable following rules and avoiding impulsive decisions may be well-suited for this approach. This requires a high degree of discipline and the ability to resist the temptation to deviate from the algorithm.
5. Advantages of Algo Trading: Objectivity and Control
In algo trading, the rules are programmed, and can be accurately tested.
Objectivity. Algo trading eliminates emotional decision-making, leading to more consistent and rational trading. Algorithms follow predefined rules without being influenced by fear, greed, or other emotions. This can help traders avoid costly mistakes and improve their overall performance.
Backtesting. Algo trading allows for historical backtesting, providing insights into a strategy's performance over time. Backtesting can help traders identify potential weaknesses in their algorithms and optimize their parameters for different market conditions. This can increase confidence in the strategy and improve its long-term profitability.
Diversification. Algo trading facilitates diversification by enabling traders to manage multiple strategies across different markets. This can reduce overall portfolio risk and improve returns. Diversification can be achieved by creating algorithms that trade uncorrelated assets or by using different trading styles.
6. Disadvantages of Algo Trading: Emotions and Programming
The truth is that ANY time you are trading with money, emotions enter into the equation.
Emotions Still Exist. Despite the automation, emotions can still play a role in algo trading. Traders may experience anxiety, fear, or excitement when their algorithms are running, especially during periods of volatility or drawdown. It's important to manage these emotions and avoid making impulsive decisions that could undermine the strategy.
Programming Skills Required. Algo trading requires at least a basic understanding of computer programming. Traders need to be able to code their algorithms, test them, and troubleshoot any issues that arise. This can be a barrier to entry for those who lack programming experience.
Past Performance is Not a Guarantee. Historical backtesting is not a guarantee of future performance. Market conditions can change, and algorithms that performed well in the past may not continue to do so in the future. It's important to continuously monitor and adapt algorithms to changing market dynamics.
7. Choosing the Right Trading Software Platform
You want a trading platform that will be around for years and years, since transferring your algos from a defunct platform will be cumbersome.
Charting Capabilities. A good charting platform is essential for visualizing price data and identifying potential trading opportunities. Charts can help traders understand market trends, patterns, and support/resistance levels. This can inform the development of trading algorithms and improve their overall effectiveness.
Broker Integration. The trading platform should integrate seamlessly with a reliable broker. This ensures that trades are executed quickly and efficiently. Broker integration also allows traders to monitor their account balances, positions, and order history in real-time.
Ease of Programming. The platform should offer a user-friendly programming language that is easy to learn and use. This allows traders to quickly develop and test their algorithms. The programming language should also be powerful enough to implement complex trading strategies.
8. Popular Trading Platforms: A Trader's Toolkit
TradeStation is best known for the analysis software and electronic trading platform it provides to the active trader and certain institutional trader markets that enable clients to design, test, optimize, monitor, and automate their own custom equities, options & futures trading strategies.
TradeStation. TradeStation is a popular platform known for its powerful analysis tools and automated trading capabilities. It offers a wide range of features for designing, testing, and optimizing trading strategies. TradeStation is a good choice for experienced traders who need a robust and versatile platform.
NinjaTrader. NinjaTrader is another popular platform that offers advanced charting, backtesting, and automated trading capabilities. It is known for its user-friendly interface and extensive library of third-party add-ons. NinjaTrader is a good choice for traders who want a platform that is easy to learn and customize.
MultiCharts. MultiCharts is a trading platform that supports a wide range of brokers and data feeds. It is known for its high-precision backtesting and automated execution capabilities. MultiCharts is a good choice for traders who want a platform that is flexible and reliable.
9. Mastering Your Trading Platform: Essential Steps
Starting out with a new trading platform, whichever one it is, will certainly be a daunting task.
Learn the Help Sources. Familiarize yourself with the platform's help resources, including manuals, tutorials, and online forums. These resources can provide valuable information and guidance as you learn to use the platform. Don't hesitate to ask questions and seek help from other users.
Learn the Basics. Start by learning the basic features of the platform, such as charting, order entry, and account management. This will provide a solid foundation for more advanced tasks. Take the time to explore the platform and experiment with different features.
Learn Programming. Learn the basics of the platform's programming language. This will allow you to create your own custom indicators, strategies, and automated trading systems. Start with simple programs and gradually work your way up to more complex ones.
10. Simple Algo Example: Breakout System
Treat this chapter as an interactive guide.
Call Up a Chart. Start by opening a chart of the instrument you want to trade. Set the chart's time frame and date range to match your trading strategy. Make sure the chart displays the data you need, such as price, volume, and indicators.
Get a Trading Idea. Develop a simple trading idea based on your analysis of the market. This could be a breakout system, a trend-following system, or a mean-reversion system. The key is to have a clear and well-defined trading idea.
Program It. Translate your trading idea into code using the platform's programming language. Be sure to include all the necessary entry and exit rules, as well as any risk management parameters. Test the code thoroughly to ensure that it works as intended.
11. Diversification: The Holy Grail of Trading
But, diversification comes close to the Holy Grail, at least closer than anything else I have ever seen in my 25+ years of trading.
Diversification by Markets. Trading in multiple markets reduces risk by spreading capital across different asset classes. This approach mitigates the impact of adverse events in any single market. Diversification can be achieved by trading stocks, bonds, commodities, and currencies.
Diversification by Algorithms. Employing various algorithms with different trading styles enhances portfolio resilience. Trend-following and counter-trend strategies perform differently under varying market conditions. Combining these strategies ensures consistent performance regardless of market dynamics.
Low Correlation is Key. Uncorrelated algorithms are essential for effective diversification. Strategies with low correlation provide independent returns, reducing overall portfolio volatility. This approach ensures that drawdowns in one strategy are offset by gains in another.
Last updated:
Review Summary
Introduction To Algo Trading receives mixed reviews, with an average rating of 3.70/5. Readers appreciate its clear, focused introduction to algorithmic trading, particularly for beginners. Many find it a good starting point, praising its realistic advice and easy-to-understand approach. However, some criticize it for being too basic or lacking in-depth examples. While some readers value its overview of trading platforms and testing processes, others feel it doesn't offer enough practical techniques. Overall, it's seen as a helpful primer for those considering algo trading, though experienced traders may find it elementary.
Similar Books





Download PDF
Download EPUB
.epub
digital book format is ideal for reading ebooks on phones, tablets, and e-readers.