Algorithmic Trading and Finance Models with Python, R, and Stata Essential Training
2h 58mIntermediate2025-01-07
Authors

Michael McDonald
Researcher and Professor of Finance at Fairfield University
Course details
Many stock market trades are conducted with algorithms, or “algos,” computer programs that buy or sell stocks according to mathematical formulas. These equity trades happen at a speed and frequency that humans cannot replicate. It's important for finance professionals and everyone who invests in the stock market to understand how these algorithms work. In this course, Professor Michael McDonald shows you how to develop a back-tested, rules-based trading strategy and program a simple trading algorithm of your own. Professor McDonald goes over the basics of securities markets, from stocks, bonds, and derivatives to predicting values with regressions, before turning to investing and securities fundamentals. Find out what it takes to build your own algorithms, as well as buy, sell, and expand them to other securities. Plus, Professor McDonald covers practical examples and case studies of trading with algorithms.
Learning objectives
Demonstrate an understanding of the fundamental concepts and applications of algorithmic trading, including market making, proprietary trading, textual analysis, and qualitative data analysis.
Develop proficiency in using Python for various tasks related to algorithmic trading, such as importing and analyzing financial data, building databases, and implementing trading strategies.
Employ R for bond trading tasks, including importing data from different sources, using the QuantMod package, performing data analysis, and conducting regressions.
Utilize Stata for investment analysis tasks, such as retrieving and cleaning currency data, developing and testing trading strategies, and performing regression analysis.
Evaluate different types of financial market data sources, including broad market data, CRSP, Compustat, and other specialized data sources, and apply appropriate strategies and techniques for data acquisition and analysis.
Learning objectives
Demonstrate an understanding of the fundamental concepts and applications of algorithmic trading, including market making, proprietary trading, textual analysis, and qualitative data analysis.
Develop proficiency in using Python for various tasks related to algorithmic trading, such as importing and analyzing financial data, building databases, and implementing trading strategies.
Employ R for bond trading tasks, including importing data from different sources, using the QuantMod package, performing data analysis, and conducting regressions.
Utilize Stata for investment analysis tasks, such as retrieving and cleaning currency data, developing and testing trading strategies, and performing regression analysis.
Evaluate different types of financial market data sources, including broad market data, CRSP, Compustat, and other specialized data sources, and apply appropriate strategies and techniques for data acquisition and analysis.
Skills covered
StataRStatisticsContent Management Systems (CMS)Corporate FinanceData VisualizationFinance and AccountingPythonEssential TrainingWeb DevelopmentProgramming LanguagesData ScienceBusiness Analysis and StrategyBusiness Software and ToolsOpen SourceSoftware Development
Concepts
0. Introduction
- 01 - Getting started with algorithmic trading and finance
- 02 - What you should know
- 03 - Disclaimer
1. The Basics of Algo Trading
- 04 - Basics of algo trading
- 05 - Market making with algos
- 06 - An algorithm example
- 07 - Prop trading with algos
- 08 - Algos in practice
- 09 - Textual analysis and algo trading
- 10 - Algorithmic trading with qualitative and text data
- 11 - Careers in algorithmic trading
2. Stock Trading with Python
- 12 - One software option - Python
- 13 - Importing data in Python
- 14 - Quandl and Python
- 15 - CSVs and Python
- 16 - Financial data and Python
- 17 - Python and building financial databases
3. R and Bond Trading
- 18 - One software option - R
- 19 - Importing data with R
- 20 - quantmod and R
- 21 - Data analysis in R
- 22 - Regressions in R
4. Investment Analysis and Stata
- 23 - One software option - Stata
- 24 - Getting currency data
- 25 - Cleaning up data for algorithms
- 26 - Strategies in currencies
- 27 - Testing strategies in Stata
- 28 - Regressions in Stata
5. Data and Trading
- 29 - Getting broad market data
- 30 - Types of data
- 31 - CRSP and Compustat
- 32 - Other financial markets data
6. Strategies, Patterns, and Wall Street
- 33 - Choosing tactics - Trading or investing
- 34 - Finding strategies in trading - Market microstructure
- 35 - Finding strategies in investing - Factors
- 36 - Risk management and stress testing
- 37 - Model aging and obsolescence
Conclusion
- 38 - Next steps and additional resources