Skip to content

SarthakV7/Artificial-intelligence-for-trading

Repository files navigation

AI for Trading

This repo contains my work to Udacity nanodegree AI for Trading.

Table of Contents

1. Trading with Momentum. Project

2. Breakout Strategy. Project

  • Learn about the overall quant workflow, including alpha signal generation, alpha combination, portfolio optimization, and trading.

  • Learn the importance of outliers and how to detect them. Learn about methods designed to handle outliers.

  • Learn about regression, and related statistical tools that pre-process data before regression analysis. Learn commonly-used time series models.

  • Learn about stock volatility, and how the GARCH model analysis volatility. See how volatility is used in equity trading.

  • Learn about pair trading, and study the tools used in identifying stock pairs and making trading decision.

3. Smart beta and portfolio optimization. Project

4. Alpha Research and Factor Modeling. Project

5. Intro to NLP. Project

NLP pipeline consists of text processing, feature extraction, and modeling.

  • Basic NLP Analysis: Learn quantitatively measure readability of documents using readability indices, how to convert document into vectors using bag of word and TF-IDF weighting, and metrics to compare similarities between documents.

6. Sentiment Analysis with Neural Networks. Project

  • Neural Network Basics: Learn maximum likelihood, cross entropy, logistic regression, gradient decent, regularization, and practical heuristics for training neural networks.

7. Combining Signals for Enhanced Alpha. Project

  • Decision Tree: Learn how to branching decision tree using entropy and information gain.

  • Model Testing and Evaluation: Learn Type 1 and Type 2 errors, Precision vs. Recall, Cross validation for time series, and using learning curve to determine underfitting and overfitting.

  • Random Forest: Learn the ensemble random forest method.

  • Feature Engineering: Certain alphas perform better or worse depending on market conditions. Feature engineering creates additional inputs to give models more contexts about the current market condition so that the model can adjust its prediction accordingly.

  • Overlapping Labels: Mitigate the problem when features are dependent on each other (non-IID).

  • Feature Importance: Company would prefer simple interpretable models to black-box complex models. interpretability opens the door for complex models to be readily acceptable. One way to interpret a model is to measure how much each feature contributed to the model prediction called feature importance.

8. Backtesting. Project

  • Basics: Learn best practices of backtesting and see what overfitting can "look like" in practice.

  • Learn how to optimization a portfolio with transaction cost. Learn some additional ways to design your optimization with efficiency in mind. This is really helpful when backtesting, because having reasonably shorter runtimes allows you to test and iterate on your alphas more quickly.