Trading With Python (курс по библиотеке)
Курс основан на библиотеке TradingWithPython, которую свободно можно скачать на GitHub, однако для этой библиотеки не существует инструкции в свободном доступе, что хотелось бы исправить.
Курс на английском.
The course focuses as much as possible on hands-on examples of real problems involved in quantitative trading. We will start with setting up developing environment and getting historic price data. After that we will backtest a couple of typical trading strategies. A final part of the course focuses on automated trading through Interactive Brokers API. Theoretical part (math & computer science) will be kept to a minimum and only treated where needed.
Part 1: Basics
Before taking the course you will set up your own Python environment and get a basic feel of the language. This part of the course is freely available. We will jump right in and use two case studies to get accustomed to working with scientific tooling.
- Why Python
- Setting up Python environment
- Python basics
- Writing, running and debugging code.
- Introduction to Numpy
- Plotting with matplotlib
- Monte-carlo simulation of leveraged etfs.
Part 2 : Handling the data
Before we start with the fun part of strategy development we need to collect and sort price data. This week is about getting the data from various sources. To spice it up with a test case, we will download the entire S&P500 universe daily prices from yahoo finance.
- Introduction to Pandas
- Working with times and dates.
- Reading and writing CSV files
- Reading excel files
- Reading HDF5 files
- Getting data from the web (Yahoo finance, CBOE, etc)
- Seasonality of SPY: is there an edge based on day of the week?
- Get entire S&P500 universe history and save it to a database.
Part 3 : Backtesting strategies
This is the fun part, which is only limited by your own creativity. We will go through several strategy test cases.
- Calculating pnl and performance metrics : sharpe en drawdown
- Simple momentum strategy using moving averages
- Permanent portfolio strategy
- XLP strategy
- Pairs trading strategy (building a neutral spread and backtesting it)
- Volatility strategies
- Leveraged ETFs strategy
Part 4: Going live!
The final thing you need for building an automated trading system is a connection to a broker. This week we will focus on using Interactive Brokers API for receiving real-time data and submitting orders.
- Connecting to Interactive Brokers with ibpy
- Downloading historic intraday data
- Getting real time stock data
- Placing orders
Q: Is this course up to date?
A:The latest major update was done in 2016, when the course material was extended and updated to Python 3 version. Currently I”m working on a completely reworked version that will be released somewhere in 2017. Of course current subscribers will get access to the new version.
Q. How much does this course cost?
A.Course fee is $95 or €90
Q. Is this course content heavy?(i.e. assignments” deadlines, coding, reading materials, etc)
A. There are no deadlines, you can do the course on your own pace. Four weeks should be enough to complete first three parts of the course based on 16 hr/week study. The last part is more complex and will require different amounts of time depending on your programming experience. There will be video and/or reading material with example code. Take your time to understand the code and use the concepts for your own tasks.
Q. Will you be going through some trading strategies?
A. Yes, several typical trading strategies will be used as examples. We will take a look at a moving averages (momentum), mean reversion and pairs trading.
Q: What is included?
A:Below is a full list of included notebooks
twp_301 Performance metrics
Next to that, there are several examples on integrating with Interactive Brokers API
Q. Will the presented strategies be profitable in real trading?
A. Most probably not. Many will not be even profitable in backtest. The goal of the course is to learn how to develop your own strategies.
Q. Will there be some form of (after course) support?
A.Currently the course is offered without support, but arranging extra support is possible. Please contact me for details.
Q. Could you write an example for my trading strategy or something not included in the course material?
A.Only if you subscribed to a supported version of the course.
Q.I have coded this strategy and it runs without errors. Still I”m unsure that all calculations are correct. Could you verify my code for correctness?
A.Unfortunately this is a very difficult task, involving understanding and repeating all calculations step-by-step, which is essentially the same as rewriting the code from scratch. This is beyond the scope of course related support.
Q.Can I download and keep the course materials?(i.e. notes, video lectures, codes, etc.)
A.Yes you can keep everything. You will also have lifetime access to the course material on the site. A kind request to keep the premium content for your own use.
Q.Is there anything you can suggest that I do in order to maximize the learning benefits?
A.I believe that learning by doing is the most effective way. Decide on what your own applications are going to be (building a database, backtesting an idea, getting data from the web etc.) and reserve enough time for experimenting.
Автор: Jev Kuznetsov
Год выпуска курса: 2017
Сколько весит курс: 129 Мб
- Файлов 21
- Видео 22 минут
- Объем 124.4 магабайт
- Источник: показать
- Уже купили 3061
- Сертификат об окончании
- Пожизненный доступ