Clojure for Finance(Paperback)

Timothy Washington

  • 出版商: Packt Publishing
  • 出版日期: 2016-01-11
  • 售價: $1,490
  • 貴賓價: 9.5$1,416
  • 語言: 英文
  • 頁數: 188
  • 裝訂: Paperback
  • ISBN: 1785289284
  • ISBN-13: 9781785289286
  • 相關分類: JVM 語言
  • 下單後立即進貨 (約3~4週)

相關主題

商品描述

Key Features

  • Apply the Clojure programming language in financial analytics and to build financial applications
  • Work with high-level mathematical abstractions without having to implement low-level code for financial operations.
  • This is a practical tutorial that takes you through real-world examples of financial analytics and applications with Clojure

Book Description

Clojure is a dynamic programming language with an emphasis on functional programming. Clojure is well suited to financial modeling as it is a functional programming language. Such languages help developers work with high-level mathematical abstractions without having to implement low-level code that handles the arithmetic operations.

Starting with the importance of representing data and calculations effectively, this book will take you all the way to being competent in financial analytics and building financial applications.

First, we introduce the notions of computation and finance, which will help you understand Clojure's utility to solve real-world problems in many domains, especially finance. Next, we will show you how to develop the simple-moving-average function by using the more advanced partition Clojure data transformation function. This function, along with others, will be used to calculate and manipulate data.

You will then learn to implement slightly more complicated equations, how to traverse data, and deal with branching and conditional dispatch. Then, the concept of side-effecting and its various approaches are introduced, along with the strategy of how to use data as the interface to other systems. Finally, you will discover how to build algorithms while manipulating and composing functions.

What you will learn

  • Quickly and effectively represent data and calculations using Clojure
  • Use Clojure's basic language tools such as laziness, immutability, and firstclass functions to solve real-world problems
  • Explore mathematical derivatives to generate different wave forms
  • Get acquainted with the advanced approaches to calculating and transforming data, and building algorithms
  • Use Clojure's functions to access, update, and compose data structures
  • Be introduced to the concept of sideeffecting behavior and the different ways to handle it
  • Compose simple and exponential functions together to get a buy or sell signal

About the Author

Timothy Washington is a senior software developer with over 15 years of experience in designing and building enterprise web applications from end to end. His experience includes delivering stable, robust software architectures to organizations ranging from start-ups to Fortune 500 companies. His skills include managing agile projects, systems analysis and design, functional programming, DSL and language design, and object-oriented design, with contributions to the open source community.

Table of Contents

  1. Orientation – Addressing the Questions Clojure Answers
  2. First Principles and a Useful Way to Think
  3. Developing the Simple Moving Average
  4. Strategies for Calculating and Manipulating Data
  5. Traversing Data, Branching, and Conditional Dispatch
  6. Surveying the Landscape
  7. Dealing with Side Effects
  8. Strategies for Using Macros
  9. Building Algorithms – Strategies to Manipulate and Compose Functions

商品描述(中文翻譯)

主要特點



  • 運用Clojure程式語言進行金融分析和建立金融應用程式

  • 使用高階數學抽象化,無需實作金融操作的低階程式碼

  • 透過實際案例引導,實作金融分析和Clojure金融應用程式

書籍描述


Clojure是一種強調函數式程式設計的動態程式語言。由於它是一種函數式程式語言,Clojure非常適合金融建模。這類程式語言可以幫助開發人員使用高階數學抽象化,而無需實作處理算術運算的低階程式碼。


本書從有效地表示資料和計算的重要性開始,引導讀者逐步掌握金融分析和建立金融應用程式的能力。


首先,我們介紹計算和金融的概念,幫助您了解Clojure在許多領域,特別是金融領域中解決實際問題的用途。接下來,我們將展示如何使用更高級的partition Clojure資料轉換函數來開發簡單移動平均函數。這個函數以及其他函數將用於計算和操作資料。


然後,您將學習實現稍微複雜的方程式,如何遍歷資料,以及如何處理分支和條件分派。接著,我們介紹副作用及其各種方法,以及如何使用資料作為與其他系統的介面策略。最後,您將發現如何在操作和組合函數時建立演算法。

您將學到什麼



  • 使用Clojure快速有效地表示資料和計算

  • 使用Clojure的基本語言工具,如惰性、不可變性和一級函數,解決實際問題

  • 探索數學衍生物以生成不同的波形

  • 瞭解計算和轉換資料的高級方法,以及建立演算法

  • 使用Clojure的函數存取、更新和組合資料結構

  • 介紹副作用行為的概念及處理方法

  • 組合簡單和指數函數以獲得買入或賣出信號

關於作者


Timothy Washington是一位資深軟體開發人員,擁有超過15年的從頭到尾設計和建立企業網路應用程式的經驗。他的經驗包括為從初創公司到財富500強企業提供穩定、堅固的軟體架構。他的技能包括管理敏捷專案、系統分析和設計、函數式程式設計、DSL和語言設計,以及物件導向設計,並對開源社群做出貢獻。

目錄



  1. 導論 - 解答Clojure的問題

  2. 基本原則和有用的思考方式

  3. 開發簡單移動平均

  4. 計算和操作資料的策略

  5. 遍歷資料、分支和條件分派

  6. 調查現況

  7. 處理副作用

  8. 使用巨集的策略

  9. 建立演算法 - 操作和組合函數的策略