Developing Financial Applications in F#
Offered By: LinkedIn Learning
Course Description
Overview
Learn to develop simple financial applications with F#, like the Twitter bot featured in this course.
F# is a functional-first programming language developed by Microsoft and used extensively in financial analysis and financial applications. F# expert developer Kit Eason steps you through the process of developing a simple F# financial application: a Twitter bot that charts stock price changes and respond to tweets with some simple descriptors of the stock performance, including gain/loss and highs/lows. Along the way, you'll learn the basics of F# syntax, including values, arrays, functions, and expressions, and how to test your code, analyze and chart third-party data. The lessons also provide a primer to concepts like test-driven development and railway-oriented programmingâbest practices for any F# development workflow.
F# is a functional-first programming language developed by Microsoft and used extensively in financial analysis and financial applications. F# expert developer Kit Eason steps you through the process of developing a simple F# financial application: a Twitter bot that charts stock price changes and respond to tweets with some simple descriptors of the stock performance, including gain/loss and highs/lows. Along the way, you'll learn the basics of F# syntax, including values, arrays, functions, and expressions, and how to test your code, analyze and chart third-party data. The lessons also provide a primer to concepts like test-driven development and railway-oriented programmingâbest practices for any F# development workflow.
Syllabus
Introduction
- Welcome
- Target audience and prerequisites
- Exercise files
- Working with software updates
- Defining values and calling functions
- Discriminated union and pattern matching
- Record type and arrays
- Forward piping
- Array mapping and iteration
- If-else expressions
- Exception handling
- Option types
- The bot and type signatures
- Visual F# Power Tools and NCrunch
- Install NUnit
- Write a trivial NUnit test
- Write a real test
- Write a parser
- Refactor tests
- Handle unhappy paths with generic discriminated unions
- Test unhappy paths
- Extend and check test coverage
- Challenge
- Solution
- Recap and code tidy-up
- Introducing Quandl
- Using the CSV type provider to get data
- Wrapping the GetData function in a Choice.Result
- Challenge
- Solution
- Define a type to model a data summary
- Use collection functions to generate the summary
- Use .fsx scripts to run code experimentally
- Challenge
- Solution
- RStats and ggplot2
- Develop the chart generator
- Make a run harness for the chart generator
- Challenge
- Solution
- Create a Twitter application
- Use credentials to connect to Twitter
- React to directed tweets
- Assemble functions into a reply function
- Call the reply function
- Try the bot running locally
- Deploy the bot to Azure
- Understanding ROP
- Next steps
Taught by
Kit Eason
Related Courses
Business 101OpenLearning Diagnosing the Financial Health of a Business
Macquarie Graduate School of Management via Open2Study Основы корпоративных финансов (Fundamentals of Corporate Finance)
Higher School of Economics via Coursera Financial Analysis and Decision Making
Tsinghua University via edX Analyse Financière
First Finance Institute via First Business MOOC