Clojure for Finance
This course has been retired. Check out the alternatives below
-
What do you get with a Packt Subscription?
- Instant access to this title and 7,500+ eBooks & Videos
- Constantly updated with 100+ new titles each month
- Breadth and depth in over 1,000+ technologies
-
Orientation – Addressing the Questions Clojure Answers
- Orientation – Addressing the Questions Clojure Answers
- Notions of computation
- Notions of finance
- Concrete types of computation
- Tooling
- A first look at Clojure's core functions
- Summary
-
First Principles and a Useful Way to Think
- First Principles and a Useful Way to Think
- Modeling stock price activity
- Function evaluation
- First-class functions
- Lazy evaluation
- Basic Clojure functions and immutability
- Namespaces and creating our first function
- Basic data structures
- Summary
-
Developing the Simple Moving Average
- Developing the Simple Moving Average
- Perception and representation
- Knowing the data input
- Knowing the data output
- Reasoning about the equation needed to achieve our output
- Understanding Vars and bindings
- Working with lazy sequences
- Implementing our equation
- Destructuring
- Summary
-
Strategies for Calculating and Manipulating Data
- Strategies for Calculating and Manipulating Data
- Our first refactor – the price list
- The exponential moving average
- The Bollinger Bands
- Summary
-
Traversing Data, Branching, and Conditional Dispatch
- Traversing Data, Branching, and Conditional Dispatch
- Our second refactor – the generate prices function
- Polynomial expressions
- A sine wave
- Stitching the pieces together
- Surveying the function landscape
- First order functions
- Applying functions
- Summary
-
Surveying the Landscape
- Surveying the Landscape
- Scalar data types
- Numbers and precision
- A review of collections
- Data transformation patterns and principles
- Clojure's model of state and identity
- Introducing side effects
- Concurrency and parallelism
- Type systems
- Comparing Clojure with object orientation
- Comparing Clojure with FP and strong typing
- Summary
-
Dealing with Side Effects
- Dealing with Side Effects
- Simple writing
- Extensible Data Notation
- Devising a persistence strategy
- Consuming from a data stream
- Using a componentized architecture
- Summary
-
Strategies for Using Macros
- Strategies for Using Macros
- Simple reading
- Functions for querying a system
- Separate OR AND lookups
- Deriving a query language using macros
- Summary
-
Building Algorithms – Strategies to Manipulate and Compose Functions
- Building Algorithms – Strategies to Manipulate and Compose Functions
- Structuring our data for further analysis
- A third refactor of the analytic functions
- Signals using moving averages
- The Relative Strength Index
- Bollinger Band signals
- Summary