Chapter 9. Building Algorithms – Strategies to Manipulate and Compose Functions
The ultimate goal of the kind of analytics system we've been building is to get clear signals for the direction of an asset (stocks, in this case). With regard to our SMAs, EMAs and Bollinger Bands that capture market dynamics, let's see if we can use these analyses to glean whether an underlying asset will go up or down.
This chapter will use all the knowledge we've gained so far to design these signals. We'll see how we can reason about this process, and then encode new business rules on top of existing ones to create new functionality and information. In this chapter, we'll cover the following topics:
- Structuring our data for further analysis
- The third refactor of ...