O'Reilly logo

Clojure for Finance by Timothy Washington

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

Keep in mind that none of the previous equations are absolutely correct. The point of the exercise is to think about the kind of relationships that each data point has with the other. For a more elaborate equation, feel free to play around with the function, or choose a completely different equation from a stochastically oscillating price. I can see sine waves or polynomials (perhaps, nested) being just as useful. Feel free to play around with the data and share your results.

We've taken pains to first understand what a stream of stock price data may look like. We then applied some core functional programming features that Clojure provides to transform data into the stock price shape we desire. This is an important point to note for any ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required