강의

멘토링

커뮤니티

BEST
Business & Marketing

/

Management

Building a stock price backtesting system using Python

This lecture is a comprehensive course that covers the entire process of stock backtesting using Python from start to finish.

(4.6) 14 reviews

266 learners

  • choi2505
Python
MySQL
Pandas
Anaconda
Visual Studio Code

Reviews from Early Learners

What you will gain after the course

  • You can go a little further with basic Python syntax.

  • Learn the basics of using MySQL and MySQL Workbench.

👩‍💻 From building a backtest database to writing a library !
Learn how to write and implement algorithms carefully .
👨‍💻

Lecture Introduction 📝

In this lecture, we'll use Python to build a backtest database and create a backtest library that allows you to backtest your own algorithms. (This isn't an algorithm lecture on buy and sell signals!)

As you'll see in the section on creating buy and sell signals, there's a lot more to consider when developing a trading algorithm than you might think. While there are certainly many excellent packages for backtesting, achieving a high degree of freedom requires developing your own backtesting program or possessing a significant understanding of backtesting libraries. For that reason, I've created my own backtesting program to ensure that after taking this course, you can implement everything you imagined.

Above all, I hope that after taking the course, you will learn to treat your own data critically !

What you will learn in this course ✏️

In this lecture...

1 Learn basic SQL statements while building your own database (MySQL) .

2 I think those who have just finished learning Python will feel more confident in Python if they listen to this!
(The course is structured so that you can take it even after completing only the basic Python grammar .)

3. I hope that as you take the course with me, you will learn that although writing an algorithm that performs backtesting may seem simpler than you think, there are many things to consider.

4 Learn how to create a basic GUI using Python, and how to use matplotlib, pandas, and mysql-connector-python .

Lecture Features 💡

The lectures were written with a focus on practical training as much as possible, and the entire lecture is organically connected, so I hope you will follow along and proceed.

Please check before taking the class! ✔️

We are sorry, but we are unable to answer questions related to the lecture .
Please take this into consideration when purchasing.

Lecture Preview 📖

In total, we create two GUIs (graphical user interfaces).

• The program below updates our MySQL database.

• The program below is a program that performs backtesting.

Tools covered here 🧰

  • Anaconda manages Python and virtual environments
  • MySQL and MySQL Workbench
  • Visual Studio Code
  • Xing API, Dev Center (ebest Investment & Securities)
  • Creating a GUI using QtDesigner
  • Packages used: pandas, Matplotlib, Mysql-connector-python, TA-lib, PyQt5

Expected Questions Q&A 🙋🏻‍♂️

Q. How much weight is given to trading algorithms in the course?
A. This course will focus almost entirely on trading algorithms. Its purpose is to teach beginners how to build a stock price database and how to write a backtesting program.

Q. Can I immediately apply my own backtesting algorithm after taking the course?
A. It depends on your level of understanding, but I personally believe that if you fully understand this lecture, you'll be able to begin backtesting your own algorithm. However, as I've repeatedly emphasized throughout the lecture, even simple-looking trading algorithms require considerable attention to detail when actually developing a program.

Q. Is it okay to follow the lecture even if I don't have a high level of understanding of Python syntax?
A. Yes, I tried to cover the basic grammar so that as many people as possible can understand it, and I also organized the parts that may be confusing since I just finished learning Python grammar.

Recommended for
these people

Who is this course right for?

  • For those who have just finished learning Python grammar and are at a loss as to what to do

  • For those who want to start backtesting with Python

Need to know before starting?

  • Basic Python Grammar

Hello
This is

취미로 얕게 넓은분야를 공부하는것을 좋아하는 대학생입니다!

Curriculum

All

56 lectures ∙ (13hr 59min)

Course Materials:

Lecture resources
Published: 
Last updated: 

Reviews

All

14 reviews

4.6

