Enthought Home
Enthought Training

Python for Quants

Registration  |  General Course Information

Based on our popular Python for Scientists and Engineers course, Python for Quants is geared toward financial analysts who would like to learn how to use Python in their day-to-day work. Exercises include filtering and plotting an array of Dow Jones closing data, calculating options pricing using Black-Scholes models, estimating volatility using GARCH, and using a Monte Carlo simulation to calculate an option price.


Target Audience

Practical data processing topics form the meat of the course, but some more involved development topics (UIs and interactive plots) are also covered. Programming experience in some language (C, VB, Fortran, Matlab) is expected. Experience with C, C++, and/or Fortran is useful for some topics. Object oriented programming skills are not necessary but will be helpful. Knowledge of calculus, statistics, and optimization, are all valuable but not absolutely required.


Course Topics

Day 1
8:30 am to 5:00 pm

Python

The first day is devoted to understanding how to think in Python. We start by demonstrating the IPython interactive environment and how it can be used for rapid application development. The pace of this day is determined by previous exposure to Python. Even experienced Python programmers report learning new ideas from the experts that teach this course.

  • Data-types (strings, lists, dictionaries, files)
  • Syntax and language structure
  • Creating and importing modules
  • Reading and writing files
  • Overview of the standard library
  • Introduction to object oriented programming

Day 2
8:30 am to 5:00 pm

NumPy

On the second day, the NumPy extension module to Python is exposed as a tool for rapidly manipulating and processing large data-sets.

  • Basic operations and manipulations on N-dimensional arrays
  • Understanding the N-dimensional data structure
  • Using vectorization to process arrays with implicit loops
  • Understanding slicing and broadcasting
  • Dealing with large data-sets
  • Working with "structured" arrays
  • Reading and writing data
  • Filtering and plotting an array of Dow Jones closing data

Day 3
8:30 am to 5:00 pm

SciPy and extension modules

  • Overview of SciPy with examples chosen according to attendees' needs (interpolation, curve-fitting, optimization, etc.)
  • Creating Extension modules
  • Interacting with other languages: Weave, Cython, SWIG, f2py
  • Calculating options pricing using Black-Scholes models
  • Estimating volatility using GARCH
  • Calculating implied volatility for Black-Scholes models
  • Using a Monte Carlo simulation to calculate an option price