Python Programming in Finance

Location: Room 223A, 德田館
Time: 1900-2200


``In the business world, the rearview mirror is always clearer than the windshield.''
-- Warren Buffett

Instructor information

Objectives

I collect organize informative materials for program trading (also as my study note). I wish we could accomplish the following items:

Prerequisites

Text

Overview

Python crash course

[IP ch.2-6]

Data preprocessing

[PFF ch. 6-7; PDA ch. 5-7]

Data visualization and technical analysis

[PFF ch. 5; PDA ch. 8 and 10]

Mathematical tools and time series analysis

[PFF ch. 9-11; DSS ch. 5 and 7]

Financial models

[PFF ch. 15-17; DAP ch. 4-5, 7-10, 12]

Model calibration and dynamic hedging

[PFF ch.19; DAP ch. 11 and 13]

Performance issues

[PFF ch .8]

Machine learning

[DSS ch. 11-19]

Installation & Wi-Fi

Schedule [ 298, 300, 305 ]

Date Summary
2018.10.13
2018.10.17
  • second lecture: python fundamentals
    • slide link: download
    • objects: ... everything is an object.
    • strings with format 2.0
    • file I/O and with-as
    • scripts, modules, imports
  • third lecture: data structures
    • slide link: download
    • looping techniques: zip, reverse, sorted
    • list/dictionary/tuple/set comprehension
  • fourth lecture: functions
    • slide link: download
    • built-in functions in Python 3.7.x
    • user-defined function
    • variable scope
    • default parameters
    • positional/keyword arguments
    • variadic positional/keyword arguments
    • first-class functions: ... functions are objects.
2018.10.20
2018.10.24
2018.10.27 (class suspended due to personal excuse)
2018.10.31
2017.11.3
2018.11.7
2017.11.10
2018.11.14
2018.11.17

Sample code

Gradebook

References

Python programming

Financial markets and trading systems

Volatility

Quantitative methods in finance and economics

Machine learning

Optimization

Blockchain

Misc