Giter VIP home page Giter VIP logo

jrxy_python_course's Introduction

Python in Finance

Applying Python in solving practical issues in finance. Materials in this repo are designed for students taking my course 《Python在金融中的应用》以及《基于机器学习的投资分析》 浙江工商大学 金融学院.

If you have any query or would like to contribute, I would be very happy to hear from you by email [email protected].

Software

  • Python 3.*

  • Anaconda (Spyder) You can download the latest official version from here, and if you experienced a bad connection, a mirror site maintained by Tsinghua is available here. Tutorial in Chinese is available here.

    You could surely use other IDE for programming

Data source

Tentative Curriculum

Part I

  1. First Talk: What you need to prepare - Very important (slide)

Preliminary Session

  1. Numpy and matrix operations (slide and code)
  2. Matplotlib and image processing (slide and code)
  3. Pandas and data processing (slide and code)

Data Session

  1. Data base (SQL and NoSQL): MySQL and MongoDB (You can use MariaDB as an alternative of MySQL) (slide and code)
  2. API and Data Retrieval: Tushare (slide and code)

Program Session

  1. Web Crawler I: Financial News from 雪球 (slide and code)
  2. Web Crawler II: Daily stock price from 网易财经 (slide and code)
  3. Time series basic: Return, mean, variance, correlation of stock prices, visualization, etc (slide and code)
  4. Nature Language Processing: Financial sentiment analysis (slide and code)
  5. Quantative analysis: Sharpe ratio, Information ratio, Maxmium Drawnback, etc (slide and code)
  6. Statistics Tests: T test, Chi Square test, OLS (slide and code)

Part II

Case Study

  1. Bond Pricing

  2. Porfolio Management (slide and code)

ML Session

  1. Basic

    1. Learning Regression
    2. Logistic Regression
  2. Unsupervised Learning:

    1. K-means Clustering -- feature detecting
    2. Genetic Algorithm -- early warning
    3. Self-Organizing Map
  3. Supervised Learning:

    1. Naive Bayes Classifier (slide and code)
    2. Decision Tree (Find the best indicator)
    3. K-nearest neighbor
  4. Reinforcement Learning:

    1. Multi-Arm Bandit (portfolio selection)
    2. Q-learning
  5. Nature Language Processing:

    1. Financial sentiment analysis

jrxy_python_course's People

Contributors

xinihe avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.