NEWS FLASH... This book was just awarded Book of the Year by The Technical Analyst
In my decades of professional experience as a statistical consultant in the field of financial market trading, the single most important lesson that I've learned about trading is this: the quality of the indicators is vastly more important than the quality of the trading algorithm or predictive model. If you are sloppy about your indicator computation, no high-tech model or algorithm is going to bail you out. Garbage in, garbage out still rules.
This book presents numerous traditional and modern indicators that have been shown to carry significant predictive information. But it will do far more than just that. In addition to a wealth of useful indicators, you will see the following issues discussed:
There are simple tests that let you measure the potential information-carrying capacity of an indicator. If your proposed indicator fails this information-capacity test, you should consider revising it. This book describes simple transformations that raise the information-carrying capacity of your indicators and make them more useful for algorithmic trading.
You will learn how to locate the regions in your indicator's domain where maximum predictive power occurs so that you can focus on these important values.
You will learn how to compute statistically sound probabilities to help you decide whether the performance of an indicator is legitimate or just the product of random good luck.
Most traditional indicators examine one market at a time. But you will learn how examining pairs of markets, or even large collections of markets simultaneously, can provide valuable indicators that quantify complex inter-market relationships.Govinda Khalsa devised a powerful indicator called the Follow-Through Index which reveals how likely it is that an existing trend will continue. This indicator is extremely useful to trend-following traders, but due to its complexity it is not widely employed. This book presents its essential theory and implementation in C++.
Gary Anderson developed a detailed and profound theory of market behavior that he calls The JANUS Factor. This theory enables computation of several powerful indicators that tell us, among other things, when trading opportunities are most likely to be profitable and when we should stay out of the market. This book provides the fundamental theory behind The JANUS Factor along with extensive C++ code.
Whether you compute a few indicators and trade by watching their plots on a computer screen, or do simple automated algorithmic trading, or employ sophisticated predictive models, this book provides tools that help you take your trading to a higher, more profitable level.
This book provides the trading system developer with a powerful set of statistical tools for measuring vital aspects of performance that are ignored by most developers.
All algorithms include intuitive justification, basic theory, all relevant equations, and highly commented C++ code for complete programs that run in a Windows Command Console.
Reprogramming them in other languages should be easy, given the detailed explanations of each algorithm.
The following topics are covered:
Testing for overfitting at the earliest possible stage
Evaluating the luckiness-versus-skill of a fully developed system before deploying it
Testing the effectiveness and reliability of a trading system factory
Removing selection bias when screening a large number of indicators
Probability bounds for future mean returns
Bounding typical and catastrophic future drawdowns
Is the best indicator or model in a competition truly the best, or just the luckiest?
Which markets provide truly superior profits for your trading system?
What holding time for your system provides the best risk/return performance?
Build, test, and tune financial, insurance or other market trading systems using C++ algorithms and statistics. You've had an idea and have done some preliminary experiments, and it looks promising. Where do you go from here? Well, this book discusses and dissects this case study approach.
Seemingly good backtest performance isn't enough to justify trading real money. You need to perform rigorous statistical tests of the system's validity. Then, if basic tests confirm the quality of your idea, you need to tune your system, not just for best performance, but also for robust behavior in the face of inevitable market changes. Next, you need to quantify its expected future behavior, assessing how bad its real-life performance might actually be, and whether you can live with that. Finally, you need to find its theoretical performance limits so you know if its actual trades conform to this theoretical expectation, enabling you to dump the system if it does not liveup to expectations.This book does not contain any sure-fire, guaranteed-riches trading systems. Those are a dime a dozen... But if you have a trading system, this book will provide you with a set of tools that will help you evaluate the potential value of your system, tweak it to improve its profitability, and monitor its on-going performance to detect deterioration before it fails catastrophically. Any serious market trader would do well to employ the methods described in this book.What You Will Learn
Who This Book Is For
Experienced C++ programmers, developers, and software engineers. Prior experience with rigorous statistical procedures to evaluate and maximize the quality of systems is recommended as well.
Tragedy inside mankind's first outpost on Mars triggers political intrigue, betrayal, murder, and the ultimate triumph of courage over greed.
Glenn Station broadcasts a desperate call for help and then goes silent. A rescue crew sets out on the long journey to Mars, but mysterious accidents and injuries throw the operation into chaos.
The pilot, John Hellman, soon concludes that someone on Earth has planted a traitor in their midst. As panic mounts among his shipmates, he struggles to identify the deadly phantom force that is terrorizing his crew.
Back on Earth, John's wife Marie heads up the government lab studying peculiar artifacts from the red planet. When she uncovers the frightening truth behind the Glenn Station disaster, she realizes that the future of humanity may be in her hands.
But the danger she now faces is far different from what she ever expected. A cabal of nationalistic zealots has taken control of the mission to Mars, and they are determined to destroy anyone who threatens their hold on power. Marie's only hope is to match wits with the player at the heart of the game, a ruthless renegade who will do whatever it takes to win.
John and Marie Hellman are a world apart, yet together they are fighting the deadliest threat that mankind has ever seen.
Vortex - This program creates an image of a vortex plunging into an abyss. A black-and-white checkerboard is distorted in such a way as to give the appearance of a hole into which objects can be sucked. If this pattern is transferred to a large floor covering, examples of which can be seen for sale on the internet, the effect can be striking.
Blocks - All you need is a quantity of three slightly differently shaped and colored parallelograms, easily mass produced, to create an impressive 3D illusion. I have seen woodworkers making and selling beautiful cutting boards in this pattern. A little careful veneer work can produce gorgeous covers for wood boxes. This program provides the exact shapes needed, and lets the artist visualize what the end product would look like. The size and shape of the illusory cubes, as well as the viewing angle, can be adjusted by the artist for maximum creative control.
Julia - Programs for visualizing Mandelbrot and Julia sets were a dime a dozen in the 90's, and are still somewhat available on the internet. My program goes beyond the common versions in two ways. First, it uses a very advanced algorithm that can produce only binary (such as black and white) images of these sets, but it does so with extreme detail, reaching resolutions far beyond what can be obtained with the usual 'dwell escape' algorithm. Second, it generalizes Mandelbrot and Julia sets to the quaternion (four dimensional) domain, lets the uses define a 3D cross sectional object from the 4D set, and then it uses ray tracing to display this cross section with white or colored lights arrayed in any of several user-defined positions. Julia sets in four dimensions have a strange, almost creepy otherworldly appearance and can make for highly unusual decorative patterns.
Lin - Aristid Lindenmayer devised a mathematical language that can be used to describe the growth and structure of plants. Just a few lines of Lindenmayer code can serve to rigorously describe trees, bushes, flowers, and even alien-looking plant-like creations. The Lin program supports three levels of Lindenmayer systems:1) Simple edge replacement algorithms produce snowflake curves, Koch curves, dragon curves, Sierpinski gaskets, and so forth. This primitive but often lovely family of curves makes fabulous decorative ornamentation.2) Two-dimensional axial generation produces flat but interesting plant-like objects, with strikingly realistic branching patterns. These simple plant representations make perfect focal points for handcrafted items.3) Three-dimensional axial generation can produce shockingly realistic plants and flowers, reminiscent of plant sketches made by professional artists and illustrators. The Lin program allows for an almost unlimited number of productions, up to ten different colors for different plant parts, and even up to three different versions of each production, with versions randomly selected according to user-specified probabilities. This lets the artist create entire fields of plants, all of the same 'species', but no two exactly alike.
All of these programs run under 64-bit Windows. The source code compiles with Microsoft Visual C++ 2019 and probably most other modern C++ compilers. The executables as well as complete source code can be downloaded for free from my website, TimothyMasters.info. This book provides detailed explanations of the algorithms as well as tutorial examples.
Discover a variety of data-mining algorithms that are useful for selecting small sets of important features from among unwieldy masses of candidates, or extracting useful features from measured variables.
As a serious data miner you will often be faced with thousands of candidate features for your prediction or classification application, with most of the features being of little or no value. You'll know that many of these features may be useful only in combination with certain other features while being practically worthless alone or in combination with most others. Some features may have enormous predictive power, but only within a small, specialized area of the feature space. The problems that plague modern data miners are endless. This book helps you solve this problem by presenting modern feature selection techniques and the code to implement them. Some of these techniques are:
All algorithms are intuitively justified and supported by the relevant equations and explanatory material. The author also presents and explains complete, highly commented source code.
The example code is in C++ and CUDA C but Python or other code can be substituted; the algorithm is important, not the code that's used to write it.
What You Will Learn
Who This Book Is For
Intermediate to advanced data science programmers and analysts.
Civilizations on both ends of the galaxy want them, dead or alive.
Mallory Milton Smith, small-time freight hauler and intergalactic cab driver, takes a job transporting a trio of ugly, smelly Ixinians (Ickies to him) to their home on the far side of the galaxy. Unfortunately, what should have been a simple journey turns into a breathless game of cat-and-mouse when a brazen fighter pilot with her own agenda enters the picture and takes command.
With Nikita Marikolova, an elite Special Forces pilot at the helm, Mallory and an Ixinian criss-cross the galaxy, fleeing from the Earth Navy, the Ixinian Navy, mercenaries, and the commander of Nikita's Special Forces unit. Alone and unaided, Mallory and Nikita must deliver their passenger to the Ixinian home world if they are to avert intergalactic war.