dbt, 데이터 분석 엔지니어링의 새로운 표준
DeepingSauce
데이터 웨어하우스(DW)의 반복적인 파이프라인 관리, 이제 dbt로 그 고통의 굴레에서 해방되세요! dbt가 제공하는 효율성 위에서, 비즈니스 중심의 데이터 모델링, 효과적인 데이터 생애 주기 관리 등 더 높은 가치를 창출하는 데이터 분석 엔지니어로 거듭나세요.
초급
빅데이터, 업무 생산성, 데이터 엔지니어링
In this class, you will learn about the principles and methods of analyzing and processing various types of financial data using Python's Pandas library, apply them to situations you may encounter in the real world, and ultimately learn how to implement backtesting based on financial statement data (based on Kang Hwan-guk's book, "You Can Do Quant Investment"). As a result, you can break away from being a "passive investor" who simply follows what others say without verifying or basing the investment logic, and become a "self-directed and active investor" who can freely extract various elements necessary for strategy implementation from data and quantitatively analyze them using Python and Pandas.
1. How to use and basic operating principles of Python's Pandas library developed for financial data analysis/processing
2. How to analyze various forms of financial data and how to transform the data into a form for testing strategies.
3. Examples of financial data that can be encountered in real life and techniques that are absolutely necessary for implementing backtesting.
4. Principles of visualizing data in Python and how to understand data more intuitively through this
5. Principles of vectorized backtesting implemented with Pandas and things to watch out for when backtesting
6. Real-life project: Implementing Kang Hwan-guk’s ‘You can do it! Quant investment’ strategy
Invest in stocks smartly & strategically!
Take on the challenge of data-driven investing with Python!
Full curriculum roadmap
Get 30% off all Roadmap lectures (click)
Individual course discount event (up to 30%)
Go to the event (click)
Most of you interested in this course likely have some experience with stock investing. While some may have made significant profits, most have likely experienced significant losses or been caught up in a series of stocks, often against their will. While everyone's investment preferences and environments may vary, the reasons for investment failures may seem diverse. However, the reasons often appear to be somewhat consistent. This is especially true for beginners, often referred to as "ju-rin-i." What do you think are the reasons?
Humans are inherently vulnerable to investing. Even if we make a firm decision with unwavering determination, even the slightest change in our knowledge or surroundings can cause us to become psychologically unstable. We tend to only accept information that favors our thinking and judgment, or we tend to hypnotize ourselves into believing that our judgment is infallible. This happens instinctively, regardless of our will . This may be due to an unwillingness to experience the sense of defeat that comes from admitting loss, but more importantly, it's likely due to a lack of clear investment criteria or alternative options . So, how do those who invest based on such instincts fare in the stock market? Below are excerpts from reactions in stock market forums and KakaoTalk groups during past market downturns:
“Do you all have your mental strength left?”
“I can’t focus on work because of the stocks at work 😭... Why is it falling like this...”
“Why is it that only the things I buy go down in price? 😭 Everything I sell goes up the next day...”
“I ended up with about 10 million won today... I think it’s time to start saving up little by little...”
“Seeing everyone organizing, I think I can buy a little bit at a time...”
"Is there anyone who entered the market hoping for a rebound tomorrow when the price breaks below 2100?"
"I had some fun with inverse trading, but now it seems like it's bottoming out, so I went with leverage and lost money... I'm not even going to look at it for a while. I don't know if it'll work out, but..."
“It’s a small return, but I’m getting out of it with the consolation that I avoided losses while the index was being destroyed 😭”
“I was supposed to go in today, but my mental state was broken, so I thought this was it, so I gave up 😭😭”
"I held back tears and cut my 20% loss. I'll come back to buy in five years..."
“I was going to hold on to it, but I couldn’t hold on any longer and ended up requesting a refund today😆😆 I only invested in index funds, but I lost about 20%...”
"I just closed half of my position... I'm cutting my loss by 5%. I'm still hesitating about what to do with the remaining half."
"With a 40% loss, I'm psychologically over the cut-off line and just waiting to see. It'll go up someday... Whew..."
“I thought I should cut my losses when the rate was minus 7%, but I couldn’t cut my losses because it seemed like it would be the lowest point at the time.
When it hit minus 10%, I thought it was time to cut my losses, but other stocks were falling so quickly that I had no choice but to let go and watch.
When it hit minus 15%, I thought it was the real bottom, so I took a risk.
I can't cut my losses because I feel bad about the stocks I thought were blue chips now that they're down over 25%.
Even if it falls further, I guess I have no choice but to live with it as my destiny.”
How was it? It probably sounds like someone else's story. Investment methods without clear standards or foundations, like the one mentioned above, will only lead to greater confusion and even greater losses when similar situations arise in the future. Regardless of the reason, persistent losses will only make us increasingly anxious, and in extreme cases, it can feel like the market is always moving against our expectations. Because humans are still more influenced by emotions than reason, we're likely to repeat the same mistakes, ultimately leading to the loss of all our hard-earned money. Many of you are probably worried about this vicious cycle and wondering how to proceed with your investments going forward.
Does that mean we really study investing? I don't think so. It's quite ironic. The passion and attitude we used to diligently study day and night to prepare for college entrance exams and land a job at our desired company vanish in the face of the stock market, replaced by speculative trading fueled by greed and desire . Without a thorough understanding of the market or stocks, we simply stare at charts that have no chance of rising, constantly agonizing over which stocks are good and when to enter. In a way, this is a place where we need to prepare for challenges far beyond our own, taking a much longer-term approach and adopting a slightly different approach to survive.
If you have experienced or are still experiencing the instinctive(?) investment as mentioned above and do not have any special plan in mind, how about trying data-based stock investment with Python together? Through this class, we will learn about “computers (programming)” that are more cool-headed, mechanical, and smarter than humans. With this in mind, I'll be using your skills to develop data-driven, systematic, and evidence-based investment habits . For those who struggle day after day, investing their hard-earned money without thorough preparation or a trusted advisor, or for those who have tried everything but struggle because Excel is the only tool they know how to use, this course will use the Python programming language to help you break free from bad investment habits and build a foundation for smart investing .
How satisfied are you with your current investment approach?
Are you investing based on emotions and without clear, objective criteria?
As we enter 2020, more than 44 zettabytes of data are generated globally every day. Consequently, the value of data is increasing, and decision-making processes based on it are becoming increasingly important. Programming skills to extract insights from massive amounts of data and perform modeling are becoming a fundamental requirement.
In this day and age , is Excel still a powerful data analysis tool? Not only is Excel complex and cumbersome for processing and automating data exceeding hundreds or thousands of megabytes, but compared to programming languages, it requires a relatively large amount of time and effort to produce the same output. Furthermore, it's extremely difficult to record and organize the analysis process leading to specific results.
However, with the Python programming language , a variety of analyses and diagrams are possible with just a few lines of code. Python's rich library of data analysis tools allows for easy processing and analysis of any type or volume of data, providing an interface that easily organizes and presents the problem-solving process. Furthermore, it can be easily extended to create a single, end-to-end program (or application). Due to this appeal, even the banking and finance industries, known for their extreme conservativeness, have long since begun to use Python to replace Excel.
Python's popularity continues to grow. Its rise to the top of the programming language rankings, surpassing other languages, is largely attributed to the library Pandas . Pandas is a Python library that facilitates any analysis of two-dimensional structured data . Originally designed to facilitate the handling of financial data, it is optimized for financial data analysis more than any other existing tool. I myself use Pandas primarily for analyzing structured data in various fields, and I actively use it in my finance and stock trading projects, where the majority of my code is written in Pandas, reaping the benefits. Recently, Pandas-based libraries that support distributed processing across various computing environments and further enhance operational performance have been emerging, further solidifying Python's position as the definitive data analysis tool.
In this course, you'll learn how to utilize the Pandas library to analyze and process various types of real-world financial data, from extracting investment targets from annual financial statement data, backtesting them, and graphically displaying the results . We'll also explore precautions and ways to improve upon these strategies for more realistic backtesting. This course will provide a valuable opportunity to develop "data-driven investment strategies" for investors who, without the experience to personally verify their strategies, invest in stocks favored by others or simply rely on intuition, as well as those who seek a more quantitative and systematic analysis of corporate value . Furthermore, for those who have memorized Excel functions and macros but struggle to understand how to handle new data, this course will offer a chance to experience the new world of Pandas.
In an era where coding and programming skills are essential, Pandas can be an excellent choice for quickly and effectively analyzing and utilizing the overflowing data. Furthermore, gaining experience in data analysis using Pandas can serve as a great starting point for becoming more familiar with the unfamiliar world of Python. Python's popularity, vibrant community, low learning barrier, diverse libraries, and, most importantly, Pandas, optimized for financial data analysis and processing—all of these are already ready and waiting for you. With these tools, you'll be able to perform a variety of analyses on any financial data, and even backtest your desired investment strategies with complete freedom. All you need to do is prepare yourself to embrace it. This course will be a valuable asset far more valuable than two Samsung Electronics shares ( ≈ ₩100,000) . Why not start now?
Stock investors will be divided into two groups going forward.
Those who know Python vs. those who don't.
When you use Python for data-driven investing,
It can protect not only your mental health but also your valuable assets.
If you know how to handle Pandas,
Your perspective on the world changes.
Q. What are the differences between this online course and previous offline courses?
Q. Can you also share strategies for making money in your lectures?
Q. Are high-frequency trading strategies like scalping and short-term swing trading included in the course content?
Q. To become a quant, do I need to know everything about mathematics/probability/statistics, including concepts like risk, alpha, beta, and factor models?
Q. Just because past investment data has proven its performance doesn't mean it will perform well in the future, right?
A. The answers to the above questions are covered in detail in ' 6. FAQ ' of ' Section 0. Orientation '.
Q1. Is any prior knowledge required? I've only read a Python grammar book once. Will I be able to follow along? Do I also need to know about stock financial statements?
A1. This course is for those who have some familiarity with programming concepts and the basics of Python . If you are new to Python, I recommend taking my introductory course, ' Anyone Can Learn Python (Click to go) ' (If you are just starting out with Python, why not take this course quickly to review?) Also, since you will be analyzing financial statement data and creating strategies based on it, it is helpful to have knowledge of indicators frequently used in investment (PER, PBR, etc.) (but it is not required ).
Q2. Is the main focus of this course trading or data analysis?
A2. If I had to be specific, I'd say this course focused more on "financial data processing and analysis." While developing my own investment system, the area I spent the most time and effort on was, "How can I quickly and easily process financial data, which represents the same information but has various forms, to fit my desired strategy ?" Initially, I didn't prioritize this aspect. My top priority was quickly implementing programs and strategies that would allow me to buy and sell at any given time. Therefore, I built the system using my limited programming knowledge. Consequently, implementing new strategies often required extensive revisions to the existing code. I kept encountering obstacles along the way, and after much googling, I finally concluded that " data preprocessing" and " removing potential discrepancies in real-world applications (e.g., processing past data to avoid looking into the future) were the most important. I believed that if I could solve this problem, many other aspects could be implemented with less effort. Ultimately, I adopted Pandas to create a realistic and robust investment system. You can think of the content of this class as a curriculum that has been compiled from the experiences I have had during this process .
Q3. Do you actually make data-driven investments?
A3. I'm actually implementing the strategies I developed based on the content covered in this course , and I'm personally seeing satisfactory results. The course content focuses on the elements I found most challenging and the tools I found most useful in developing my investment system. Therefore, every single piece of information and technique covered in this course is applied seamlessly within my investment system. Therefore, I believe the course content is highly credible, and with just a little bit of practical application, I'm confident you'll gain the fundamentals and skills to freely create your own investment strategy.
Q4. There's a lot to build if you want to create an investment system. I'm still a Python beginner, so it'll probably take at least a year to build it. Isn't that too late?
A4. Anyone who tries to do everything at once will feel overwhelmed and frustrated. I've been working on this for over two years now, and I haven't even completed half of the system I ultimately want to build. I'm still steadily adding, testing, and verifying new features. If you were planning to invest for a year or two and then leave the stock market, I wouldn't have anything to say. However, for the average retail investor, who plans to invest for the rest of their lives, the mindset of "I need to quickly complete all the groundbreaking tools I'll use for the next few decades" is similar to the mindset of "I need to hit the jackpot with stocks and make a fortune quickly." From this perspective, the most important thing is to program each essential part of your current investment process, step by step. For example, if your strategy involves trading only one or two stocks, with ample time between buys and sells based on conditions and infrequent cycles, there's no need to build a system that automatically buys and sells through a brokerage API first. This will most likely work well with the ordering function of HTS or MTS, or even by manually placing a buy/sell order. The important thing is how the (financial) data is (pre)processed during this process . There is a huge difference in productivity, and Pandas will greatly help you speed up your work and improve the quality of your work.
Q5. If this is Part 1 of the course, is there also a Part 2 class? What does Part 2 cover?
A5. Part 1 covers the basics of Pandas, applying it to various financial data, focusing on financial statement data , and even learning how to perform simple backtesting using it. Since this lecture (Part 1) is the first lecture, it may feel a bit introductory. Part 2 will cover Pandas techniques that focus on time-series price data (OHLCV) data , and based on this, we will cover static and dynamic asset allocation strategies that require adjusting weights at various periods (monthly rebalancing, 60:40, all-weather, VAA, DAA, etc.) . In addition, we will delve into how to utilize various types of return data (e.g., log return) and implement evaluation indicators related to backtesting (e.g., annualized return, Sharpe, MDD, CAGR, Std) .
Q6. After attending the lecture, I feel like I'm getting better at handling financial data. But obtaining financial data is also a lot of work. 😭 What should I do?
A6. As mentioned in the orientation, data collection and processing is the most difficult and time-consuming task. We also offer a class that teaches you how to freely retrieve and automate the data you need from various sources: Python Web Crawling & Automation to Replace Your Work (click here).
📚 We've prepared this orientation video with as much care as the course content itself. While it's a bit long, it covers the direction and purpose of not only this course but also future courses, and covers topics you might be curious about. Let this orientation spark your desire to learn!
📚 No more one-man lectures where the instructor stands in front of students! Classes where everyone understands the principles and works together! Shall we get started now?
Who is this course right for?
Anyone who wants to freely analyze various structured data as well as financial data using Pandas
Anyone who wants to learn not only the basic functions of Pandas but also the hidden powerful functions along with the principles
Anyone who wants to experience a single system flow from financial data preprocessing to backtesting
Anyone who is curious about how to implement backtesting based on financial statements, and the limitations and directions for improvement of this method
Anyone who wants to start investing in stocks more intelligently based on programming/data to suit the times
Anyone who feels the limitations of existing backtesting platforms or services and feels the need to create a program just for their own taste
When investing in stocks, people who are mentally exhausted every time due to investment methods such as intuitive trading, brain trading, and manual trading
Those who want to make investments that they can directly lead and judge objectively, rather than investing based on external information (funds, reports, reading rooms, stock recommendations, stock bulletin boards, etc.)
Those who want a class where students can apply the learning content on their own by understanding the principles, rather than a class where they simply run the code given by the instructor
Need to know before starting?
'Python that anyone can learn, whether they are a liberal arts student or a non-major' or Python basics, conceptual understanding of 'libraries' is required.
See roadmap: https://www.inflearn.com/roadmaps/474
16,490
Learners
593
Reviews
326
Answers
4.9
Rating
5
Courses
데이터로 미래를 설계하고 현실의 문제를 해결하는 데이터 엔지니어입니다.
데이터 기반 통찰을 사랑하며, 평생 학습(Life-long Learner)하고 지식을 나누는 기여자(Contributor)가 되고자 합니다
All
69 lectures ∙ (14hr 24min)
Course Materials:
All
118 reviews
4.8
118 reviews
Reviews 28
∙
Average Rating 5.0
5
3년 전 1년동안 python으로 데이터 분석 독학한 정도의 수준입니다. (입문~초보수준) 생업으로 손놓고 있다가 최근 주식분석을 위해 다시 공부를 시작하려는 타이밍에 이 강의를 접했습니다. 아직 절반밖에 못들었지만, 들을수록 3년 전 이 강의를 알았다면 얼마나 좋았을까 하는 마음에 미리 수강평을 남깁니다. 생각해 보니 3년전에 이 강의가 없었네요. ㅠ 지금 듣는 것이 베스트였네요. 분석에 필요한 기본기와 다양한 꿀팁, 심지어 데이터 분석에도 unit테스트 개념을 언급해 주시는 것을 들으면서 정식으로 공부를 해야 하는 필요성을 느끼게 해주는 명품강의입니다. 제 표현력이 부족함이 아쉽네요. 인생강의입니다. 끝으로 금융정보 크롤링관련 강의도 자동trading 시스템 및 강화학습 활용에 대해서도 시간이 허락되시면 강의로 만들어 주시길 부탁드립니다. 추운 겨울 건강 하시고~ 행복하세요. 감사합니다.
인생강의라고 해주시니 몸둘바를 모르겠네요ㅎㅎ 본 강의보다 더 인생강의라고 불리울만한 내용들이 기다리고 있으니 꼭 기대에 보답하도록 하겠습니다. 감사합니다
Reviews 2
∙
Average Rating 5.0
5
최고의 강의입니다. 너무 선명하게 설명하고 너무 단순하게 설명하고 너무 직관적으로 설명해서 이해하기가 너무 쉽습니다. 전 함부로 후기 남기지 않습니다.
ㅎㅎ 좋은 후기 남겨주셔서 영광입니다 :) 더 좋은강의로 찾아뵐게요~
Reviews 8
∙
Average Rating 4.9
5
완강을 하고 수강평을 남기고 싶었는데, 아직 수강평이 없어서 이 강의를 들을까 말까 망설이는 분들이 있을 것 같아 수강평을 몇자 적어 봅니다. 제가 느낀점은 1) 퀀트 배우러 왔다 판다스를 다시 제대로 배운다. 어떤 코드가 효율적이고, 왜 빠른지.. 등.. 그냥 주제 없이 판다스를 배우려는 분들은 퀀트는 덤으로 배운다고 생각하고 애초에 이 강의를 듣는 것도 아주 좋은 선택임. 2) 강의 스타일이 설명을 어물쩡하거나, 망설이는 것이 1도 없다. 아주 명확하게 설명하고 목소리 톤이나 속도도 아주 아주 마음에 듭니다. 1.5배속 할 필요가 없습니다. 3) 강의 내용이 매우 알차다. 듣다 보면 아주 체계적이고, 강의 제작에 성심성의를 다해 구성했다는 느낌이 팍팍 듭니다. 결론) 이 강의를 들어볼까 말까 나는 주식은 관심 없는데.. 이런 생각을 하신 분들은 놓칠 수 있는 강의라 생각됩니다. 퀀트는 덤이고 판다스를 제대로 배울 수 있는 강의라고 생각됩니다. 완강하지는 못했지만,, 70% 수강하고 느낀 점을 적어봅니다.. 앞으로 자동매매나 텐서플로 같은 주제의 강의도 기대해 봅니다.. 강사님의 강의를 주욱~~~ 수강할 것 같네요.^^
수강평을 보고 소름이 돋았습니다... 어쩜 제가 강의를 제작하면서 고민했던 내용이나 수업의 의도나 목표까지 정확하게 간파당했네요 ㅎㅎ 본 수업내용만으로도 앞으로 정말 많은 일들을 할수 있지만, 덤으로 앞으로 만들 강의들 내용과 함께라면 더욱 시너지를 발휘할 수 있지 않을까 합니다! 감사합니다!
Reviews 2
∙
Average Rating 5.0
Reviews 2
∙
Average Rating 5.0
5
좋은 강의 감사드립니다~~ 판다스에 대해 깊게 공부했네요.. 다음 강의 서둘러서 준비부탁드려요^^
네 ㅎ 새해가 되자마자 서두르도록 하겠습니다. 복 많이받으세요!
$77.00
Check out other courses by the instructor!
Explore other courses in the same field!