title
How to Invest with Data Science
description
Ask me Anything Anytime on Twitter: https://x.com/NewThinkTank
In this One video I'll explain how to invest using cutting edge knowledge from both technical analysis and portfolio optimization. I'll be covering all of the following :
✳️ Downloading Stocks
✳️ Daily / Cumulative Returns
✳️ Bollinger Bands
✳️ Moving Averages
✳️ Ichimoku
✳️ Candlesticks
✳️ Complex Plots
✳️ Sector Analysis
✳️ Markowitz Portfolio Optimization
✳️ Correlation / Covariance
✳️ Efficient Frontier
✳️ Sharpe Ratio
✳️ Portfolio Weighting
✳️ Much More (This is the Longest Video I Ever Made)
The Files are here here https://github.com/derekbanas/Python4Finance (Look for the 5 files that begin with Ultimate and the file named big_stock_sectors )
MY UDEMY COURSES ARE 87.5% OFF TIL February 13th ($9.99) One is FREE
➡️ Python Data Science Series for $9.99 : Highest Rated & Largest Python Udemy Course + 56 Hrs + 200 Videos + Data Science https://bit.ly/Master_Python_46
➡️ C++ Programming Bootcamp Series for $9.99 : Over 23 Hrs + 53 Videos + Quizzes + Graded Assignments + New Videos Every Month https://bit.ly/C_Course_46
➡️ FREE 15 hour Golang Course!!! : https://bit.ly/go-tutorial7 (100 Available)
❗ THIS IS NOT INVESTMENT ADVICE ❗
I'm not implying that investing this way will guarantee anything. All investing is risky and you should always take advice from someone who can assess your specific situation. THIS IS FOR EDUCATIONAL PURPOSES ONLY!
MORE DATA SCIENCE VIDEOS
Install for Windows : https://youtu.be/a7Ylbn1ikF0
Install for MacOS : https://youtu.be/2JeoNlCcLOM
Numpy / Pandas / Plotly in 1 Video : https://youtu.be/LOQHYn7BLAg
NumPy in One Video : https://youtu.be/8Y0qQEh7dJg
Pandas in One Video : https://youtu.be/PcvsOaixUh8
Matplotlib in One Video : https://youtu.be/wB9C0Mz9gSo
Seaborn in One Video : https://youtu.be/6GUZXDef2U0
Plotly in One Video : https://youtu.be/GGL6U0k8WYA
Time Series Analysis : https://youtu.be/PpnoNZYce_c
Probability in One Video : https://youtu.be/sEte4hXEgJ8
Statistics in One Video : https://youtu.be/tcusIOfI_GM
Algebra : https://youtu.be/B_WCI_A944E
Linear Algebra : https://youtu.be/6GnzRGJsI3Q
detail
{'title': 'How to Invest with Data Science', 'heatmap': [{'end': 3859.616, 'start': 3735.987, 'weight': 1}], 'summary': 'Demonstrates combining investment principles for stock analysis, utilizing data science tools like numpy, pandas, and matplotlib to analyze 3,263 securities, achieving a 32% average return, and optimizing portfolios for risk management.', 'chapters': [{'end': 142.528, 'segs': [{'end': 52.639, 'src': 'embed', 'start': 25.379, 'weight': 4, 'content': [{'end': 32.825, 'text': "And what I'm going to do today is I am going to combine all the core knowledge into one video.", 'start': 25.379, 'duration': 7.446}, {'end': 33.586, 'text': "That's it.", 'start': 33.185, 'duration': 0.401}, {'end': 40.652, 'text': "And along the way, if you're here live, I am going to answer all of your questions as well.", 'start': 34.026, 'duration': 6.626}, {'end': 42.113, 'text': 'So what am I going to cover?', 'start': 41.012, 'duration': 1.101}, {'end': 49.157, 'text': "I'm going to cover downloading stocks from anywhere in the entire world, all of them, anything you want.", 'start': 42.173, 'duration': 6.984}, {'end': 52.639, 'text': "i'm going to then get into calculating statistics.", 'start': 49.157, 'duration': 3.482}], 'summary': 'Combining core knowledge into one video, covering global stock downloads and statistics.', 'duration': 27.26, 'max_score': 25.379, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/4jaBKXDqg9U/pics/4jaBKXDqg9U25379.jpg'}, {'end': 145.971, 'src': 'embed', 'start': 121.187, 'weight': 0, 'content': [{'end': 127.07, 'text': "I was going to cancel this video because I feel so terrible, but I'm going to stick with it and I'm going to try to make it through.", 'start': 121.187, 'duration': 5.883}, {'end': 129.336, 'text': 'Okay So help me along.', 'start': 127.09, 'duration': 2.246}, {'end': 131.719, 'text': 'Normally when I make these videos, I get really energized.', 'start': 129.417, 'duration': 2.302}, {'end': 135.402, 'text': "So that hopefully, I'm probably going to pass out after this is over.", 'start': 131.879, 'duration': 3.523}, {'end': 137.223, 'text': "Drinking tea, I'm drinking water.", 'start': 135.842, 'duration': 1.381}, {'end': 141.867, 'text': 'So feel free at any point in time to ask questions.', 'start': 139.345, 'duration': 2.522}, {'end': 142.528, 'text': 'All right.', 'start': 142.288, 'duration': 0.24}, {'end': 145.971, 'text': "I am not going to type, I'm going to type in most of the code.", 'start': 143.168, 'duration': 2.803}], 'summary': 'Struggling through video due to illness, drinking tea and water, seeking assistance.', 'duration': 24.784, 'max_score': 121.187, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/4jaBKXDqg9U/pics/4jaBKXDqg9U121187.jpg'}], 'start': 0.31, 'title': 'Combining investment principles for stock analysis', 'summary': 'Covers combining investment principles for stock analysis into one video, including downloading stocks from anywhere in the world, calculating statistics, and explaining technical stock analysis principles, despite presenter feeling unwell due to covid.', 'chapters': [{'end': 142.528, 'start': 0.31, 'title': 'Combining investment principles for stock analysis', 'summary': 'Covers combining investment principles into one video, including downloading stocks from anywhere in the entire world, calculating statistics, and explaining technical stock analysis principles, despite the presenter feeling unwell due to covid.', 'duration': 142.218, 'highlights': ['The presenter is combining three and a half months of studying investment principles into one video, covering topics such as downloading stocks from anywhere in the world and calculating statistics.', "The video will discuss technical stock analysis principles and explain the use of Markowitz's principles for true investing.", 'The presenter, despite feeling unwell due to COVID, is determined to deliver the video and encourages live audience participation for questions and answers.', "The intention is to teach viewers how to analyze stocks on a technical level and use Markowitz's principles for true investing, emphasizing the importance of understanding investment principles and ideas.", 'The presenter plans to cover various topics, including bollinger bands, ichimoku, sector analysis, correlation, and covariance, and assures that even viewers with limited programming knowledge can benefit from the video.']}], 'duration': 142.218, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/4jaBKXDqg9U/pics/4jaBKXDqg9U310.jpg', 'highlights': ['The presenter is combining three and a half months of studying investment principles into one video, covering topics such as downloading stocks from anywhere in the world and calculating statistics.', "The video will discuss technical stock analysis principles and explain the use of Markowitz's principles for true investing.", "The intention is to teach viewers how to analyze stocks on a technical level and use Markowitz's principles for true investing, emphasizing the importance of understanding investment principles and ideas.", 'The presenter plans to cover various topics, including bollinger bands, ichimoku, sector analysis, correlation, and covariance, and assures that even viewers with limited programming knowledge can benefit from the video.', 'The presenter, despite feeling unwell due to COVID, is determined to deliver the video and encourages live audience participation for questions and answers.']}, {'end': 1008.057, 'segs': [{'end': 243.306, 'src': 'embed', 'start': 191.62, 'weight': 0, 'content': [{'end': 195.862, 'text': 'And this just documents exactly how to install these different parts.', 'start': 191.62, 'duration': 4.242}, {'end': 197.803, 'text': 'This is NumPy.', 'start': 196.382, 'duration': 1.421}, {'end': 203.066, 'text': 'It allows us to analyze numbers in basically big giant arrays.', 'start': 197.823, 'duration': 5.243}, {'end': 205.207, 'text': 'Pandas further enhances that ability.', 'start': 203.126, 'duration': 2.081}, {'end': 208.408, 'text': 'Matplotlib allows us to plot that information.', 'start': 205.247, 'duration': 3.161}, {'end': 215.112, 'text': 'DateTime allows us to use dates to analyze our information.', 'start': 210.189, 'duration': 4.923}, {'end': 215.932, 'text': 'So does Time.', 'start': 215.152, 'duration': 0.78}, {'end': 221.213, 'text': 'Why Finance is going to be used to download all of our stock data.', 'start': 216.331, 'duration': 4.882}, {'end': 224.035, 'text': "We're going to have to work with files.", 'start': 221.674, 'duration': 2.361}, {'end': 231.378, 'text': 'So we have Import OS that allows us to work with directories, save all of our data to different files.', 'start': 224.415, 'duration': 6.963}, {'end': 238.802, 'text': 'Cufflinks is an add-on that allows us to do interesting things with Plotly, which is additional plotting software.', 'start': 231.779, 'duration': 7.023}, {'end': 243.306, 'text': "What else do we have here? I imported OS twice, doesn't really matter.", 'start': 239.885, 'duration': 3.421}], 'summary': 'Installing numpy, pandas, matplotlib, datetime, time, and finance for data analysis and utilizing cufflinks for plotly visualization.', 'duration': 51.686, 'max_score': 191.62, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/4jaBKXDqg9U/pics/4jaBKXDqg9U191620.jpg'}], 'start': 143.168, 'title': 'Data science for stock analysis', 'summary': "Covers the setup process for data analysis tools and libraries, including numpy, pandas, matplotlib, and the utilization of anaconda and visual studio code. it also details the download of over 3,000 securities' daily price data for a five-year period from yahoo finance and the process of working with stock data frames in python.", 'chapters': [{'end': 614.715, 'start': 143.168, 'title': 'Applying data science to investing', 'summary': "Details the process of setting up the necessary libraries and tools for analyzing stock data, including the installation of various packages like numpy, pandas, matplotlib, and the usage of anaconda and visual studio code. it also outlines the process of downloading over 3,000 securities' daily price data for a five-year period from yahoo finance, which will be used for analyzing stocks using different algorithms.", 'duration': 471.547, 'highlights': ['The chapter details the process of setting up the necessary libraries and tools for analyzing stock data, including the installation of various packages like NumPy, Pandas, Matplotlib, and the usage of Anaconda and Visual Studio Code. The transcript discusses the installation of essential libraries such as NumPy, Pandas, Matplotlib, and the usage of Anaconda and Visual Studio Code for analyzing stock data.', "Outlines the process of downloading over 3,000 securities' daily price data for a five-year period from Yahoo Finance, which will be used for analyzing stocks using different algorithms. The chapter describes the process of downloading daily price data for over 3,000 securities from Yahoo Finance, which will be utilized for analyzing stocks using various algorithms."]}, {'end': 1008.057, 'start': 615.215, 'title': 'Working with stock data in python', 'summary': 'Covers the process of downloading 3,481 securities from 18 stock exchanges worldwide, coding to obtain stock data frames from csv files, and explaining the concept of data frames in python.', 'duration': 392.842, 'highlights': ['The process of downloading 3,481 securities from 18 stock exchanges worldwide is explained. The speaker discusses the process of downloading securities from 18 stock exchanges worldwide, with a total of 3,481 securities being worked with.', "Coding process to obtain stock data frames from CSV files is detailed. The speaker explains the process of coding to obtain stock data frames from CSV files, including the use of a function called 'get stock data frame from CSV' to grab data from CSV files.", 'Explanation of the concept of data frames in Python is provided. The speaker explains the concept of data frames in Python, describing it as a type of spreadsheet that contains column information and functions to manipulate the data.']}], 'duration': 864.889, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/4jaBKXDqg9U/pics/4jaBKXDqg9U143168.jpg', 'highlights': ['The chapter details the process of setting up the necessary libraries and tools for analyzing stock data, including the installation of various packages like NumPy, Pandas, Matplotlib, and the usage of Anaconda and Visual Studio Code.', 'The chapter describes the process of downloading daily price data for over 3,000 securities from Yahoo Finance, which will be utilized for analyzing stocks using various algorithms.', 'The process of downloading securities from 18 stock exchanges worldwide, with a total of 3,481 securities being worked with, is explained.', "The speaker explains the process of coding to obtain stock data frames from CSV files, including the use of a function called 'get stock data frame from CSV' to grab data from CSV files."]}, {'end': 2645.366, 'segs': [{'end': 1405.012, 'src': 'embed', 'start': 1364.87, 'weight': 0, 'content': [{'end': 1370.513, 'text': 'And I also want to save this data to my CSV file.', 'start': 1364.87, 'duration': 5.643}, {'end': 1383.201, 'text': 'So I could come in and do something like df dot to see our CSV and path plus whatever the ticker name is.', 'start': 1370.953, 'duration': 12.248}, {'end': 1387.744, 'text': "And plus whoops, where'd I put that? Get that over there.", 'start': 1383.221, 'duration': 4.523}, {'end': 1397.07, 'text': 'plus csv, so plus dot csv, and then this of course needs to be in quotes.', 'start': 1388.268, 'duration': 8.802}, {'end': 1405.012, 'text': 'so there we are, and you know what i think i might want to actually save this for.', 'start': 1397.07, 'duration': 7.942}], 'summary': 'Saving data to csv using df.to_csv method.', 'duration': 40.142, 'max_score': 1364.87, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/4jaBKXDqg9U/pics/4jaBKXDqg9U1364870.jpg'}, {'end': 1518.064, 'src': 'embed', 'start': 1487.74, 'weight': 2, 'content': [{'end': 1492.641, 'text': "you're and i'm going to plot out bollinger bands you're going to see what they look like they'll make more sense.", 'start': 1487.74, 'duration': 4.901}, {'end': 1499.003, 'text': "but whenever you're moving average, the standard deviation from them whenever they come together,", 'start': 1492.641, 'duration': 6.362}, {'end': 1507.165, 'text': 'that is a signal that you can expect a price change either up or down, which would influence you to make different market action okay.', 'start': 1499.003, 'duration': 8.162}, {'end': 1518.064, 'text': "so i'm very much um breaking or, uh, covering that very loosely, but mainly because I think it will make more sense to cover it otherwise.", 'start': 1507.165, 'duration': 10.899}], 'summary': 'Bollinger bands signal price change based on moving average and standard deviation, influencing market action.', 'duration': 30.324, 'max_score': 1487.74, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/4jaBKXDqg9U/pics/4jaBKXDqg9U1487740.jpg'}, {'end': 1643.982, 'src': 'embed', 'start': 1613.309, 'weight': 1, 'content': [{'end': 1616.411, 'text': "Chances are, somebody else probably also doesn't understand.", 'start': 1613.309, 'duration': 3.102}, {'end': 1618.592, 'text': "And that's why I'm doing this live.", 'start': 1617.031, 'duration': 1.561}, {'end': 1621.474, 'text': 'Otherwise, I would just record this and upload it.', 'start': 1618.772, 'duration': 2.702}, {'end': 1624.576, 'text': "So I'm here to answer questions.", 'start': 1621.774, 'duration': 2.802}, {'end': 1626.497, 'text': 'That is the only reason why I do this live.', 'start': 1624.636, 'duration': 1.861}, {'end': 1631.311, 'text': 'Alright, so 1.96.', 'start': 1627.177, 'duration': 4.134}, {'end': 1637.136, 'text': "Cause, believe me, it's a lot easier to just record it, and you know, do do part of the video one time.", 'start': 1631.311, 'duration': 5.825}, {'end': 1639.858, 'text': 'come back to it whenever I feel like it.', 'start': 1637.136, 'duration': 2.722}, {'end': 1643.982, 'text': "So, uh, that's the only reason I'm doing it is so that I can be alive.", 'start': 1639.898, 'duration': 4.084}], 'summary': 'Live session to answer questions, 1.96 is discussed.', 'duration': 30.673, 'max_score': 1613.309, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/4jaBKXDqg9U/pics/4jaBKXDqg9U1613309.jpg'}, {'end': 2574.117, 'src': 'embed', 'start': 2540.554, 'weight': 3, 'content': [{'end': 2545.058, 'text': 'And you can also go and save all this information if you would like to a CSV file.', 'start': 2540.554, 'duration': 4.504}, {'end': 2546.379, 'text': "Again, I'm not going to type that out.", 'start': 2545.158, 'duration': 1.221}, {'end': 2557.807, 'text': "OK. So now what I want to do is it's better as I have right here to test out everything one time with one file,", 'start': 2547.239, 'duration': 10.568}, {'end': 2563.751, 'text': 'instead of doing it with 3,600 files and then realizing you messed up.', 'start': 2558.248, 'duration': 5.503}, {'end': 2574.117, 'text': 'This right here does that for you, okay? So run this first, make sure it works with one file, and then do it for the other file.', 'start': 2564.272, 'duration': 9.845}], 'summary': 'Testing with one file before processing 3,600 files to avoid errors and save time.', 'duration': 33.563, 'max_score': 2540.554, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/4jaBKXDqg9U/pics/4jaBKXDqg9U2540554.jpg'}], 'start': 1008.077, 'title': 'Stock tickers, returns, bands, and ichimoku', 'summary': 'Covers extracting stock tickers, calculating daily and cumulative returns for 3263 securities, adding bollinger bands to data frames, using ichimoku as a comprehensive technical analysis tool, and converting financial formulas into python code for market analysis.', 'chapters': [{'end': 1363.869, 'start': 1008.077, 'title': 'Stock tickers and daily returns', 'summary': 'Covers the process of extracting stock tickers from files, sorting them, and calculating daily returns and cumulative returns for 3263 securities, with a focus on using functions and naming conventions. the cumulative return is calculated as the cumulative product of the daily return.', 'duration': 355.792, 'highlights': ['The chapter covers the process of extracting stock tickers from files, sorting them, and calculating daily returns and cumulative returns for 3263 securities.', 'The cumulative return is calculated as the cumulative product of the daily return.', 'The chapter focuses on using functions and naming conventions, using capital letters for information from Yahoo Finance and lowercase with underscores for added calculations.']}, {'end': 1794.141, 'start': 1364.87, 'title': 'Adding bollinger bands and saving data to csv', 'summary': 'Covers adding bollinger bands to a data frame and saving the data to a csv file, using a 20-day rolling moving average and a standard deviation of 1.96, which can be applied to daily price data for market analysis.', 'duration': 429.271, 'highlights': ['The chapter covers adding Bollinger Bands to a data frame and saving the data to a CSV file, using a 20-day rolling moving average and a standard deviation of 1.96, which can be applied to daily price data for market analysis.', 'Explanation of Bollinger Bands including a moving average, standard deviation, and signal for price change.', 'Detailed explanation of the process for creating Bollinger Bands using a 20-day rolling moving average and a standard deviation of 1.96 for market analysis.', 'Clarification on the choice of 20 days for Bollinger Bands and the significance of working with daily data.']}, {'end': 2207.331, 'start': 1794.622, 'title': 'Understanding ichimoku: the ultimate technical analysis tool', 'summary': 'Introduces the ichimoku, a comprehensive technical analysis tool that provides multiple data points in one chart, including conversion line, baseline, span a, span b, lagging span, and cloud, offering insights into market trends and momentum.', 'duration': 412.709, 'highlights': ['The Ichimoku is a comprehensive technical analysis tool that provides multiple data points in one chart, including conversion line, baseline, span A, span B, lagging span, and cloud, offering insights into market trends and momentum. It shows multiple different lines such as conversion line, baseline, span A, span B, lagging span, and cloud, providing insights into market trends and momentum.', 'The Ichimoku indicator offers a visual representation of market trends and momentum, with the ability to change colors based on momentum signals, making it more advanced than other platforms. The Ichimoku indicator can change colors based on whether Momentum is suggesting to buy or sell a stock, making it more advanced than other platforms.', 'The process involves creating a function called add Ichimoku, where the Ichimoku data is calculated, saved to a CSV file, and plotted for faster future calculations. The process involves creating a function called add Ichimoku, where the Ichimoku data is calculated, saved to a CSV file, and plotted for faster future calculations.']}, {'end': 2645.366, 'start': 2208.012, 'title': 'Python code conversion for finance', 'summary': 'Focuses on converting financial formulas into python code, calculating span a and span b for 26 and 52 sessions, and emphasizes the importance of testing with one file before scaling up to avoid potential errors.', 'duration': 437.354, 'highlights': ['The chapter focuses on converting financial formulas into Python code The speaker discusses the process of converting financial formulas into Python code and mentions converting formulas into Basically Python code.', 'Calculating span A and span B for 26 and 52 sessions The speaker explains the calculation of span A and span B for 26 and 52 sessions, involving high and low values, and emphasizes the difference in time periods for the calculations.', 'Importance of testing with one file before scaling up The speaker emphasizes the importance of testing with one file before scaling up to avoid potential errors, highlighting the need to verify the correctness of the calculations and to close files properly to prevent errors.']}], 'duration': 1637.289, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/4jaBKXDqg9U/pics/4jaBKXDqg9U1008077.jpg', 'highlights': ['The Ichimoku is a comprehensive technical analysis tool that provides multiple data points in one chart, including conversion line, baseline, span A, span B, lagging span, and cloud, offering insights into market trends and momentum.', 'The chapter covers adding Bollinger Bands to a data frame and saving the data to a CSV file, using a 20-day rolling moving average and a standard deviation of 1.96, which can be applied to daily price data for market analysis.', 'The chapter covers the process of extracting stock tickers from files, sorting them, and calculating daily returns and cumulative returns for 3263 securities.', 'The chapter focuses on converting financial formulas into Python code for market analysis.']}, {'end': 3944.842, 'segs': [{'end': 2745.066, 'src': 'embed', 'start': 2669.493, 'weight': 4, 'content': [{'end': 2675.435, 'text': "this is the reason why I don't need to do this right here.", 'start': 2669.493, 'duration': 5.942}, {'end': 2681.996, 'text': 'save it to a CSV file because what this does is it returns the data frame after making the change.', 'start': 2676.013, 'duration': 5.983}, {'end': 2685.357, 'text': 'And then I store it in this new DF.', 'start': 2682.596, 'duration': 2.761}, {'end': 2688.099, 'text': 'So it keeps updating and updating and updating.', 'start': 2685.898, 'duration': 2.201}, {'end': 2691.42, 'text': "And then I save it to the CSV file after everything's done.", 'start': 2688.459, 'duration': 2.961}, {'end': 2692.681, 'text': "There's not really any point.", 'start': 2691.46, 'duration': 1.221}, {'end': 2703.026, 'text': "But I put that into the individual functions just in case you want to update only some of the information and you don't need to update all of it.", 'start': 2693.081, 'duration': 9.945}, {'end': 2705.663, 'text': 'So there we go.', 'start': 2704.483, 'duration': 1.18}, {'end': 2709.985, 'text': 'So working on, but in this situation, it is not going to be that.', 'start': 2705.904, 'duration': 4.081}, {'end': 2713.666, 'text': "So let's tab this in and tab this in.", 'start': 2710.145, 'duration': 3.521}, {'end': 2717.268, 'text': "I'm going to comment this out so I don't accidentally do it again.", 'start': 2713.806, 'duration': 3.462}, {'end': 2718.448, 'text': 'So there that is.', 'start': 2717.528, 'duration': 0.92}, {'end': 2722.009, 'text': 'And I can just come down here and run that or something.', 'start': 2718.468, 'duration': 3.541}, {'end': 2722.93, 'text': 'All right.', 'start': 2722.63, 'duration': 0.3}, {'end': 2724.73, 'text': 'So these just all need to be tabbed in.', 'start': 2722.97, 'duration': 1.76}, {'end': 2725.471, 'text': 'No big deal.', 'start': 2724.75, 'duration': 0.721}, {'end': 2727.651, 'text': 'Tab, tab, tab.', 'start': 2726.071, 'duration': 1.58}, {'end': 2732.133, 'text': 'And tab like that.', 'start': 2730.132, 'duration': 2.001}, {'end': 2735.942, 'text': 'And I already covered try blocks and printing.', 'start': 2733.221, 'duration': 2.721}, {'end': 2737.463, 'text': 'This just prints out an error message.', 'start': 2735.982, 'duration': 1.481}, {'end': 2742.065, 'text': "If there is one in this situation, it's going to be working on the tickers.", 'start': 2737.543, 'duration': 4.522}, {'end': 2745.066, 'text': "It's a list that has all my stock tickers in it.", 'start': 2742.825, 'duration': 2.241}], 'summary': 'Updating and saving data to csv file, incorporating individual functions for selective updates.', 'duration': 75.573, 'max_score': 2669.493, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/4jaBKXDqg9U/pics/4jaBKXDqg9U2669493.jpg'}, {'end': 2793.767, 'src': 'embed', 'start': 2768.536, 'weight': 13, 'content': [{'end': 2777.221, 'text': 'this updates cumulative return Bollinger Bands, adds in the Ichimoku data and then ultimately saves all of the new updated data to our CSV file.', 'start': 2768.536, 'duration': 8.685}, {'end': 2781.244, 'text': "Okay, so I did all the work so that you don't have to.", 'start': 2777.241, 'duration': 4.003}, {'end': 2788.168, 'text': "And I'm probably going to run this, it's going to take a couple, I don't know, it's going to take a couple minutes, like maybe two minutes.", 'start': 2781.724, 'duration': 6.444}, {'end': 2793.767, 'text': "And while that happens, I'm going to go upstairs and get some more water because I have COVID and I do not feel good.", 'start': 2788.564, 'duration': 5.203}], 'summary': 'Updated bollinger bands and ichimoku data, saved to csv. running time: approximately 2 minutes. speaker has covid.', 'duration': 25.231, 'max_score': 2768.536, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/4jaBKXDqg9U/pics/4jaBKXDqg9U2768536.jpg'}, {'end': 3021.831, 'src': 'embed', 'start': 2979.771, 'weight': 0, 'content': [{'end': 2987.597, 'text': "Well, what I'm going to do and how I'm going to differ is I'm basically going to explain linear algebra and the calculus so that you completely understand everything.", 'start': 2979.771, 'duration': 7.826}, {'end': 2988.237, 'text': 'All right.', 'start': 2987.977, 'duration': 0.26}, {'end': 2992.36, 'text': "So that's and then I'm going to expand off into who knows where.", 'start': 2988.517, 'duration': 3.843}, {'end': 2994.242, 'text': 'OK, so there you go.', 'start': 2992.8, 'duration': 1.442}, {'end': 2996.323, 'text': "That is an overview of what I'm going to do with that.", 'start': 2994.402, 'duration': 1.921}, {'end': 2998.945, 'text': "OK, so we're done calculating our statistics.", 'start': 2996.643, 'duration': 2.302}, {'end': 2999.726, 'text': "We're done.", 'start': 2999.325, 'duration': 0.401}, {'end': 3002.668, 'text': 'What are we going to do now? Well, we need to plot everything.', 'start': 3000.366, 'duration': 2.302}, {'end': 3007.901, 'text': 'So I just copied over this function from the last one.', 'start': 3003.177, 'duration': 4.724}, {'end': 3010.883, 'text': 'And guess what? All these library files are exactly the same.', 'start': 3007.941, 'duration': 2.942}, {'end': 3014.226, 'text': 'So I am just going to click Run All.', 'start': 3011.543, 'duration': 2.683}, {'end': 3018.209, 'text': 'This is Visual Studio Code, what I have here, just to make sure that everything works.', 'start': 3014.266, 'duration': 3.943}, {'end': 3021.831, 'text': "And then I'm going to plot all this stuff so that you can see it working.", 'start': 3018.609, 'duration': 3.222}], 'summary': 'Explaining linear algebra and calculus for complete understanding, then plotting the results.', 'duration': 42.06, 'max_score': 2979.771, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/4jaBKXDqg9U/pics/4jaBKXDqg9U2979771.jpg'}, {'end': 3136.63, 'src': 'embed', 'start': 3106.161, 'weight': 7, 'content': [{'end': 3113.644, 'text': "If, at any point, I say something and you're like, well, I really wish he would show me that.", 'start': 3106.161, 'duration': 7.483}, {'end': 3114.304, 'text': 'just ask me.', 'start': 3113.644, 'duration': 0.66}, {'end': 3118.306, 'text': 'So candlestick plot, here it is.', 'start': 3114.465, 'duration': 3.841}, {'end': 3124.7, 'text': 'And where is images? Okay, so I get a good image.', 'start': 3118.326, 'duration': 6.374}, {'end': 3126.662, 'text': "Whoops Let's try this one.", 'start': 3124.8, 'duration': 1.862}, {'end': 3129.944, 'text': 'Can I see it full screen? Boy, that looks terrible.', 'start': 3127.242, 'duration': 2.702}, {'end': 3132.767, 'text': "There's no way for me to zoom in on this.", 'start': 3131.025, 'duration': 1.742}, {'end': 3136.63, 'text': "What I'm doing is just trying to find a good candlestick plot.", 'start': 3134.048, 'duration': 2.582}], 'summary': 'Speaker is discussing difficulties with viewing and zooming candlestick plot images.', 'duration': 30.469, 'max_score': 3106.161, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/4jaBKXDqg9U/pics/4jaBKXDqg9U3106161.jpg'}, {'end': 3182.093, 'src': 'embed', 'start': 3155.537, 'weight': 3, 'content': [{'end': 3159.579, 'text': 'Now, what this does is it shows the opening price.', 'start': 3155.537, 'duration': 4.042}, {'end': 3163.261, 'text': 'If it was an up day, well, the opening price is going to be down here.', 'start': 3159.659, 'duration': 3.602}, {'end': 3165.483, 'text': 'And the closing price is going to be up here.', 'start': 3163.802, 'duration': 1.681}, {'end': 3168.084, 'text': 'Why? Because the opening was lower than the close.', 'start': 3165.523, 'duration': 2.561}, {'end': 3171.146, 'text': "And that's going to switch whenever it's a down day.", 'start': 3168.785, 'duration': 2.361}, {'end': 3171.987, 'text': "So it's red.", 'start': 3171.206, 'duration': 0.781}, {'end': 3173.227, 'text': "The open's going to be up here.", 'start': 3172.127, 'duration': 1.1}, {'end': 3174.228, 'text': 'And then the close is here.', 'start': 3173.408, 'duration': 0.82}, {'end': 3178.631, 'text': 'And then these are called wicks or shadows, these lines that come up here.', 'start': 3174.728, 'duration': 3.903}, {'end': 3182.093, 'text': 'And what they do is they say that this was the daily high.', 'start': 3179.051, 'duration': 3.042}], 'summary': 'Explanation of candlestick chart elements and their significance for daily high and low prices.', 'duration': 26.556, 'max_score': 3155.537, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/4jaBKXDqg9U/pics/4jaBKXDqg9U3155537.jpg'}, {'end': 3729.86, 'src': 'embed', 'start': 3698.516, 'weight': 1, 'content': [{'end': 3700.677, 'text': 'whatever you want to do, you can change that.', 'start': 3698.516, 'duration': 2.161}, {'end': 3701.417, 'text': 'show legend.', 'start': 3700.677, 'duration': 0.74}, {'end': 3702.678, 'text': "Yes, I'm going to do that.", 'start': 3701.577, 'duration': 1.101}, {'end': 3709.648, 'text': "And then to ultimately go and display everything on the screen, you're going to say figure, show.", 'start': 3703.198, 'duration': 6.45}, {'end': 3715.836, 'text': "i'm going to run this and it doesn't look like i have any errors, which is awesome, okay.", 'start': 3709.648, 'duration': 6.188}, {'end': 3717.978, 'text': 'so now what do i want to do?', 'start': 3715.836, 'duration': 2.142}, {'end': 3723.365, 'text': "well, i'm going to go and actually calculate the ichimoku.", 'start': 3717.978, 'duration': 5.387}, {'end': 3729.86, 'text': 'so um, i could actually show you, If you want to see, what what this actually looks like ahead of time.', 'start': 3723.365, 'duration': 6.495}], 'summary': 'Demonstrating code execution and visual display with no errors.', 'duration': 31.344, 'max_score': 3698.516, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/4jaBKXDqg9U/pics/4jaBKXDqg9U3698516.jpg'}, {'end': 3859.616, 'src': 'heatmap', 'start': 3735.987, 'weight': 1, 'content': [{'end': 3737.889, 'text': "I'm gonna show you what the Bollinger Bands look like right now.", 'start': 3735.987, 'duration': 1.902}, {'end': 3748.093, 'text': "So I'm gonna go and call this test data frame and I'm gonna use our function called get stock DF from CSV, this one right here.", 'start': 3738.587, 'duration': 9.506}, {'end': 3752.235, 'text': "And I'm gonna look at AMD and I'm just gonna plot out the Bollinger Bands for it.", 'start': 3748.113, 'duration': 4.122}, {'end': 3760.48, 'text': "So I'm gonna say, well, let's go and it's called plot with Bollinger Bands like that.", 'start': 3752.816, 'duration': 7.664}, {'end': 3769.838, 'text': "And I'm gonna pass in test data frame and follow that up with amd exactly like that and run it.", 'start': 3761.221, 'duration': 8.617}, {'end': 3772.079, 'text': 'And look at how it works.', 'start': 3770.758, 'duration': 1.321}, {'end': 3774.52, 'text': 'So there are our Bollinger Bands.', 'start': 3772.619, 'duration': 1.901}, {'end': 3776.841, 'text': 'And you can see all of them plotted out.', 'start': 3775.06, 'duration': 1.781}, {'end': 3781.322, 'text': 'This is our rangefinder, which is going to allow us to zoom in and zoom out.', 'start': 3777.001, 'duration': 4.321}, {'end': 3788.045, 'text': "I'm using data that's a little bit old here because I you know, I just wanted to use older data.", 'start': 3781.723, 'duration': 6.322}, {'end': 3795.608, 'text': "I don't want this this to be considered a video where I'm trying to tell you where to invest on a day by day basis.", 'start': 3789.105, 'duration': 6.503}, {'end': 3798.11, 'text': 'This is just Me teaching how to do this stuff.', 'start': 3795.648, 'duration': 2.462}, {'end': 3800.992, 'text': 'So this data actually ends January 7th.', 'start': 3798.13, 'duration': 2.862}, {'end': 3806.415, 'text': 'So what, 12 days ago? And you can see all this and we can zoom in more and more.', 'start': 3801.332, 'duration': 5.083}, {'end': 3808.156, 'text': 'As much as you want to zoom in.', 'start': 3806.435, 'duration': 1.721}, {'end': 3817.902, 'text': 'And you can see here that very often with Bollinger Bands, whenever our prices hit either downwards or upwards, that they tend to bounce up and down.', 'start': 3808.576, 'duration': 9.326}, {'end': 3820.443, 'text': 'The Ichimoku is way more accurate though.', 'start': 3818.202, 'duration': 2.241}, {'end': 3823.265, 'text': "So that's really what I want to focus on.", 'start': 3820.903, 'duration': 2.362}, {'end': 3825.426, 'text': 'But you can see here how Bollinger Bands work.', 'start': 3823.305, 'duration': 2.121}, {'end': 3828.37, 'text': 'And I think you now know exactly how they are calculated.', 'start': 3825.888, 'duration': 2.482}, {'end': 3830.152, 'text': "And they're pretty cool.", 'start': 3829.051, 'duration': 1.101}, {'end': 3830.672, 'text': "They're useful.", 'start': 3830.172, 'duration': 0.5}, {'end': 3839.12, 'text': "My invisible glass, pretty cool stuff, huh? Alright, so that's how we do that.", 'start': 3832.954, 'duration': 6.166}, {'end': 3847.928, 'text': "Now the Ichimoku is more complicated, more complicated, because there's infinite amount more information with the Ichimoku.", 'start': 3839.26, 'duration': 8.668}, {'end': 3859.616, 'text': "So what we're going to do here is remember I said that I want to our cloud is going to change colors as the different span lines change.", 'start': 3848.467, 'duration': 11.149}], 'summary': "Demonstrated bollinger bands plot for amd using test data, emphasizing ichimoku's accuracy and complexity.", 'duration': 123.629, 'max_score': 3735.987, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/4jaBKXDqg9U/pics/4jaBKXDqg9U3735987.jpg'}], 'start': 2645.865, 'title': 'Stock data processing, machine learning, and plot customization', 'summary': 'Details stock data processing using a python script, covers machine learning and data science distinctions, and includes adding bollinger bands and customizing plot elements for zoom functionality.', 'chapters': [{'end': 2788.168, 'start': 2645.865, 'title': 'Stock data processing', 'summary': 'Details the process of updating and saving stock data using a python script, including the use of tickers, data frame manipulation, and the time it takes to run the process.', 'duration': 142.303, 'highlights': ['The script updates stock information, daily return, cumulative return, Bollinger Bands, and adds Ichimoku data before ultimately saving all updated data to a CSV file.', 'The script runs for a couple of minutes, approximately two minutes, to complete the entire process.', 'The tickers list contains all the stock tickers, and the script iterates through each ticker to update the data.', 'The script avoids unnecessary CSV file saving as it continuously updates the data frame and saves it to the CSV file only after all updates are completed.']}, {'end': 3333.984, 'start': 2788.564, 'title': 'Machine learning and data science overview', 'summary': 'Covers the distinction between machine learning and data science, the upcoming topics to be covered including octave and machine learning, and the detailed explanation of candlestick plots and its application in financial analysis.', 'duration': 545.42, 'highlights': ['The chapter explains the difference between machine learning and data science, emphasizing that this is a pure data science video. The speaker clarifies that the video focuses on data science and not machine learning, with a plan to cover machine learning in the future.', 'The upcoming topics to be covered include Octave and machine learning, with a timeline of two weeks for the commencement of machine learning content. The speaker outlines the plan to cover Octave in the following week and start machine learning topics in two weeks, based on his health condition.', 'The speaker expresses the intention to provide a comprehensive explanation of linear algebra and calculus, aiming to differentiate from existing machine learning courses. The speaker intends to provide in-depth explanations of linear algebra and calculus to ensure a complete understanding, differentiating from other machine learning courses.', 'The detailed explanation of candlestick plots, including their structure and application in financial analysis, is provided, with a visual demonstration. The speaker introduces and explains candlestick plots, emphasizing their utility in representing financial data and providing a visual demonstration to aid comprehension.']}, {'end': 3698.516, 'start': 3336.051, 'title': 'Adding bollinger bands and customizing plot', 'summary': "Covers adding bollinger bands to a plot, customizing the lines' colors and opacities, updating the x and y axis titles, and adding a range slider for zoom functionality, with a demonstration of the code execution and potential adjustments for specific screen sizes.", 'duration': 362.465, 'highlights': ['Adding Bollinger Bands to the plot and customizing line styles and colors, e.g., changing the upper band to red with an opacity of 75% and defining the line width. Upper band color: red, opacity: 75%', 'Demonstrating the process of adding middle and lower bands to the plot, specifying their colors (blue and green), and ensuring consistency in the code for plotting the data. Middle band color: blue, lower band color: green', "Explaining the addition of a range slider for zoom functionality, with options to adjust its visibility and providing insights into updating the X and Y axis titles. Range slider added for zoom functionality, X axis title changed to 'date', Y axis title changed to 'price'"]}, {'end': 3944.842, 'start': 3698.516, 'title': 'Implementing ichimoku and bollinger bands', 'summary': 'Demonstrates implementing bollinger bands and preparing to calculate the ichimoku, as well as explaining the functionality and color coding of the ichimoku cloud.', 'duration': 246.326, 'highlights': ['The chapter demonstrates implementing Bollinger Bands and preparing to calculate the Ichimoku, as well as explaining the functionality and color coding of the Ichimoku cloud.', 'The presenter shows how to plot Bollinger Bands using test data for AMD stock, providing a practical demonstration of the calculated bands.', 'The chapter explains the process of creating a function to determine the color of the Ichimoku cloud based on the relationship between span lines, with a specific focus on the cloud changing colors to indicate buying or selling momentum.']}], 'duration': 1298.977, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/4jaBKXDqg9U/pics/4jaBKXDqg9U2645865.jpg', 'highlights': ['The script updates stock information, daily return, cumulative return, Bollinger Bands, and adds Ichimoku data before saving to a CSV file.', 'The script runs for approximately two minutes to complete the entire process.', 'The tickers list contains all the stock tickers, and the script iterates through each ticker to update the data.', 'The script avoids unnecessary CSV file saving as it continuously updates the data frame and saves it to the CSV file only after all updates are completed.', 'The chapter explains the difference between machine learning and data science, emphasizing that this is a pure data science video.', 'The upcoming topics to be covered include Octave and machine learning, with a timeline of two weeks for the commencement of machine learning content.', 'The speaker expresses the intention to provide a comprehensive explanation of linear algebra and calculus, aiming to differentiate from existing machine learning courses.', 'The detailed explanation of candlestick plots, including their structure and application in financial analysis, is provided, with a visual demonstration.', 'Adding Bollinger Bands to the plot and customizing line styles and colors, e.g., changing the upper band to red with an opacity of 75% and defining the line width.', 'Demonstrating the process of adding middle and lower bands to the plot, specifying their colors (blue and green), and ensuring consistency in the code for plotting the data.', 'Explaining the addition of a range slider for zoom functionality, with options to adjust its visibility and providing insights into updating the X and Y axis titles.', 'The chapter demonstrates implementing Bollinger Bands and preparing to calculate the Ichimoku, as well as explaining the functionality and color coding of the Ichimoku cloud.', 'The presenter shows how to plot Bollinger Bands using test data for AMD stock, providing a practical demonstration of the calculated bands.', 'The chapter explains the process of creating a function to determine the color of the Ichimoku cloud based on the relationship between span lines, with a specific focus on the cloud changing colors to indicate buying or selling momentum.']}, {'end': 5034.444, 'segs': [{'end': 4011.725, 'src': 'embed', 'start': 3963.74, 'weight': 2, 'content': [{'end': 3971.687, 'text': "So I'm going to say if it isn't, I'm just going to say, okay, well, in that situation, I want to return and it's going to be red.", 'start': 3963.74, 'duration': 7.947}, {'end': 3978.892, 'text': 'So this is going to be either red or green green, obviously, whenever it is a positive momentum line,', 'start': 3972.127, 'duration': 6.765}, {'end': 3983.736, 'text': 'and green and red when it is a negative opportunity.', 'start': 3978.892, 'duration': 4.844}, {'end': 3984.957, 'text': "Okay, so that's all it does.", 'start': 3983.756, 'duration': 1.201}, {'end': 3986.118, 'text': 'It spits out red or green.', 'start': 3984.997, 'duration': 1.121}, {'end': 3994.952, 'text': 'Now this gets to be probably the most complicated function that I ever create, ever in this entire video,', 'start': 3987.059, 'duration': 7.893}, {'end': 4002.238, 'text': 'because I am plotting all of the Ichimoku stuff, all of this stuff, the conversion line.', 'start': 3994.952, 'duration': 7.286}, {'end': 4007.902, 'text': "I'm going to, I asked this and you're just going to do it, but now I see you've been elsewhere.", 'start': 4002.718, 'duration': 5.184}, {'end': 4011.725, 'text': 'I have seen Ichimoku plotted 26 periods ahead of the latest candle.', 'start': 4007.983, 'duration': 3.742}], 'summary': 'Analyzing positive/negative momentum to determine red or green output.', 'duration': 47.985, 'max_score': 3963.74, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/4jaBKXDqg9U/pics/4jaBKXDqg9U3963740.jpg'}, {'end': 4128.684, 'src': 'embed', 'start': 4094.127, 'weight': 1, 'content': [{'end': 4098.328, 'text': 'I covered that in the download part, which was the very beginning of the video.', 'start': 4094.127, 'duration': 4.201}, {'end': 4102.191, 'text': 'you would update it depending upon what your period timeframe is.', 'start': 4098.328, 'duration': 3.863}, {'end': 4107.953, 'text': "And then you would shift your date period, here's your dates.", 'start': 4102.93, 'duration': 5.023}, {'end': 4109.305, 'text': 'right here.', 'start': 4108.904, 'duration': 0.401}, {'end': 4113.209, 'text': 'So you would just change whatever your starting date and your ending date is.', 'start': 4109.325, 'duration': 3.884}, {'end': 4119.835, 'text': 'And as long as you have all the data, yeah, it will just automatically focus in on those periods of times.', 'start': 4113.589, 'duration': 6.246}, {'end': 4128.684, 'text': 'And you can change your moving averages, you can pull part of the the date data, if you want to do back testing, you can do all of that as well.', 'start': 4120.296, 'duration': 8.388}], 'summary': 'The video covers adjusting date periods and data analysis tools such as moving averages and back testing.', 'duration': 34.557, 'max_score': 4094.127, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/4jaBKXDqg9U/pics/4jaBKXDqg9U4094127.jpg'}, {'end': 4186.631, 'src': 'embed', 'start': 4157.74, 'weight': 0, 'content': [{'end': 4161.563, 'text': "And if I didn't answer it, like I said, I'm a little cloudy today, so..", 'start': 4157.74, 'duration': 3.823}, {'end': 4163.832, 'text': 'Feel free to ask again.', 'start': 4162.471, 'duration': 1.361}, {'end': 4165.014, 'text': "Oh, I'm on the wrong page.", 'start': 4164.053, 'duration': 0.961}, {'end': 4171.479, 'text': "All right, so this is the most complicated formula or thing I'm gonna do in the whole entire video.", 'start': 4165.474, 'duration': 6.005}, {'end': 4173.841, 'text': "So if you can make it past this, you're golden.", 'start': 4171.578, 'duration': 2.263}, {'end': 4183.209, 'text': "And it might not 100% make sense, but after I actually show you the Ichimoku plot, I'm then going to explain what all the lines do,", 'start': 4175.341, 'duration': 7.868}, {'end': 4186.631, 'text': "and then I'm gonna explain what is going on with everything.", 'start': 4183.209, 'duration': 3.422}], 'summary': 'Explanation of a complex formula in a video tutorial.', 'duration': 28.891, 'max_score': 4157.74, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/4jaBKXDqg9U/pics/4jaBKXDqg9U4157740.jpg'}], 'start': 3944.902, 'title': 'Customizing interactive stock chart functions', 'summary': 'Covers creating interactive stock chart functions, plotting ichimoku cloud and moving averages, identifying momentum, drawing fill shapes, and defining colors, providing examples and explanations for customization.', 'chapters': [{'end': 4173.841, 'start': 3944.902, 'title': 'Creating interactive stock chart functions', 'summary': 'Discusses creating interactive stock chart functions, including plotting ichimoku stuff and moving averages, and allowing for easy data updating and manipulation, with a focus on providing examples and explanations for customization.', 'duration': 228.939, 'highlights': ['The chapter covers the creation of interactive stock chart functions, such as plotting Ichimoku stuff, moving averages, and Bollinger Bands, for customization and manipulation.', 'The speaker provides guidance on updating stock data and shifting date periods for easy manipulation and back testing.', 'The function for plotting Ichimoku stuff is highlighted as the most complicated in the entire video, emphasizing its significance in the tutorial.']}, {'end': 4513.667, 'start': 4175.341, 'title': 'Plotting ichimoku cloud and identifying momentum', 'summary': 'Demonstrates the process of plotting the ichimoku cloud, identifying momentum through green and red clouds, and creating a list of data frames for analysis.', 'duration': 338.326, 'highlights': ['The process involves plotting the Ichimoku cloud, which is a technical analysis tool, and obtaining the opening price, highs, and lows from a data frame.', 'The chapter discusses the creation of a new data frame focused on the Ichimoku cloud, enabling the differentiation between green and red clouds for effective momentum analysis.', 'The implementation includes defining conditions for green and red clouds based on the relationship between span A and span B, with a focus on simplifying the analysis for user convenience.', 'The chapter covers the process of creating a list of data frames for analysis, demonstrating the accumulation of values and the utilization of group information for visualizing the fills between spans.']}, {'end': 5034.444, 'start': 4514.528, 'title': 'Drawing fill shapes and defining colors', 'summary': 'Explains the process of drawing fill shapes between span a and span b, defining the line and fill colors using rgba, and customizing the ichimoku lines with distinct colors such as pink and black.', 'duration': 519.916, 'highlights': ['The most complicated part is deciding what color to put between span A and span B. The speaker emphasizes the complexity of choosing a color for filling between span A and span B, highlighting the importance of this decision.', 'The code is dedicated to changing the fill color between Span A and Span B. The speaker explains that a significant portion of the code is focused on altering the fill color between Span A and Span B, demonstrating the level of effort and detail involved in this process.', 'Customizing Ichimoku lines with distinct colors like pink and black for better readability. The speaker discusses customizing Ichimoku lines by choosing distinct colors like pink for the baseline and black for the conversion line to enhance readability, demonstrating a deliberate approach to color selection for technical analysis.']}], 'duration': 1089.542, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/4jaBKXDqg9U/pics/4jaBKXDqg9U3944902.jpg', 'highlights': ['The chapter covers creating interactive stock chart functions, such as plotting Ichimoku cloud and moving averages, for customization and manipulation.', 'The process involves plotting the Ichimoku cloud, a technical analysis tool, and obtaining opening price, highs, and lows from a data frame.', 'The most complicated part is deciding what color to put between span A and span B, emphasizing the complexity of choosing a color for filling between span A and span B.', 'The speaker discusses customizing Ichimoku lines by choosing distinct colors like pink for the baseline and black for the conversion line to enhance readability.']}, {'end': 6202.094, 'segs': [{'end': 5097.502, 'src': 'embed', 'start': 5064.642, 'weight': 0, 'content': [{'end': 5070.026, 'text': "It's cool whenever I look and I see somebody in a chat and I recognize their name.", 'start': 5064.642, 'duration': 5.384}, {'end': 5073.829, 'text': 'It totally makes it way more interesting to do this.', 'start': 5070.086, 'duration': 3.743}, {'end': 5075.85, 'text': 'All right.', 'start': 5075.43, 'duration': 0.42}, {'end': 5082.015, 'text': "So I'm in here and I'm going to do the same thing for span A.", 'start': 5075.97, 'duration': 6.045}, {'end': 5082.255, 'text': 'A, like that.', 'start': 5082.015, 'duration': 0.24}, {'end': 5091.375, 'text': 'And I called that inside of here span A.', 'start': 5085.067, 'duration': 6.308}, {'end': 5094.659, 'text': "And I'm going to call this span A, clearly.", 'start': 5091.375, 'duration': 3.284}, {'end': 5097.502, 'text': 'And then I have to define what color I want this to be.', 'start': 5094.679, 'duration': 2.823}], 'summary': 'Recognizing chat participants makes it more interesting. defining color for span a.', 'duration': 32.86, 'max_score': 5064.642, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/4jaBKXDqg9U/pics/4jaBKXDqg9U5064642.jpg'}, {'end': 5667.981, 'src': 'embed', 'start': 5639.177, 'weight': 1, 'content': [{'end': 5641.239, 'text': "So that's what span A and span B do.", 'start': 5639.177, 'duration': 2.062}, {'end': 5648.264, 'text': 'If your spans are spreading apart, that is a sign that momentum is gaining steam.', 'start': 5642.02, 'duration': 6.244}, {'end': 5652.607, 'text': "If they are starting to converge, that means they're losing steam.", 'start': 5648.664, 'duration': 3.943}, {'end': 5655.749, 'text': 'Yeah, thank you for following, Elite Zach.', 'start': 5653.928, 'duration': 1.821}, {'end': 5657.671, 'text': "Now let's go through what all these mean.", 'start': 5656.13, 'duration': 1.541}, {'end': 5660.653, 'text': 'Okay, so we have our lagging indicator.', 'start': 5658.011, 'duration': 2.642}, {'end': 5661.894, 'text': "Let's pull this back.", 'start': 5660.893, 'duration': 1.001}, {'end': 5665.359, 'text': 'and I can tell you exactly what it does.', 'start': 5663.618, 'duration': 1.741}, {'end': 5667.981, 'text': 'Okay, so we have our lagging span,', 'start': 5665.64, 'duration': 2.341}], 'summary': 'Discussion on interpreting momentum based on span a and span b movements.', 'duration': 28.804, 'max_score': 5639.177, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/4jaBKXDqg9U/pics/4jaBKXDqg9U5639177.jpg'}], 'start': 5035.244, 'title': 'Ichimoku cloud indicator', 'summary': 'Introduces customizing colors and properties of ichimoku cloud indicator, emphasizing their importance, while also explaining its significance as an all-in-one indicator and its ability to analyze momentum and signals for various securities.', 'chapters': [{'end': 5736.65, 'start': 5035.244, 'title': 'Ichimoku cloud indicator', 'summary': 'Introduces the process of customizing the colors and properties of span a, span b, and the cloud in the ichimoku cloud indicator, emphasizing the importance of their colors and widths. it also explains the significance and functionality of the ichimoku cloud indicator, providing insights into its use as an all-in-one indicator and its ability to analyze momentum and signals for various securities.', 'duration': 701.406, 'highlights': ["The Ichimoku Cloud indicator's span A and span B are extensively discussed, emphasizing the importance of their colors and widths in indicating buying opportunities and momentum shifts. The speaker discusses the importance of customizing the colors and properties of span A and span B, specifying that span A is made green for buying opportunities when it goes above span B, and span B is made red to indicate its importance. Additionally, the speaker emphasizes the significance of increasing span A's width by two and making it a dotted line, while reducing span B's width to one and leaving it as a dotted line.", "The functionality and significance of the Ichimoku Cloud indicator are explained, highlighting its role as an all-in-one indicator and its ability to analyze momentum and signals for various securities. The Ichimoku Cloud indicator is described as a complete indicator that covers everything, serving as an all-in-one indicator for analyzing momentum and signals for securities such as bonds, cryptos, and stocks. The speaker also discusses the indicator's ability to provide information on the momentum of securities at a particular time, emphasizing its significance in analyzing momentum changes and confirming signals.", 'The functionality of the lagging span in confirming signals and showing support or resistance is detailed, emphasizing its role in conjunction with other indicator lines. The speaker explains the role of the lagging span in confirming signals and displaying support or resistance, indicating that it is used to confirm signals from other indicator lines. Additionally, the speaker highlights the importance of prices converging above the lagging span as a significant signal.']}, {'end': 6202.094, 'start': 5741.841, 'title': 'Understanding ichimoku and portfolio analysis', 'summary': "Covers the concept of ichimoku, explaining its components and functionalities, and also briefly discusses portfolio analysis and the challenges faced on youtube, including insights into the platform's algorithm and content creator support.", 'duration': 460.253, 'highlights': ['Explaining Ichimoku components and functionalities The speaker delves into the components of Ichimoku, such as conversion line, span A, span B, and lagging span, and explains their role in identifying support, resistance, and trend changes.', 'Offering detailed video tutorial on Ichimoku The speaker mentions having a 43-minute video dedicated solely to explaining Ichimoku, emphasizing the availability of comprehensive resources for learning about the topic.', "Discussing portfolio analysis using Markowitz's theory The speaker briefly touches on the concept of portfolio analysis using Markowitz's theory to maximize returns and minimize losses, hinting at the depth of knowledge available for financial analysis techniques.", "Insights into challenges faced on YouTube The speaker provides insights into the challenges faced by content creators on YouTube, discussing the platform's algorithm, clickbait strategies, and the importance of targeting demographic preferences.", "Platform support for content creators The speaker shares his experiences with YouTube's support for content creators, shedding light on the platform's focus on clickbait strategies and the suggested approach to gaining success on the platform."]}], 'duration': 1166.85, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/4jaBKXDqg9U/pics/4jaBKXDqg9U5035244.jpg', 'highlights': ["The Ichimoku Cloud indicator's span A and span B are extensively discussed, emphasizing the importance of their colors and widths in indicating buying opportunities and momentum shifts.", 'The functionality and significance of the Ichimoku Cloud indicator are explained, highlighting its role as an all-in-one indicator and its ability to analyze momentum and signals for various securities.', 'The functionality of the lagging span in confirming signals and showing support or resistance is detailed, emphasizing its role in conjunction with other indicator lines.', 'Explaining Ichimoku components and functionalities The speaker delves into the components of Ichimoku, such as conversion line, span A, span B, and lagging span, and explains their role in identifying support, resistance, and trend changes.', 'Offering detailed video tutorial on Ichimoku The speaker mentions having a 43-minute video dedicated solely to explaining Ichimoku, emphasizing the availability of comprehensive resources for learning about the topic.']}, {'end': 7486.284, 'segs': [{'end': 6344.638, 'src': 'embed', 'start': 6278.643, 'weight': 9, 'content': [{'end': 6287.567, 'text': "I'm not making any more because I really consider this video to be a complete video on the concept of using data science principles for investing.", 'start': 6278.643, 'duration': 8.924}, {'end': 6295.153, 'text': "I'm going to read all of these different all this different stock information.", 'start': 6289.028, 'duration': 6.125}, {'end': 6302.078, 'text': 'What it is is it has different tickers and it has different stock sectors for all those different tickers.', 'start': 6295.233, 'duration': 6.845}, {'end': 6304.34, 'text': 'And I have it in a file.', 'start': 6302.819, 'duration': 1.521}, {'end': 6306.679, 'text': 'that I will also put on GitHub.', 'start': 6304.758, 'duration': 1.921}, {'end': 6309.38, 'text': "It's Python for Finance.", 'start': 6306.699, 'duration': 2.681}, {'end': 6315.602, 'text': "And it's called Big Stock Sectors.", 'start': 6310.44, 'duration': 5.162}, {'end': 6318.123, 'text': 'And I will show you what it looks like.', 'start': 6316.263, 'duration': 1.86}, {'end': 6320.064, 'text': 'So that is the file.', 'start': 6318.504, 'duration': 1.56}, {'end': 6321.725, 'text': 'And let me show you what it looks like.', 'start': 6320.544, 'duration': 1.181}, {'end': 6326.967, 'text': 'There it is, Big Stock Sectors.', 'start': 6324.466, 'duration': 2.501}, {'end': 6330.989, 'text': 'Where did I put it? Python for Finance.', 'start': 6327.387, 'duration': 3.602}, {'end': 6334.31, 'text': 'Is it in my D folder? Yes.', 'start': 6332.829, 'duration': 1.481}, {'end': 6336.513, 'text': 'Should be here.', 'start': 6335.913, 'duration': 0.6}, {'end': 6337.194, 'text': 'Oh, there it is.', 'start': 6336.673, 'duration': 0.521}, {'end': 6337.674, 'text': 'I found it.', 'start': 6337.254, 'duration': 0.42}, {'end': 6339.055, 'text': 'All right.', 'start': 6338.715, 'duration': 0.34}, {'end': 6341.797, 'text': 'Here is the thing.', 'start': 6339.435, 'duration': 2.362}, {'end': 6344.638, 'text': "And as you can see here, there's tickers.", 'start': 6341.817, 'duration': 2.821}], 'summary': 'Video on data science principles for investing with python for finance and big stock sectors file shared on github.', 'duration': 65.995, 'max_score': 6278.643, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/4jaBKXDqg9U/pics/4jaBKXDqg9U6278643.jpg'}, {'end': 6447.181, 'src': 'embed', 'start': 6398.392, 'weight': 10, 'content': [{'end': 6399.332, 'text': "You know, it's no big deal.", 'start': 6398.392, 'duration': 0.94}, {'end': 6405.938, 'text': 'Okay So we have all of those and then I can go this just to make sure.', 'start': 6400.453, 'duration': 5.485}, {'end': 6406.518, 'text': 'There they are.', 'start': 6406.118, 'duration': 0.4}, {'end': 6413.055, 'text': 'So you can see here is the tickers the names the descriptions market cap and sectors for 6001 stocks.', 'start': 6407.031, 'duration': 6.024}, {'end': 6414.075, 'text': 'All right.', 'start': 6413.715, 'duration': 0.36}, {'end': 6423.001, 'text': 'So now what I want to do is I want to go and get all the industrial stocks and I want to put them into a data frame,', 'start': 6414.176, 'duration': 8.825}, {'end': 6430.086, 'text': "and then I'm going to analyze their cumulative returns to see which performed the best over a five-year period.", 'start': 6423.001, 'duration': 7.085}, {'end': 6436.859, 'text': "Now, of course, you can also go and do this over a shorter period, but I'm just going to work with five years from now.", 'start': 6430.147, 'duration': 6.712}, {'end': 6438.995, 'text': 'just because.', 'start': 6438.294, 'duration': 0.701}, {'end': 6443.058, 'text': "And then you're going to be able to so easily update all your files.", 'start': 6439.415, 'duration': 3.643}, {'end': 6447.181, 'text': "You're going to be able to open up Ultimate Download and just hit enter.", 'start': 6443.238, 'duration': 3.943}], 'summary': 'Analyzing cumulative returns of 6001 stocks to find best performers over 5 years.', 'duration': 48.789, 'max_score': 6398.392, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/4jaBKXDqg9U/pics/4jaBKXDqg9U6398392.jpg'}, {'end': 6499.534, 'src': 'embed', 'start': 6465.035, 'weight': 4, 'content': [{'end': 6467.437, 'text': "You're going to be able to jump into the sectors file.", 'start': 6465.035, 'duration': 2.402}, {'end': 6471.766, 'text': "You're going to be able to pull up all of your information for all of your stock sectors.", 'start': 6467.722, 'duration': 4.044}, {'end': 6481.215, 'text': 'And then finally, to finish off this whole tutorial, after you pick up all the different companies that you like in the ultimate portfolio file,', 'start': 6472.126, 'duration': 9.089}, {'end': 6484.058, 'text': "you're going to be able to throw all those different stocks in there.", 'start': 6481.215, 'duration': 2.843}, {'end': 6490.764, 'text': "You're going to hit enter and it's going to create a portfolio of all optimized securities that are.", 'start': 6484.358, 'duration': 6.406}, {'end': 6499.534, 'text': "then you're going to be able to say I have $10,000 to invest or I have $500 to invest or $100 to invest.", 'start': 6490.764, 'duration': 8.77}], 'summary': 'Tutorial demonstrates creating an optimized stock portfolio with various investment amounts.', 'duration': 34.499, 'max_score': 6465.035, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/4jaBKXDqg9U/pics/4jaBKXDqg9U6465035.jpg'}, {'end': 6594.323, 'src': 'embed', 'start': 6566.019, 'weight': 5, 'content': [{'end': 6569.281, 'text': "Well, I'm going to do this for like 11 different stock sectors.", 'start': 6566.019, 'duration': 3.262}, {'end': 6576.406, 'text': "And then we're going to be able to analyze them and find the best stocks in every single stock sector using the Ichimoku to make predictions.", 'start': 6569.361, 'duration': 7.045}, {'end': 6581.47, 'text': "Okay But understand this stock data actually, the market's up today, isn't it? Let me look.", 'start': 6576.627, 'duration': 4.843}, {'end': 6584.059, 'text': "I think the market's up today.", 'start': 6582.798, 'duration': 1.261}, {'end': 6589.641, 'text': 'Last time I checked, it looked like it was going to be up.', 'start': 6586.34, 'duration': 3.301}, {'end': 6590.201, 'text': "I don't know.", 'start': 6589.881, 'duration': 0.32}, {'end': 6594.323, 'text': "I'm looking right now.", 'start': 6590.361, 'duration': 3.962}], 'summary': 'Analyzing 11 stock sectors with ichimoku for stock predictions.', 'duration': 28.304, 'max_score': 6566.019, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/4jaBKXDqg9U/pics/4jaBKXDqg9U6566019.jpg'}, {'end': 6740.261, 'src': 'embed', 'start': 6703.805, 'weight': 0, 'content': [{'end': 6709.547, 'text': 'And you could turn this whole entire video I just made into probably a college course quite easily.', 'start': 6703.805, 'duration': 5.742}, {'end': 6713.828, 'text': "There's a lot of insane amounts of information packed into this video.", 'start': 6709.567, 'duration': 4.261}, {'end': 6722.264, 'text': "utilities And I'm just going through and getting all the different stock sectors.", 'start': 6715.441, 'duration': 6.823}, {'end': 6724.545, 'text': 'And then we will analyze them.', 'start': 6722.904, 'duration': 1.641}, {'end': 6740.261, 'text': 'So financials, and I call that financials, and materials, material, And that was called Materials in my Excel file.', 'start': 6725.065, 'duration': 15.196}], 'summary': 'Video can be turned into a college course with an abundance of information on stock sectors.', 'duration': 36.456, 'max_score': 6703.805, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/4jaBKXDqg9U/pics/4jaBKXDqg9U6703805.jpg'}, {'end': 6908.916, 'src': 'embed', 'start': 6879.675, 'weight': 3, 'content': [{'end': 6884.197, 'text': "That's just, you better really know your business if you're going to get involved in that.", 'start': 6879.675, 'duration': 4.522}, {'end': 6902.228, 'text': 'Mainly what I do is I analyze the securities that I think would best fit into a portfolio and then I use correlation analysis to create efficient portfolios that maximize return and minimize loss,', 'start': 6886.198, 'duration': 16.03}, {'end': 6905.03, 'text': "which I haven't even covered yet, but I am going to cover in this video.", 'start': 6902.228, 'duration': 2.802}, {'end': 6908.916, 'text': 'Yeah, yeah.', 'start': 6907.935, 'duration': 0.981}], 'summary': 'Analyzing securities for efficient portfolios with correlation analysis.', 'duration': 29.241, 'max_score': 6879.675, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/4jaBKXDqg9U/pics/4jaBKXDqg9U6879675.jpg'}, {'end': 7251.422, 'src': 'embed', 'start': 7229.806, 'weight': 8, 'content': [{'end': 7239.053, 'text': 'but they used to make videos about having monkeys throw darts at a board and it would hit a random stock and people would buy it and the stock would go up.', 'start': 7229.806, 'duration': 9.247}, {'end': 7242.015, 'text': "And guess what? When I was a stockbroker, it wasn't like that.", 'start': 7240.113, 'duration': 1.902}, {'end': 7248.46, 'text': 'So what I started doing was I started analyzing who was making money.', 'start': 7242.455, 'duration': 6.005}, {'end': 7251.422, 'text': 'And there was an organization, a hedge fund, called Northwest Quadrant,', 'start': 7248.48, 'duration': 2.942}], 'summary': 'Former stockbroker analyzed hedge fund northwest quadrant for making money.', 'duration': 21.616, 'max_score': 7229.806, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/4jaBKXDqg9U/pics/4jaBKXDqg9U7229806.jpg'}, {'end': 7355.719, 'src': 'embed', 'start': 7313.032, 'weight': 1, 'content': [{'end': 7314.893, 'text': 'I think I typed all, I think I did all that right.', 'start': 7313.032, 'duration': 1.861}, {'end': 7319.876, 'text': 'Okay Yeah, the name of the hedge fund was Northwest Chorondra.', 'start': 7315.533, 'duration': 4.343}, {'end': 7325.479, 'text': "Each stream you do, I'm a little bit more excited to return to the Korean statistics.", 'start': 7319.996, 'duration': 5.483}, {'end': 7327.06, 'text': 'I love statistics.', 'start': 7325.979, 'duration': 1.081}, {'end': 7329.521, 'text': "It's like the greatest thing ever.", 'start': 7327.16, 'duration': 2.361}, {'end': 7335.184, 'text': "There's nothing that I really enjoy analyzing better.", 'start': 7331.462, 'duration': 3.722}, {'end': 7342.248, 'text': "It's so much fun because you just tear the whole world apart and everything just starts to make a little bit more sense.", 'start': 7335.244, 'duration': 7.004}, {'end': 7348.476, 'text': "So I'm going to go get my industrial data frame, and then I'm going to print this out so you can just see.", 'start': 7343.274, 'duration': 5.202}, {'end': 7351.177, 'text': "And then I'll walk you through exactly what the function's doing.", 'start': 7348.516, 'duration': 2.661}, {'end': 7355.279, 'text': "Oops Oh, it's going to do that because it's going to look for it.", 'start': 7351.717, 'duration': 3.562}, {'end': 7355.719, 'text': 'There we go.', 'start': 7355.319, 'duration': 0.4}], 'summary': 'Enthusiastic about statistics, excited to return to korean statistics, enjoying analyzing and tearing the world apart for understanding.', 'duration': 42.687, 'max_score': 7313.032, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/4jaBKXDqg9U/pics/4jaBKXDqg9U7313032.jpg'}], 'start': 6202.455, 'title': 'Investing and data science', 'summary': 'Covers using data science for investing, analyzing 61,004 different stocks and their sectors, creating optimized portfolios, maximizing return and minimizing loss, and achieving an average rate of return of 32% for clients.', 'chapters': [{'end': 6423.001, 'start': 6202.455, 'title': 'Data science for investing', 'summary': 'Covers using data science principles for investing, including analyzing sector stocks and working with 61,004 different stocks and their sectors, all of which will be available on github.', 'duration': 220.546, 'highlights': ['The chapter includes working with 61,004 different stocks and their sectors, which will be available on GitHub.', 'Analyzing sector stocks using data science principles for investing.', 'Providing files for plotting, calculating stats, and working with stock sectors on GitHub.']}, {'end': 6649.414, 'start': 6423.001, 'title': 'Stocks analysis and portfolio optimization', 'summary': 'Involves analyzing cumulative returns of stocks over a five-year period, updating stock statistics, creating optimized portfolios, and analyzing different stock sectors to make predictions using ichimoku, with the goal of providing a complete solution for investors.', 'duration': 226.413, 'highlights': ['Creating optimized portfolios based on different investment amounts The tutorial provides the ability to create portfolios of optimized securities based on specific investment amounts, such as $10,000, $500, or $100.', 'Analyzing different stock sectors to find the best stocks using Ichimoku The process involves analyzing 11 different stock sectors and finding the best stocks in each sector using Ichimoku to make predictions.', "Downloading stock data from Yahoo Finance and updating stock statistics The tutorial allows for the easy download of stocks from Yahoo Finance and the update of statistics for different stocks using the 'Ultimate Download' and 'Invest Calculate Stats' tools."]}, {'end': 7055.228, 'start': 6649.874, 'title': 'Creating solid investment portfolios', 'summary': 'Covers creating solid investment portfolios, using correlation analysis to maximize return and minimize loss, and emphasizes long-term investment strategies while warning against risky day trading. the speaker shares his experience as a stockbroker, achieving an average rate of return of 32% for his clients, and emphasizes the importance of creating a solid portfolio based on nobel prize-winning investment principles.', 'duration': 405.354, 'highlights': ['The speaker achieved an average rate of return of 32% for his clients during his time as a stockbroker, right after the tech bubble burst.', 'The chapter emphasizes creating solid investment portfolios using correlation analysis to maximize return and minimize loss, based on Nobel Prize-winning investment principles.', 'The speaker warns against risky day trading, citing examples of day traders who ultimately lost all their money due to addiction and lack of focus.', 'The importance of creating a solid investment portfolio is emphasized, highlighting the risks associated with investing in volatile and risky assets.', 'The chapter provides insights into using correlation analysis to create efficient portfolios and emphasizes the need to focus on long-term investment strategies rather than day trading.', 'The speaker shares his experience of finding a hedge fund called Northwest Quadrant (NWQ) and emphasizes the significance of automating daily data downloading for portfolio updates and additions.']}, {'end': 7486.284, 'start': 7055.248, 'title': 'Creating cumulative returns for stock data', 'summary': 'Involves creating a function to calculate cumulative returns for stocks from different sectors, and the speaker shares personal experiences from their time as a stockbroker, highlighting the importance of data analysis and the potential for machine learning in future videos.', 'duration': 431.036, 'highlights': ["The speaker discusses creating a function to calculate cumulative returns for stocks from different sectors, emphasizing the process of iterating through stock data frames and creating lists of tickers and cumulative returns. Personal anecdotes from the speaker's time as a stockbroker are shared, highlighting the challenges faced by investors during the tech bubble burst and the shift towards data-driven investment strategies. The potential for future topics such as machine learning and analysis of other markets is mentioned.", 'The speaker talks about the importance of data analysis and statistical analysis, expressing enthusiasm for the subject and its potential to provide valuable insights. They also demonstrate the process of retrieving and printing industrial sector stock data, highlighting the creation of a list containing tickers and cumulative returns.', 'The speaker mentions their involvement in the crypto market and their previous video discussing investments in crypto, demonstrating versatility and willingness to explore different markets and strategies. They emphasize the availability of all related materials on GitHub and express a lack of interest in selling products or services.']}], 'duration': 1283.829, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/4jaBKXDqg9U/pics/4jaBKXDqg9U6202455.jpg', 'highlights': ['Achieved 32% average rate of return for clients after tech bubble burst', 'Emphasizes creating solid investment portfolios using correlation analysis', 'Provides insights into using correlation analysis to create efficient portfolios', 'Warns against risky day trading and emphasizes long-term investment strategies', 'Discusses creating a function to calculate cumulative returns for stocks', 'Analyzing 61,004 different stocks and their sectors for investing', 'Creating optimized portfolios based on different investment amounts', 'Analyzing different stock sectors to find the best stocks using Ichimoku', 'Downloading stock data from Yahoo Finance and updating stock statistics', 'Provides files for plotting, calculating stats, and working with stock sectors on GitHub', 'Shares personal anecdotes from time as a stockbroker during tech bubble burst', 'Expresses enthusiasm for data analysis and statistical analysis', 'Mentions involvement in the crypto market and willingness to explore different markets']}, {'end': 8275.209, 'segs': [{'end': 7521.344, 'src': 'embed', 'start': 7488.864, 'weight': 1, 'content': [{'end': 7490.285, 'text': "And that doesn't cost anything either.", 'start': 7488.864, 'duration': 1.421}, {'end': 7492.865, 'text': 'So there you go.', 'start': 7490.305, 'duration': 2.56}, {'end': 7495.426, 'text': 'So there we are.', 'start': 7494.806, 'duration': 0.62}, {'end': 7500.219, 'text': 'and discretion.', 'start': 7497.478, 'duration': 2.741}, {'end': 7504.5, 'text': 'And discretion.', 'start': 7500.239, 'duration': 4.261}, {'end': 7509.901, 'text': 'Anything else? Okay, I thought I saw a new chat thing pop up.', 'start': 7504.54, 'duration': 5.361}, {'end': 7512.102, 'text': 'And this is going to be called utility.', 'start': 7510.341, 'duration': 1.761}, {'end': 7521.344, 'text': 'And this is I think I call this utility utility data frame.', 'start': 7512.122, 'duration': 9.222}], 'summary': 'The conversation involves the topic of utility and discretion.', 'duration': 32.48, 'max_score': 7488.864, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/4jaBKXDqg9U/pics/4jaBKXDqg9U7488864.jpg'}, {'end': 8096.396, 'src': 'embed', 'start': 8071.849, 'weight': 0, 'content': [{'end': 8080.316, 'text': 'And the ultimate goal in doing so is to find a security like this is showing long-term growth,', 'start': 8071.849, 'duration': 8.467}, {'end': 8084.639, 'text': "but also it's showing a lot of long-term growth since 2020..", 'start': 8080.316, 'duration': 4.323}, {'end': 8087.562, 'text': 'And we all know this has been wacko world lately.', 'start': 8084.639, 'duration': 2.923}, {'end': 8096.396, 'text': "So you're gonna wanna look at a five year chart and you're also gonna wanna look at a one year chart and a six month chart.", 'start': 8088.871, 'duration': 7.525}], 'summary': 'Seek a security with long-term growth since 2020, despite recent market volatility.', 'duration': 24.547, 'max_score': 8071.849, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/4jaBKXDqg9U/pics/4jaBKXDqg9U8071849.jpg'}, {'end': 8151.213, 'src': 'embed', 'start': 8120.247, 'weight': 4, 'content': [{'end': 8131.273, 'text': "What we're going to do now is apply all of Markowitz's portfolio ideas to create a portfolio that maximizes return while minimizing risk.", 'start': 8120.247, 'duration': 11.026}, {'end': 8136.936, 'text': 'And I have to take another break and then I will create that and then you will know everything.', 'start': 8131.893, 'duration': 5.043}, {'end': 8138.477, 'text': "So I'll be back in like a minute.", 'start': 8136.996, 'duration': 1.481}, {'end': 8145.47, 'text': "All right, I'm back.", 'start': 8144.91, 'duration': 0.56}, {'end': 8151.213, 'text': "I'm going to go and copy a couple different things over here to save time.", 'start': 8147.311, 'duration': 3.902}], 'summary': "Applying markowitz's portfolio ideas to maximize return and minimize risk.", 'duration': 30.966, 'max_score': 8120.247, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/4jaBKXDqg9U/pics/4jaBKXDqg9U8120247.jpg'}], 'start': 7488.864, 'title': 'Data science and finance applications', 'summary': 'Delves into the application of data science and machine learning in finance, focusing on stock sector analysis, risk mitigation, high returns, sector-based risk management, investment analysis, portfolio creation, and maximizing return and minimizing risk in investment.', 'chapters': [{'end': 8020.819, 'start': 7488.864, 'title': 'Data science and machine learning in finance', 'summary': 'Discusses the application of data science and machine learning in finance, specifically analyzing stock sectors and mitigating risk, with a focus on high returns and sector-based risk management.', 'duration': 531.955, 'highlights': ['The chapter discusses the application of data science and machine learning in finance, specifically analyzing stock sectors and mitigating risk. The speaker emphasizes the excitement and significance of data science and machine learning in finance, highlighting their potential to drive investment decisions and minimize risk through sector-based analysis.', 'The speaker demonstrates the process of analyzing top grossing industrial stocks over the last five years based on cumulative returns. The speaker explains the process of sorting and analyzing the top 10 industrial stocks based on cumulative rate of return over the last five years, aiming to identify potential investment opportunities.', 'The chapter emphasizes the high risk associated with healthcare stocks and the need for sector-based risk management. The speaker emphasizes the extreme risk associated with healthcare stocks, citing an example of a 32 times return and highlighting the need for sector-based risk management strategies to mitigate such high risks.', 'The speaker discusses the competition in online education and highlights the unique approach of smaller creators in comparison to universities. The speaker discusses the competition in online education, noting the dominance of universities and highlighting the unique approach of smaller creators, such as live streams, in contrast to the larger institutional channels.']}, {'end': 8275.209, 'start': 8022.24, 'title': 'Investment analysis and portfolio creation', 'summary': "Discusses the analysis of sectors, combining short-term and long-term trends, and the application of markowitz's portfolio ideas to maximize return and minimize risk in investment.", 'duration': 252.969, 'highlights': ['The ultimate goal is to find a security showing long-term growth and an expanding green cloud, indicating a potentially good investment, amidst the volatile market since 2020.', 'Emphasizes the importance of combining short-term and long-term trends by looking at a five year, one year, and six month chart to assess potential investments.', "Discusses the application of Markowitz's portfolio ideas to create a portfolio that maximizes return while minimizing risk in investment analysis."]}], 'duration': 786.345, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/4jaBKXDqg9U/pics/4jaBKXDqg9U7488864.jpg', 'highlights': ['The chapter emphasizes the high risk associated with healthcare stocks and the need for sector-based risk management.', 'The speaker demonstrates the process of analyzing top grossing industrial stocks over the last five years based on cumulative returns.', 'The ultimate goal is to find a security showing long-term growth and an expanding green cloud, indicating a potentially good investment, amidst the volatile market since 2020.', 'Emphasizes the importance of combining short-term and long-term trends by looking at a five year, one year, and six month chart to assess potential investments.', "Discusses the application of Markowitz's portfolio ideas to create a portfolio that maximizes return while minimizing risk in investment analysis."]}, {'end': 9082.182, 'segs': [{'end': 8341.3, 'src': 'embed', 'start': 8311.134, 'weight': 4, 'content': [{'end': 8312.355, 'text': 'This is the final thing.', 'start': 8311.134, 'duration': 1.221}, {'end': 8315.498, 'text': 'And, um, probably going to be able to get through it here really quick.', 'start': 8312.596, 'duration': 2.902}, {'end': 8316.839, 'text': 'Uh, just give me one second.', 'start': 8315.817, 'duration': 1.022}, {'end': 8318.781, 'text': "I have to, I'm having a slight technical issue.", 'start': 8316.859, 'duration': 1.922}, {'end': 8319.3, 'text': 'I have to fix.', 'start': 8318.8, 'duration': 0.5}, {'end': 8326.007, 'text': 'All right.', 'start': 8325.746, 'duration': 0.261}, {'end': 8326.948, 'text': 'Back Okay.', 'start': 8326.166, 'duration': 0.782}, {'end': 8329.518, 'text': 'So um, here it is.', 'start': 8327.617, 'duration': 1.901}, {'end': 8333.218, 'text': 'Here is the ultimate portfolio creation tool.', 'start': 8329.638, 'duration': 3.58}, {'end': 8334.579, 'text': 'And I really do believe it is.', 'start': 8333.439, 'duration': 1.14}, {'end': 8336.218, 'text': "It's pretty awesome.", 'start': 8335.299, 'duration': 0.919}, {'end': 8339.6, 'text': 'Okay, all the same files, all the same libraries, nothing changed there.', 'start': 8336.478, 'duration': 3.122}, {'end': 8341.3, 'text': 'All the constants are the same.', 'start': 8339.98, 'duration': 1.32}], 'summary': 'Ultimate portfolio creation tool with same files and libraries.', 'duration': 30.166, 'max_score': 8311.134, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/4jaBKXDqg9U/pics/4jaBKXDqg9U8311134.jpg'}, {'end': 8483.652, 'src': 'embed', 'start': 8460.251, 'weight': 0, 'content': [{'end': 8468.113, 'text': "So it's going to have a big data frame that has data frame data on only one column for every single data frame.", 'start': 8460.251, 'duration': 7.862}, {'end': 8469.413, 'text': 'Make sense? I think so.', 'start': 8468.333, 'duration': 1.08}, {'end': 8474.345, 'text': "All right, now we're getting into the greatest thing there is.", 'start': 8470.342, 'duration': 4.003}, {'end': 8481.11, 'text': 'Remember I said Northwest Quadrant, they figured out how to make money while everybody else was losing money? This is how they did it.', 'start': 8474.365, 'duration': 6.745}, {'end': 8483.652, 'text': 'A man named Harry Markowitz, he..', 'start': 8481.13, 'duration': 2.522}], 'summary': "Utilizing big data frame, northwest quadrant found success with harry markowitz's approach.", 'duration': 23.401, 'max_score': 8460.251, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/4jaBKXDqg9U/pics/4jaBKXDqg9U8460251.jpg'}, {'end': 8599.547, 'src': 'embed', 'start': 8547.364, 'weight': 1, 'content': [{'end': 8562.573, 'text': "And so what you do is you use Markowitz's portfolio optimization techniques to buy the exact percentage of that sugar company so that you bring down the overall risk of your Hershey stock investment.", 'start': 8547.364, 'duration': 15.209}, {'end': 8569.616, 'text': "But because Hershey stock, Hershey makes chocolate, ice cream or chocolate for people that don't live in the United States.", 'start': 8562.653, 'duration': 6.963}, {'end': 8570.557, 'text': 'I guess I should have said that.', 'start': 8569.656, 'duration': 0.901}, {'end': 8578.303, 'text': 'Um, but uh, and it, what it does is it gives you a great return, but it minimizes your risk because,', 'start': 8571.818, 'duration': 6.485}, {'end': 8588.029, 'text': 'as Hershey stocks fluctuates I guess I should use this hand as Hershey stock fluctuates based off of the ups and downs of sugar.', 'start': 8578.303, 'duration': 9.726}, {'end': 8591.732, 'text': 'you own the corporation that sells Hershey, the sugar.', 'start': 8588.029, 'duration': 3.703}, {'end': 8592.812, 'text': 'So it.', 'start': 8592.192, 'duration': 0.62}, {'end': 8599.547, 'text': 'so whenever their uh value goes down, Hershey goes up, and whenever Hershey goes down, they go up.', 'start': 8592.812, 'duration': 6.735}], 'summary': "Use markowitz's portfolio optimization to reduce risk of hershey stock by buying sugar company shares.", 'duration': 52.183, 'max_score': 8547.364, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/4jaBKXDqg9U/pics/4jaBKXDqg9U8547364.jpg'}, {'end': 8756.501, 'src': 'embed', 'start': 8724.948, 'weight': 3, 'content': [{'end': 8726.85, 'text': "I'm not telling you go buy these stocks.", 'start': 8724.948, 'duration': 1.902}, {'end': 8728.291, 'text': "I'm using it as an example.", 'start': 8726.91, 'duration': 1.381}, {'end': 8731.294, 'text': 'I leave it to you to figure out how to do all your other stuff.', 'start': 8728.652, 'duration': 2.642}, {'end': 8734.277, 'text': 'Okay, so this is the portfolio of stocks.', 'start': 8732.155, 'duration': 2.122}, {'end': 8737.3, 'text': 'I just created a list and I throw a whole bunch of tickers inside of it.', 'start': 8734.337, 'duration': 2.963}, {'end': 8745.572, 'text': 'They are stocks that are for a large to a large extent in the same are in different sectors.', 'start': 8737.72, 'duration': 7.852}, {'end': 8756.501, 'text': "I know Costco and BJ's warehouse, I think they're called, they're obviously in the same sector, but this is my portfolio I'm using in this example.", 'start': 8745.632, 'duration': 10.869}], 'summary': "Portfolio consists of stocks from various sectors, including costco and bj's warehouse.", 'duration': 31.553, 'max_score': 8724.948, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/4jaBKXDqg9U/pics/4jaBKXDqg9U8724948.jpg'}], 'start': 8276.011, 'title': 'Portfolio creation and financial analysis', 'summary': 'Covers the use of a blank wall for an intelligent appearance, introduces an ultimate portfolio creation tool, and explores financial portfolio analysis and optimization techniques including risk-free rate, stock data merging, creating efficient portfolios, and assessing cumulative rate of return.', 'chapters': [{'end': 8336.218, 'start': 8276.011, 'title': 'Ultimate portfolio creation tool', 'summary': "Discusses the speaker's use of a blank wall to seem intelligent, a slight technical issue, and the introduction of an ultimate portfolio creation tool.", 'duration': 60.207, 'highlights': ['The speaker discusses using a blank wall to appear intelligent, suggesting the need for props to convey knowledge and wit.', 'The speaker encounters a slight technical issue, leading to a brief interruption in the presentation.', 'The speaker introduces an ultimate portfolio creation tool, expressing confidence in its quality and effectiveness.']}, {'end': 9082.182, 'start': 8336.478, 'title': 'Financial portfolio analysis and optimization', 'summary': 'Discusses analyzing and optimizing financial portfolios using efficient portfolio techniques, including risk-free rate, merging stock data, creating efficient portfolios, and assessing cumulative rate of return.', 'duration': 745.704, 'highlights': ['The chapter introduces the concept of risk-free rate at 1.25% for comparing investments. The risk-free rate is introduced at 1.25% to be used for comparing investments.', 'Explanation of creating efficient portfolios using correlation and portfolio optimization techniques by Harry Markowitz. Explanation of creating efficient portfolios using correlation and portfolio optimization techniques by Harry Markowitz.', 'Demonstration of merging multiple stocks into a single data frame and plotting price changes for a portfolio over a five-year period. Demonstration of merging multiple stocks into a single data frame and plotting price changes for a portfolio over a five-year period.']}], 'duration': 806.171, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/4jaBKXDqg9U/pics/4jaBKXDqg9U8276011.jpg', 'highlights': ['Introducing an ultimate portfolio creation tool with confidence.', 'Discussing the use of a blank wall to appear intelligent.', 'Demonstrating merging multiple stocks into a single data frame and plotting price changes for a portfolio over a five-year period.', 'Explaining the concept of risk-free rate at 1.25% for comparing investments.', 'Explaining creating efficient portfolios using correlation and portfolio optimization techniques by Harry Markowitz.']}, {'end': 10062.695, 'segs': [{'end': 9166.435, 'src': 'embed', 'start': 9082.402, 'weight': 0, 'content': [{'end': 9085.244, 'text': "I have all kinds of goofy things that pop up whenever I'm doing these.", 'start': 9082.402, 'duration': 2.842}, {'end': 9086.985, 'text': 'Okay Sorry to get distracted.', 'start': 9085.524, 'duration': 1.461}, {'end': 9090.808, 'text': "Is there anything else I need to do? I don't think so.", 'start': 9088.827, 'duration': 1.981}, {'end': 9093.43, 'text': "So, let's see the plot for cumulative rate of returns.", 'start': 9091.108, 'duration': 2.322}, {'end': 9096.875, 'text': 'And you can see the cumulative rate of return.', 'start': 9094.574, 'duration': 2.301}, {'end': 9100.756, 'text': 'AMD is kicking butt over the long term, that is.', 'start': 9097.215, 'duration': 3.541}, {'end': 9108.378, 'text': 'So there, if we invested $1 in 2017, that $1 would now be worth $11.84.', 'start': 9104.457, 'duration': 3.921}, {'end': 9112.119, 'text': 'So I bet you wish you would have bought AMD five years ago.', 'start': 9108.378, 'duration': 3.741}, {'end': 9123.973, 'text': 'Well, thank you very much, CodeZolid.', 'start': 9122.452, 'duration': 1.521}, {'end': 9127.215, 'text': 'I greatly appreciate that.', 'start': 9124.013, 'duration': 3.202}, {'end': 9128.376, 'text': 'I really do.', 'start': 9127.475, 'duration': 0.901}, {'end': 9129.157, 'text': 'You have no idea.', 'start': 9128.516, 'duration': 0.641}, {'end': 9131.979, 'text': 'Okay, so I showed you how to plot out the prices.', 'start': 9129.897, 'duration': 2.082}, {'end': 9134.24, 'text': 'I showed you how to plot out cumulative rate of return.', 'start': 9132.039, 'duration': 2.201}, {'end': 9135.981, 'text': "Here's our range slider, by the way.", 'start': 9134.36, 'duration': 1.621}, {'end': 9140.124, 'text': 'So if you want to zoom in and look at anything specific, that is how you do it.', 'start': 9136.442, 'duration': 3.682}, {'end': 9144.407, 'text': 'Yes, and a lot of these techniques can be used for numerous different things, of course.', 'start': 9140.605, 'duration': 3.802}, {'end': 9146.288, 'text': 'Mean returns.', 'start': 9145.648, 'duration': 0.64}, {'end': 9162.592, 'text': "So I'm going to say returns is equal to mp and log and you can go malt data frame and divide this by malt data frame,", 'start': 9147.049, 'duration': 15.543}, {'end': 9166.435, 'text': "because we're going to have to work with prices here to a certain extent.", 'start': 9162.592, 'duration': 3.843}], 'summary': "Amd's cumulative rate of return grew 11.84 times from 2017 to present, showcasing long-term success.", 'duration': 84.033, 'max_score': 9082.402, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/4jaBKXDqg9U/pics/4jaBKXDqg9U9082402.jpg'}], 'start': 9082.402, 'title': 'Portfolio analysis', 'summary': 'Covers plotting the cumulative rate of return for amd, showing a significant increase from $1 to $11.84, analyzing portfolio risk and return, including mean rate of return and correlation to identify non-correlated assets, and generating 10,000 portfolios to find an efficient portfolio for every level of risk.', 'chapters': [{'end': 9166.435, 'start': 9082.402, 'title': 'Plotting cumulative rate of return for amd', 'summary': 'Demonstrates the process of plotting the cumulative rate of return for amd, showing a significant increase from a $1 investment in 2017 to $11.84, along with techniques for zooming in on specific details.', 'duration': 84.033, 'highlights': ["AMD's cumulative rate of return of $11.84 from a $1 investment in 2017 showcases its significant long-term performance, demonstrating a noteworthy increase.", 'The process of zooming in on specific details using a range slider is explained, providing a practical technique for analyzing data in detail.', 'Techniques for calculating mean returns using log and data frame operations are introduced, offering valuable insights into analyzing price data for various purposes.']}, {'end': 9573.196, 'start': 9166.435, 'title': 'Portfolio risk and return analysis', 'summary': 'Discusses the importance of analyzing portfolio risk and return, including the calculation of mean rate of return and correlation to identify non-correlated assets, with emphasis on achieving a correlation of less than 0.5 for a diversified portfolio.', 'duration': 406.761, 'highlights': ['The chapter emphasizes the importance of analyzing portfolio risk and return, including the calculation of mean rate of return and correlation to identify non-correlated assets. The discussion focuses on the significance of understanding portfolio risk and return, with a specific emphasis on mean rate of return and correlation analysis.', 'The calculation of mean rate of return involves multiplying the return by 252, representing the average of 252 trading days per year. The process of annualizing the mean rate of return is explained, involving the multiplication of the return by 252 to obtain the yearly return for the securities.', 'Emphasis is placed on achieving a correlation of less than 0.5 for a diversified portfolio to identify non-correlated assets. The goal is to construct a portfolio with non-correlated assets, as demonstrated by the focus on achieving a correlation of less than 0.5 for a diversified portfolio.']}, {'end': 10062.695, 'start': 9573.216, 'title': 'Efficient portfolio generation', 'summary': 'Discusses the process of randomly generating 10,000 portfolios to find an efficient portfolio, calculating the return and risk for randomly generated portfolios, and creating 10,000 portfolios to find the most efficient portfolio for every level of risk.', 'duration': 489.479, 'highlights': ['The process of randomly generating 10,000 portfolios to find an efficient portfolio. The speaker discusses the generation of random weights to create portfolios and the goal of finding an efficient portfolio among 10,000 randomly generated portfolios.', 'Calculating the return and risk for randomly generated portfolios. The speaker demonstrates the calculation of the annualized rate of return and risk for randomly generated portfolios, yielding a 34.5% rate of return and 23.7% risk for one randomly generated portfolio.', 'Creating 10,000 portfolios to find the most efficient portfolio for every level of risk. The chapter outlines the plan to create 10,000 portfolios and analyze them to find the most efficient portfolio for every level of risk.']}], 'duration': 980.293, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/4jaBKXDqg9U/pics/4jaBKXDqg9U9082402.jpg', 'highlights': ["AMD's cumulative rate of return of $11.84 from a $1 investment in 2017 showcases its significant long-term performance, demonstrating a noteworthy increase.", 'The process of randomly generating 10,000 portfolios to find an efficient portfolio.', 'The chapter emphasizes the importance of analyzing portfolio risk and return, including the calculation of mean rate of return and correlation to identify non-correlated assets.']}, {'end': 12053.293, 'segs': [{'end': 10146.738, 'src': 'embed', 'start': 10116.632, 'weight': 2, 'content': [{'end': 10122.455, 'text': 'how to see the return and how to also see the standard deviation or the risk of the portfolio.', 'start': 10116.632, 'duration': 5.823}, {'end': 10125.917, 'text': 'And again, just understand risk is up and down.', 'start': 10122.695, 'duration': 3.222}, {'end': 10132.761, 'text': "Okay So I'm going to create a whole bunch of different lists here.", 'start': 10125.937, 'duration': 6.824}, {'end': 10135.763, 'text': 'And just keep firing questions at me if you have them.', 'start': 10133.441, 'duration': 2.322}, {'end': 10138.264, 'text': 'This is going to be the return list.', 'start': 10135.803, 'duration': 2.461}, {'end': 10146.738, 'text': 'And this is going to be the volatility for all of these.', 'start': 10139.493, 'duration': 7.245}], 'summary': 'Explaining how to calculate portfolio return and risk using different lists.', 'duration': 30.106, 'max_score': 10116.632, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/4jaBKXDqg9U/pics/4jaBKXDqg9U10116632.jpg'}, {'end': 10199.553, 'src': 'embed', 'start': 10167.721, 'weight': 1, 'content': [{'end': 10181.744, 'text': 'if this is your stock hopefully it does this over a year-long period of time this is the average mean rate of return then the risk would be over that year-long period of time.', 'start': 10167.721, 'duration': 14.023}, {'end': 10185.225, 'text': 'how much does it do this and this? That?', 'start': 10181.744, 'duration': 3.481}, {'end': 10186.305, 'text': "That's the risk.", 'start': 10185.465, 'duration': 0.84}, {'end': 10192.067, 'text': 'When I say risk, I mean up and down the standard deviation from the mean.', 'start': 10187.306, 'duration': 4.761}, {'end': 10199.553, 'text': 'If you remember the Bollinger Bands, see, the Bollinger Bands had three moving averages.', 'start': 10193.171, 'duration': 6.382}], 'summary': "Stock's yearly average return and risk are measured by standard deviation and bollinger bands.", 'duration': 31.832, 'max_score': 10167.721, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/4jaBKXDqg9U/pics/4jaBKXDqg9U10167721.jpg'}, {'end': 11459.059, 'src': 'embed', 'start': 11431.025, 'weight': 0, 'content': [{'end': 11433.407, 'text': 'Yes, this was this is complicated.', 'start': 11431.025, 'duration': 2.382}, {'end': 11434.788, 'text': "I know it's complicated.", 'start': 11433.487, 'duration': 1.301}, {'end': 11438.313, 'text': "There's very few people that can understand what I'm doing.", 'start': 11436.092, 'duration': 2.221}, {'end': 11441.974, 'text': 'So I appreciate intelligent people actually taking the time to watch my video.', 'start': 11438.353, 'duration': 3.621}, {'end': 11443.714, 'text': 'All right.', 'start': 11441.994, 'duration': 1.72}, {'end': 11450.236, 'text': "So what I'm going to do is I want to get the number of stocks that I want to analyze that gets passed inside of here.", 'start': 11444.195, 'duration': 6.041}, {'end': 11452.797, 'text': "I'm going to call this number of stocks.", 'start': 11450.256, 'duration': 2.541}, {'end': 11458.339, 'text': "And it's just going to be equal to whatever the length is.", 'start': 11455.718, 'duration': 2.621}, {'end': 11459.059, 'text': 'I have to get a drink.', 'start': 11458.359, 'duration': 0.7}], 'summary': 'This is a complex task, few understand it. analyzing number of stocks.', 'duration': 28.034, 'max_score': 11431.025, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/4jaBKXDqg9U/pics/4jaBKXDqg9U11431025.jpg'}], 'start': 10062.795, 'title': 'Portfolio management and python applications', 'summary': 'Covers python book recommendation, random portfolio generation, portfolio risk and return analysis, linear algebra, portfolio optimization, portfolio volatility and return analysis, and portfolio investment calculation. it provides quantifiable data such as 15% return with a 10% risk tolerance, efficient portfolios with 10,000 random portfolios generated in 15 seconds, 33.9% return with a 20% volatility, and total cost of the recommended portfolio. additionally, it discusses strategies for maximizing returns while minimizing risk and provides insights into portfolio allocation and share calculations.', 'chapters': [{'end': 10116.632, 'start': 10062.795, 'title': 'Python book recommendation and random portfolio generation', 'summary': 'Discusses a recommendation for finding the best book on python and demonstrates the generation of random portfolios in a 3-hour video.', 'duration': 53.837, 'highlights': ['The speaker recommends searching for the highest-rated book on Python on Amazon for book recommendations.', 'The speaker successfully creates a three-hour video as part of a dare, demonstrating the generation of random portfolios in single lines of code.', 'The speaker expresses dislike towards Pepsi when it is the only option at a restaurant.']}, {'end': 10449.637, 'start': 10116.632, 'title': 'Portfolio risk and return analysis', 'summary': 'Discusses portfolio risk and return analysis, including the calculation of volatility, sharpe ratio, and efficient portfolio through random weightings, aiming to maximize returns while minimizing risk and providing 15% return with a 10% risk tolerance.', 'duration': 333.005, 'highlights': ['The Sharpe ratio is used to maximize returns while avoiding as much risk as possible. The Sharpe ratio, created by William Sharpe, aims to find the portfolio that maximizes return at the lowest level of risk.', 'Generating 10,000 random stock portfolios to find the most efficient portfolio with the hope of providing a 15% return with a 10% risk tolerance. The speaker plans to generate 10,000 random stock portfolios to identify the most efficient portfolio that can offer a 15% return while ensuring a 10% risk tolerance.', 'Discussing the calculation of volatility and standard deviation to measure the fluctuation of prices over a period of time. Explaining how volatility and standard deviation are utilized to assess the fluctuation of prices over a specific period, aiding in risk evaluation.']}, {'end': 11282.448, 'start': 10450.117, 'title': 'Linear algebra and portfolio optimization', 'summary': 'Covers the basics of linear algebra and portfolio optimization using python, focusing on creating efficient portfolios with 10,000 random portfolios generated in 15 seconds, plotting the efficient frontier, and finding the ideal portfolio with a maximum sharpe ratio.', 'duration': 832.331, 'highlights': ['Creating 10,000 random portfolios and making all the calculations took 15 seconds, showcasing the efficiency of Python for such tasks. Generating 10,000 portfolios and performing all the calculations in 15 seconds demonstrates the speed and efficiency of Python for portfolio optimization tasks.', 'Plotting the efficient frontier with 10,000 portfolios to find the highest return at the lowest volatility, demonstrating the practical application of portfolio optimization. Plotting the efficient frontier with 10,000 portfolios showcases the practical application of portfolio optimization to find the highest return at the lowest volatility.', 'Finding the index with the highest Sharpe ratio to identify the ideal portfolio waiting, which is a key step in portfolio optimization. Identifying the index with the highest Sharpe ratio is crucial in determining the ideal portfolio waiting, a key step in portfolio optimization.']}, {'end': 11592.302, 'start': 11283.929, 'title': 'Portfolio volatility and return analysis', 'summary': 'Discusses portfolio volatility and return analysis, providing insights into a 33.9% return with a 20% volatility based on an efficient portfolio, along with the recommended allocation of 4% of the portfolio and the strategy to determine the number of shares to buy for each stock.', 'duration': 308.373, 'highlights': ['The chapter discusses the expected return of 33.9% with a 20% volatility based on the efficient portfolio, along with the recommended allocation of 4% of the portfolio, providing insights into portfolio performance (quantifiable).', 'The strategy to determine the number of shares to buy for each stock based on percentage basis, aiming to simplify investment decisions for viewers (quantifiable).', 'Explanation of the approach to identify securities that take up approximately one percent of the total investment, with Netflix being at 2% and using it as a basis for other investments (quantifiable).']}, {'end': 12053.293, 'start': 11592.302, 'title': 'Portfolio investment calculation', 'summary': 'Details the process of calculating the number of shares and cost for various securities in a portfolio, considering factors like force buying, providing quantifiable data on the total cost of the recommended portfolio and the exhaustion of the speaker.', 'duration': 460.991, 'highlights': ['The speaker explains the process of calculating the number of shares and cost for various securities in a portfolio, considering factors like force buying and shares cost, providing quantifiable data on the total cost of the recommended portfolio ($9,542.47).', "The speaker mentions the exhaustion and burning out of their voice during the presentation, indicating the effort put into the session and expressing gratitude for the audience's participation and support.", 'The speaker plans to upload files related to the presentation on GitHub for the audience to download and engage with, emphasizing the practical application of the concepts discussed in the session.']}], 'duration': 1990.498, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/4jaBKXDqg9U/pics/4jaBKXDqg9U10062795.jpg', 'highlights': ['Generating 10,000 random portfolios and making all the calculations took 15 seconds, showcasing the efficiency of Python for such tasks.', 'The strategy to determine the number of shares to buy for each stock based on percentage basis, aiming to simplify investment decisions for viewers (quantifiable).', 'The chapter discusses the expected return of 33.9% with a 20% volatility based on the efficient portfolio, along with the recommended allocation of 4% of the portfolio, providing insights into portfolio performance (quantifiable).', 'Plotting the efficient frontier with 10,000 portfolios to find the highest return at the lowest volatility, demonstrating the practical application of portfolio optimization.', 'The Sharpe ratio is used to maximize returns while avoiding as much risk as possible. The Sharpe ratio, created by William Sharpe, aims to find the portfolio that maximizes return at the lowest level of risk.']}], 'highlights': ['The presenter is combining three and a half months of studying investment principles into one video, covering topics such as downloading stocks from anywhere in the world and calculating statistics.', "The video will discuss technical stock analysis principles and explain the use of Markowitz's principles for true investing.", "The intention is to teach viewers how to analyze stocks on a technical level and use Markowitz's principles for true investing, emphasizing the importance of understanding investment principles and ideas.", 'The presenter plans to cover various topics, including bollinger bands, ichimoku, sector analysis, correlation, and covariance, and assures that even viewers with limited programming knowledge can benefit from the video.', 'The presenter, despite feeling unwell due to COVID, is determined to deliver the video and encourages live audience participation for questions and answers.', 'The chapter details the process of setting up the necessary libraries and tools for analyzing stock data, including the installation of various packages like NumPy, Pandas, Matplotlib, and the usage of Anaconda and Visual Studio Code.', 'The chapter describes the process of downloading daily price data for over 3,000 securities from Yahoo Finance, which will be utilized for analyzing stocks using various algorithms.', 'The process of downloading securities from 18 stock exchanges worldwide, with a total of 3,481 securities being worked with, is explained.', "The speaker explains the process of coding to obtain stock data frames from CSV files, including the use of a function called 'get stock data frame from CSV' to grab data from CSV files.", 'The Ichimoku is a comprehensive technical analysis tool that provides multiple data points in one chart, including conversion line, baseline, span A, span B, lagging span, and cloud, offering insights into market trends and momentum.', 'The chapter covers adding Bollinger Bands to a data frame and saving the data to a CSV file, using a 20-day rolling moving average and a standard deviation of 1.96, which can be applied to daily price data for market analysis.', 'The chapter covers the process of extracting stock tickers from files, sorting them, and calculating daily returns and cumulative returns for 3263 securities.', 'The chapter focuses on converting financial formulas into Python code for market analysis.', 'The script updates stock information, daily return, cumulative return, Bollinger Bands, and adds Ichimoku data before saving to a CSV file.', 'The script runs for approximately two minutes to complete the entire process.', 'The tickers list contains all the stock tickers, and the script iterates through each ticker to update the data.', 'The script avoids unnecessary CSV file saving as it continuously updates the data frame and saves it to the CSV file only after all updates are completed.', 'The chapter emphasizes the high risk associated with healthcare stocks and the need for sector-based risk management.', 'The speaker demonstrates the process of analyzing top grossing industrial stocks over the last five years based on cumulative returns.', 'The ultimate goal is to find a security showing long-term growth and an expanding green cloud, indicating a potentially good investment, amidst the volatile market since 2020.', 'Emphasizes the importance of combining short-term and long-term trends by looking at a five year, one year, and six month chart to assess potential investments.', 'Discussing the use of a blank wall to appear intelligent.', 'Demonstrating merging multiple stocks into a single data frame and plotting price changes for a portfolio over a five-year period.', 'Explaining the concept of risk-free rate at 1.25% for comparing investments.', 'Explaining creating efficient portfolios using correlation and portfolio optimization techniques by Harry Markowitz.', "AMD's cumulative rate of return of $11.84 from a $1 investment in 2017 showcases its significant long-term performance, demonstrating a noteworthy increase.", 'The process of randomly generating 10,000 portfolios to find an efficient portfolio.', 'The chapter emphasizes the importance of analyzing portfolio risk and return, including the calculation of mean rate of return and correlation to identify non-correlated assets.', 'Generating 10,000 random portfolios and making all the calculations took 15 seconds, showcasing the efficiency of Python for such tasks.', 'The strategy to determine the number of shares to buy for each stock based on percentage basis, aiming to simplify investment decisions for viewers (quantifiable).', 'The chapter discusses the expected return of 33.9% with a 20% volatility based on the efficient portfolio, along with the recommended allocation of 4% of the portfolio, providing insights into portfolio performance (quantifiable).', 'Plotting the efficient frontier with 10,000 portfolios to find the highest return at the lowest volatility, demonstrating the practical application of portfolio optimization.', 'The Sharpe ratio is used to maximize returns while avoiding as much risk as possible. The Sharpe ratio, created by William Sharpe, aims to find the portfolio that maximizes return at the lowest level of risk.']}