14 reviews

  • Junho Lee님의 프로필 이미지
    Junho Lee

    Reviews 2

    Average Rating 5.0

    5

    100% enrolled

    이 강의는 최고의 강의입니다. 정말 자유도 높은 백테스팅을 구현하고 싶으신 분이면 이 강의는 필수로 들으시는걸 추천드립니다. 파이썬을 처음 접해보거나 Mysql을 처음 접해보시는 분도 수강 가능합니다. 저는 파이썬을 어렴풋이 알고 Mysql은 한번도 해본 적이 없었지만, 강사님이 알려주신걸 따라가다보니 완강 할 수 있었습니다. 엑셀로 하는 백테스팅의 한계를 절감하시는 분들께 이 강의는 해답이 되지 않을까 생각합니다. 끝으로 강사님, 이런 저렴한 가격에 이런 고퀄리티 강의를 제공해주셔서 너무 감사 드립니다.

    • domskl님의 프로필 이미지
      domskl

      Reviews 1

      Average Rating 5.0

      5

      21% enrolled

      관련 내용 처음에 혼자 공부하려고 했을땐 되게 막막했는데, 이 강의에서 기초부터 차근차근 가르쳐줘서 정말 큰 도움이 됐습니다. 특히 순차적으로 물흐르듯이 따라가기만 하면 되도록 강좌를 구성해놓으셔서 더 쉽게 배웠던 것 같네요. 매우 추천하는 강의입니다.

      • captainsolo님의 프로필 이미지
        captainsolo

        Reviews 2

        Average Rating 2.5

        4

        71% enrolled

        제가 연령대가 있는 수강자 임에도 불구 하고 어렵다 라는 느낌은 없었던 좋은 강의 였습니다. 강사님이 전체적으로 아주 쉽게 설명 해주실려고 하셨고 딕션도 나름 정확하게 해주실려고 노력을 많이 하시는것 같았습니다. 아쉬운 점은 동영상 녹화시 너무 큰 화면을 이용하셔서 코드를 보기가 쉽지 않았고 질문 피드백이 만족 스럽지 못했다 는게 단점으로 생각해서 별 하나는 빼고 점수를 드렸습니다. 하지만 여타 환경상의 문제 외는 백테스트 라는 녀석을 하기 위한 초석은 여기서 잡게 되어 너무 좋았습니다. 앞으로는 좀더 세세한 동영상 환경에서 피드백이 잘 이루어지는 컨텐츠를 개발 해주시기를 바라고 만약 강의가 나온다면 100% 강의 할것입니다

        • 한선규님의 프로필 이미지
          한선규

          Reviews 1

          Average Rating 3.0

          3

          100% enrolled

          강의 내용은 좋은 듯 합니다. 글자가 너무 작고, 코드 공유 안되는 게 학습에 큰 어려움이 있네요. 다른 강의 및 책들은 대부분 코드 공유하는데 아쉽습니다. 강의를 따라하면서 실행이 안되면 강사님 코드 보면서 뭘 잘 못 기입했나 하면서 봐야 되는데 강의를 매번 돌려가면서 파악해야 합니다. 특히나 지난 회차 강의는 특히나 찾아 보기 어렵네요. 다른 분도 코드 공유 요청하셨지만 코드 누출 여부 때문에 어렵다고 하신 부분 봤지만... 공감하기 어렵네요. 아니면 강의가 편하게 편집되어 있었으면...이런 요청도 없을 테지만요.. 아쉽습니다. 그래도 꼭 필요한 강의라서 완강하고 열심히 듣겠습니다.

          • choi2505
            Instructor

            죄송합니다. 처음 찍었던 강의라 부족한 부분이 많았던 것 같습니다. 다음에 혹시 강의를 찍게 된다면 코드도 공개하고 더 큰 폰트로 촬영하도록 하겠습니다.

        • 지주영님의 프로필 이미지
          지주영

          Reviews 1

          Average Rating 5.0

          5

          100% enrolled

          백테스팅 구축하고 싶어서 수강했습니다. 많은 도움이 될 것 같습니다. 감사합니다.

          Similar courses

          Explore other courses in the same field!