You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Artificial intelligence in trading by Dr Thomas Starke | Algo Trading Week Day 6
Artificial intelligence in trading by Dr Thomas Starke | Algo Trading Week Day 6
Dr. Thomas Starke, a prominent speaker, discusses why AI is considered the next big thing in trading during his presentation. He acknowledges that AI and machine learning have existed for a long time, but due to limited compute power, their effective application was challenging. However, recent advancements in technology have drastically improved computational capabilities, enabling substantial algorithms to run efficiently on laptops and in server centers through cloud computing. Dr. Starke highlights the successes of AI in various fields, such as face recognition, image recognition, and natural language processing, which have contributed to the belief that AI can revolutionize finance as well.
Dr. Starke emphasizes that AI and machine learning are not magic bullets but scientific and mathematical tools that require a thorough understanding and application within the finance domain. While finance has scientific aspects, it is predominantly considered an art form. Hence, to harness the potential of AI in finance, one must grasp both the tools and the artistry of the field.
During his talk, Dr. Starke addresses the role of software development and programming skills alongside machine learning and statistical knowledge in applying AI to trading. He highlights the significance of strong software skills, including writing APIs and ensuring system fail-safes, as essential for effectively employing machine learning tools in the market. He argues that while machine learning tools are user-friendly, programming skills and statistical knowledge are critical for practitioners in this field. Furthermore, he addresses the question of whether a PhD is necessary for utilizing machine learning algorithms and asserts that it is not essential as long as individuals have specific goals, conduct thorough research, and are willing to put in the necessary work.
The importance of mentorship in learning AI for trading is another topic discussed by Dr. Starke. He stresses that finding a good mentor can help beginners avoid common mistakes and develop practical knowledge rather than solely relying on theoretical knowledge gained from academic institutions. Dr. Starke emphasizes that anyone can learn AI, but having a mentor who can provide proper guidance is invaluable. He also emphasizes that understanding the underlying markets and economy is more crucial than programming skills, as programming can be learned with proper mentoring.
During his presentation, Dr. Starke also emphasizes the importance of learning programming and quantitative methods in today's trading industry. He highlights that successful traders often possess a strong understanding of mathematics and programming, and those interested in trading can learn these skills relatively quickly. He points out that traders who invest time in learning quantitative methods and machine learning have a better chance of survival when the transition from screen trading to algorithmic trading occurs. However, he emphasizes that having an economic and market edge is crucial and surpasses the edge gained from programming and mathematical skills alone. He also mentions that deep learning requires businesses and individuals to explain their returns, and facing a year of negative returns can pose significant challenges.
Explaining AI algorithms and risk management practices are also discussed by Dr. Starke. He emphasizes the importance of being able to explain AI algorithms, as failure to do so can lead to problems or even withdrawal of funds. He mentions that despite the use of AI and machine learning, risk management practices remain largely unchanged, but it is necessary to explore new ways of managing risk, particularly with the end of the bull run in stocks and bonds. Dr. Starke emphasizes that machine learning is ubiquitous in trading, with various applications such as generating input signals and managing the risk of machine learning models.
Dr. Starke dives into the different models and technologies used in trading, such as principal component analysis (PCA), decision trees, xgboost, deep learning, and reinforcement learning. He discusses their applications in analyzing signal data, managing portfolio risk, and executing trades. He also highlights the importance of risk management systems in increasing geometric returns and replicating successful strategies in other markets. Dr. Starke suggests that good risk management systems can even generate alpha and be considered as long volatility strategies.
Furthermore, Dr. Starke explores how AI can be used to hedge and manage the risk of short volatility strategies in trading, potentially enhancing the alpha generated by such strategies. He emphasizes the importance of curiosity and a healthy appreciation for risk in continuously learning and developing new trading strategies. He advises against relying on out-of-the-box trading platforms and instead encourages coding strategies from scratch to gain a deep learning advantage.
Dr. Starke engages in a discussion about time-based price movements versus price-based market movements. He explains that time-based price movements can be mathematically solved by calculating indicators, while price-based market movements are determined by the underlying economics of the market. Dr. Starke emphasizes the significance of considering the underlying economic reasoning for a trading strategy rather than solely relying on mathematical techniques to outperform the markets. He recommends books by Marcus Lopez, Grinnell, and Kahn for those interested in combining AI with quantitative models in financial markets.
During the presentation, Dr. Starke emphasizes the importance of understanding factor modeling principles, which he believes are similar to machine learning principles. He suggests that understanding these principles can better equip traders to apply machine learning effectively in their systems. Dr. Starke also highlights the importance of defining what constitutes a good trading strategy, as it may not always be the most profitable one. He references books by Ralph Vince, Andreas Klenow, and Mr. Trendful, which provide valuable insights into trading strategies and the psychology behind trading.
Dr. Starke discusses how AI and machine learning can capture nonlinearities in behavioral finance, such as the Keynesian beauty contest. He explains that these nonlinear dynamics can be effectively captured by machine learning, unlike linear regression models. However, he emphasizes that having an economic reasoning behind trading strategies is still important, even if fundamental data is not explicitly used.
Furthermore, Dr. Starke explores the exploitation of certain market inefficiencies that are not necessarily fundamental. He mentions factors such as restrictions on short positions overnight and specific dates like triple reaching or quadruple witching, which can create economic effects in the market that can be capitalized upon. He also mentions market inefficiencies arising from everyday economic activity or illegal market manipulation. Dr. Starke expresses his interest in potential future collaborations but currently has no concrete plans.
In response to a viewer's question about why dreams often fail to materialize, Dr. Starke provides his personal insight. He explains that dreams initially start as concepts and that his dream life does not revolve around simply lying on the beach but rather involves exploration, running his own business, and being self-directed. He emphasizes that aligning one's true aspirations and goals with practical outcomes is crucial. The presentation concludes with the host informing viewers about the limited-time discount on Contra courses and mentioning the final session on applying machine learning in trading scheduled for the next day.
Current trends in quant finance [Panel Discussion] | Algo Trading Week Day 5
Current trends in quant finance [Panel Discussion] | Algo Trading Week Day 5
Ladies and gentlemen, welcome to today's panel discussion on current trends in quant finance. We have three distinguished domain experts joining us today to share their insights and expertise. Let's introduce our panelists:
First, we have David Jessup, the head of investment risk for EMEA at Columbia Thread Needle Investments. With extensive experience in quantitative research, risk analysis, and portfolio construction, David specializes in cross-asset factor investing and machine learning in investment management. His deep understanding of quantitative strategies and risk management will provide valuable insights into the trends shaping the industry.
Next, we have Dr. Devashes Guava, the director of machine learning and chair of the Center for Research in Technology Business at SP Gen School of Global Management. Dr. Guava's expertise lies in the application of artificial intelligence in economics and finance. His research and knowledge in this field will shed light on the intersection of AI and finance and the implications for quantitative finance.
Lastly, we have Richard Rothenberg, an executive director at Global AI Corporation. Richard brings a wealth of experience from his work at multi-billion dollar hedge funds and global investment banks. With his extensive background in quantitative portfolio management and research, he will provide valuable insights into the practical implementation of quantitative strategies in the financial industry.
Now, let's dive into the discussion on the recent trends that have shaped quant finance. Our panelists unanimously agree that the availability and quality of data have played a significant role in driving the industry forward. Furthermore, advancements in computing power have enabled the construction and analysis of complex models that were not feasible a decade ago.
The panelists highlight the expansion of quant finance beyond equities into other asset classes, including credit, currencies, and crypto trading. They also bring attention to the emerging trend of responsible investing, which is gaining traction in the finance industry. However, they note that data quality in this area still needs improvement. The panelists predict that responsible investing will continue to be a significant factor in finance over the next few years.
Moving on, the panel discusses two major trends in quantitative finance. Firstly, algorithmic trading has expanded into all asset classes, not just equities. Exotic assets are now being traded using algorithmic approaches. Secondly, there has been a substantial increase in alternative data sources, such as sentiment data from news in multiple languages and credit card transactions. The ability to process and analyze this data with advanced analytics and computational power has led to the incorporation of non-financial risk factors, such as environmental and social governance trends, in company valuations.
However, the panel also addresses the challenges of utilizing machine learning in finance. Given the low signal-to-noise ratio and the zero-sum game nature of financial markets, machine learning is not always the ideal tool to solve every problem. The panelists stress the importance of combining machine learning with other methodologies and understanding its limitations. They also clarify the distinction between machine learning and alternative data, as these two concepts are often confused.
Furthermore, the panelists discuss the unique challenges of financial machine learning within the context of market dynamics as a differential game. They highlight the importance of considering the strategic choices made by other market participants when developing trading strategies.
The discussion then shifts to the significance of high-quality data in machine learning models for algorithmic trading. The panelists acknowledge the challenge of cleaning unstructured data and emphasize the importance of starting with linear models to understand the parameters and ensure data quality. They address the issue of noise and sparsity in alternative data, making it more challenging to clean and filter. Additionally, the panelists stress the need to compare and utilize second sources of data to ensure data accuracy.
The panelists further emphasize that trading solutions should be approached as part of defining a strategy in an end-person game with opposing players who have conflicting interests. Traditional modeling methods may not always apply in this context, and the panelists stress the importance of testing different strategies to find the most effective solutions. They also discuss the unique challenges posed by alternative data sets like sustainable development data, which require different methods of analysis and may require aggregating data at lower frequencies to address sparsity. While working with sparse datasets can be challenging, the panelists believe that there are still opportunities to discover valuable signals.
Another key topic of discussion is the importance of understanding the game structure of the market when designing trading systems. The panelists highlight that while smaller players may have more leeway to take risks, larger players in commodities and crypto trading need to approach trading with caution due to the extreme volatility of these markets. They also stress the importance of diversification to mitigate drawdowns, which are significantly high in crypto assets.
The panel takes a step further and challenges the embedded assumptions in traditional finance theory. They argue that assets do not necessarily follow fixed diffusion processes with set mean and variance assumptions. Instead, they emphasize the stochastic nature of volatility and the fluctuation of mean values over time. They propose considering hidden Markov processes to tactically change the mean and standard deviation, leading to better approaches in factor investing and crypto investing. This perspective offers enticing risk-return profiles with the potential for simple diversification.
The discussion then explores various applications of machine learning in the financial industry. The panelists mention using machine learning for sex classification, carbon emission forecasting, and fixing volumes in fixed income markets. They also highlight the evolving focus on ESG factors and the expansion of sustainable development goals, which consider the impact on society as a whole and systemic risk. They consider this expanded taxonomy of risks as a significant factor in financial decision-making, with a potential to be integrated into an ESG factor model.
Another trend discussed is the utilization of committees and task forces to cluster data based on multiple factors. The panelists emphasize the growing importance of natural language processing in understanding local stakeholder sentiment to quantify non-financial risks. These risks, increasingly material to the intangible aspects of a company's balance sheet, are vital to consider in the analysis of financial markets.
Furthermore, the panelists stress the importance of having strong programming skills and statistical knowledge in the field of quantitative finance. They also caution against the pitfalls of repeatedly analyzing the same dataset, emphasizing the need to adapt and prepare for the future of quantitative trading.
Looking ahead, the panelists discuss the importance of keeping up with emerging asset classes, such as carbon and cryptocurrencies. They mention the potential game-changing impact of quantum computing, which could revolutionize encryption algorithms behind cryptocurrencies, although practical applications are yet to be realized. They also touch upon the development of large neural networks and technologies like GPT3, which are touted as pathways to general artificial intelligence. The exponential growth in hardware and software capacity shows no signs of slowing down, and the panelists anticipate a future convergence of high-performance computing, quantum computing, and AI in the field of quant finance.
In conclusion, the panelists predict a future characterized by the expansion of hardware and software capacity, leading to the development of general-purpose trading robots. These robots will possess the ability to extract and interpret data from diverse sources, including social media, utilizing image understanding, language understanding, and semantic understanding, among others. They highlight the importance of embracing new technologies and methodologies to stay ahead of the curve and adapt to the evolving landscape of quant finance.
The panel discussion concludes with the panelists expressing their gratitude to the audience and encouraging the sharing of any unanswered questions. They also announce that tomorrow's session will focus specifically on machine learning and trading, inviting attendees to join and continue exploring this fascinating field.
Thank you all for being part of today's insightful panel discussion on current trends in quant finance.
Using sentiment and alternative data in trading [Panel Discussion] | Algo Trading Week Day 4
Using sentiment and alternative data in trading [Panel Discussion] | Algo Trading Week Day 4
Ladies and gentlemen, thank you for joining us today for this exciting panel discussion on the use of sentiment and alternative data in trading. Before we begin, I have an important announcement to make.
I am thrilled to announce the launch of a new certification program, the Certification in Sentiment Analysis and Alternative Data in Finance (CSAF). This program has been specifically designed for financial professionals who are looking to advance their careers in trading and investment decision-making using modern methods such as news sentiment analysis and alternative data.
The CSAF program will cover various aspects of news analytics, sentiment analysis, and alternative data required in finance. It will be taught by leading experts in the fields of algorithmic trading, sentiment analysis, quantitative modeling, and high-frequency trading. These experts bring a wealth of knowledge and experience to the program, ensuring that participants receive top-notch education and training.
The program will delve into topics such as understanding sentiment analysis, leveraging alternative data sources, incorporating sentiment data into prediction models, and utilizing AI and machine learning techniques for market analysis. Participants will gain valuable insights into the role of sentiment and alternative data in trading and learn how to unlock the potential of these resources to improve financial outcomes.
In addition to the certification program, I am pleased to announce that a comprehensive handbook on alternative data will be released in the spring of 2022. This handbook will serve as a valuable resource for professionals in the field, providing in-depth information on the various types of alternative data and their applications in finance.
Now, let's turn our attention to today's panel discussion. Our esteemed panelists, including Dr. Cristiano Arbex Valle, Professor Gautam Mitra, Dr. Matteo Campolmi, and Dr. Ravi Kashyap, will be sharing their insights on the use of sentiment and alternative data in trading. They will discuss what alternative data is, why it is important, and how it can be effectively utilized to make informed trading decisions.
As we all know, news events often have a significant impact on asset prices, and sentiment data can play a crucial role in predicting future outcomes. The panelists will shed light on how sentiment data can be processed quickly and converted into numerical data for use in mathematical models, providing valuable information that is not typically captured by traditional market data.
Furthermore, our panelists will explore the challenges and opportunities associated with alternative data. They will discuss the emergence of alternative data sources, the need for rigorous data processing techniques, and the importance of avoiding overfitting while identifying signals within vast amounts of information.
During the panel discussion, we encourage you to actively participate by asking questions and engaging with our panelists. Your input and insights are highly valued, and we look forward to creating an enriching and interactive session.
Before we begin, I would like to express my gratitude to all of you for joining us today. Your presence and enthusiasm contribute to the success of events like these. I would also like to remind you to follow us on social media and wish the organizers a happy 11th anniversary.
Now, without further ado, let's commence our panel discussion on sentiment and alternative data in trading. Thank you.
As the panel discussion begins, our panelists dive into the topic of sentiment and alternative data in trading, sharing their valuable insights and experiences. They highlight the impact of incorporating news analytics and sentiment as additional input features in prediction models, emphasizing the improved results obtained, particularly in predicting asset volatility.
One key point of discussion revolves around the emergence of alternative data and its significance in informing trading decisions. The panelists stress that alternative data introduces new information, such as consumer habits, which can provide valuable insights for investment strategies. They emphasize the importance of coupling data with models, utilizing AI and machine learning techniques to predict market directions and enhance financial outcomes.
The panel takes a moment to acknowledge the moderation of Professor Gautam Mitra, founder and MD of OptiRisk Systems. With his expertise, he ensures a comprehensive exploration of the topic. They delve into the practical applications of sentiment and alternative data in trading, addressing questions regarding its definition, importance, and utilization.
Recognizing that alternative data is a constantly evolving field, the panelists highlight the dynamic nature of this domain. They discuss how what is considered alternative data today may become mainstream in the future, showcasing the continuous progress and innovation within the industry. Their focus remains on leveraging alternative data to gain an edge in finance, with the ultimate goal of maximizing returns.
Amidst the discussion, the panel acknowledges the potential bias present in sentiment data derived from news sources. They offer potential solutions to mitigate this bias, such as utilizing multiple sources and employing various techniques to analyze the data. By doing so, they emphasize the importance of comprehensive and robust data analysis to ensure accurate and reliable insights.
Moving forward, the panelists emphasize the significance of understanding the context and scenarios under which data is collected. They discuss the need for contextual information to provide a nuanced view and build effective algorithms. The panelists also touch upon the idea that biases may not always be negative and can sometimes benefit trading strategies. Their overarching message emphasizes the importance of understanding and working with the available data, even if the data source itself cannot be controlled.
The panel further explores the parameters to consider when analyzing sentiment data for trading purposes. They shed light on the classification of sentiment into positive, neutral, or negative categories by news or sentiment providers. Additionally, they discuss the relevance of considering the volume of news or tweets as a factor in sentiment analysis. The normalization of sentiment based on the average volume of news over a specific time period is also highlighted.
The conversation deepens as the panelists discuss the language-specific nature of sentiment analysis. They emphasize the use of AI and other techniques to parse and analyze text, enabling a deeper understanding of sentiment. Relevance and novelty of news events are identified as crucial factors, with companies receiving news data through subscriptions with content providers, enabling rapid processing.
Wrapping up the panel discussion, the panelists touch upon the time frames used for sentiment indicators. They clarify that sentiment indicators are not aimed at beating the speed of news reaching the market. Instead, they serve as descriptive indicators of how news flow affects stocks over time. The importance of converting text to numerical data is also highlighted, acknowledging the additional layer of processing required for text-based information.
The panelists also discuss the relevance of sentiment data and alternative data sources in trading. They address the question of how many days of sentiment data are relevant, emphasizing that the answer depends on the model's purpose and the type of trading being conducted. The discussion further extends to the performance metrics for alternative data sources, where profitability is identified as a key metric. The panelists explain the demand for historical data and its potential impact on pricing, cautioning that as alternative data sources become more popular, their value may change over time.
To conclude the panel discussion, the panelists share their insights on the challenges and importance of backtesting. They acknowledge the sparsity of historical information for certain alternative data sources, making analysis and backtesting challenging. However, they highlight the availability of statistical models and techniques that can help extrapolate data for backtesting purposes. They stress the significance of comparing the performance of a given data source to not having it, allowing traders to tailor their strategies accordingly. The panel concludes by underscoring that the value of alternative data ultimately depends on its utilization within a specific model.
We now transition to the audience Q&A session, where the panelists address two intriguing questions. The first question revolves around the use of historical data to gain a better understanding of different historical periods. The panel suggests utilizing at least seven times the time interval to obtain a comprehensive understanding of various outcomes. The second question pertains to finding reliable sources of alternative data. The panel recommends having a data scout to explore various sources and identify the best data available for quantitative teams. They highlight the challenge of finding trustworthy data and emphasize that innovative ideas often emerge from small new companies.
Expanding on the discussion, the panelists delve into the potential for small companies that identify unique data sets early on to be acquired by larger firms. They emphasize the importance of intermediaries in data aggregation and the value of derived data sets using proprietary modeling. The conversation further touches upon the impact of country-specific data sets, the identification of regional risks, and the interconnectedness of the global market. Understanding these factors becomes essential in making informed trading decisions.
As the panel draws to a close, the speakers shift their focus to the necessary skills and prerequisites for a career in finance. They emphasize the value of programming languages and a solid understanding of mathematical concepts, as these skills are increasingly crucial in the field. Networking and building connections with professionals are also highlighted, as is the importance of remaining open to diverse opportunities and continuously expanding one's knowledge.
In closing, the speaker reiterates the significance of staying informed about market trends and maintaining objectivity in financial decision-making. She emphasizes the fundamental role of managing finances and encourages attendees to actively engage in the financial industry.
With heartfelt gratitude, the speaker thanks the panelists and the audience for their valuable contributions and concludes the session.
Short selling in the bull market - A Masterclass by Laurent Bernut | Algo Trading Week Day 3
Short selling in the bull market - A Masterclass by Laurent Bernut | Algo Trading Week Day 3
Laurent Bernut is introduced as the founder and CEO of Alpha Secure Capital, as well as a dedicated short seller at Fidelity Investments. The video highlights that he will be leading a masterclass on the topic of short selling, which will last for two hours. It is mentioned that there will be no Q&A session at the end of the masterclass, but viewers are encouraged to ask relevant questions during the session itself. Additionally, the speaker informs the audience about a course on short selling with Python, as well as a complementary book that explains the how and why of short selling. The book is set to be published on October 11th, 2021, and will be available on Amazon.com.
The masterclass begins with Laurent Bernut explaining the key takeaways that participants can expect to gain from the session. He asserts that top picking is bankrupt and emphasizes that short selling is the most valuable skillset for raising a successful fund. Bernut also debunks ten classic myths about short selling, shedding light on the under-researched nature of this discipline. He elaborates on the dynamics of short selling and addresses why even successful market participants struggle with the short side. Sharing personal insights, Bernut emphasizes the crucial role of money management in the course.
Moving forward, Bernut provides an overview of how short selling works and stresses the importance of locating the borrow. He discusses the bankrupt nature of stock picking and advocates for traders to shift their focus to other practices like short selling. Bernut points out that the industry is often fixated on stock pickers, but empirical evidence shows that the majority of active managers underperform their benchmarks consistently. This has led many to abandon stock picking in favor of passive investing and closet indexing. However, Bernut highlights the relevance of short selling during bear markets and the value it brings in terms of downside protection.
Bernut addresses misconceptions about short sellers, dispelling the notion that they destroy pensions and companies. He explains that investors seek long-short vehicles for low volatility, low correlation returns, and downside protection, something that active managers struggle to consistently deliver. Therefore, long picks from mutual fund managers are not as relevant to investors who can achieve similar results passively through exchange-traded funds. Bernut emphasizes that shorting stocks provides protection against downside risk, making the skill of short selling highly sought after, particularly in a bear market.
The speaker delves into the role of short sellers within capitalism and the responsibility of company management. He argues that short sellers, who do not participate in the management of companies, often get blamed for their failures when, in reality, it is poor management that causes the downfall. Bernut highlights the distinction between market value and intrinsic value, explaining that market value is determined by subjective judgments, akin to a beauty contest. He further clarifies that short sellers are not inherently evil speculators but often unveil paradoxes in the market. He acknowledges that regulators frown upon short sellers who engage in market manipulation, but their primary task is to expose market inefficiencies.
The video continues with Laurent Bernut discussing the corporate space-time continuum, which poses a paradox for short sellers. He brings attention to situations where companies reward employees for participating in fraud, while senior management denies knowledge of such practices. Bernut advises short sellers to adopt a non-adversarial approach toward company management, even when they are right, as there are alternative ways to short a stock. He emphasizes the risk management aspect of short selling and cautions that it should be done cautiously.
In his Algo Trading Week masterclass, Bernut emphasizes the importance of learning how to sell short and the risks associated with not having this skill, especially in anticipation of a bear market. He also touches upon how short selling can contribute to increased market volatility and the potential for share price collapses.
The video continues with Laurent Bernut thanking the viewers for their participation and engagement throughout the masterclass on short selling. He expresses his appreciation for the questions and comments received during the session, highlighting the importance of active participation and curiosity in the learning process.
Laurent Bernut then introduces an upcoming course on short selling with Python, aimed at providing practical skills for implementing short selling strategies using programming. The course will cover various topics, including data analysis, algorithmic trading, risk management, and backtesting. He emphasizes the value of combining quantitative analysis with short selling techniques, and how Python can be a powerful tool for this purpose.
In addition to the course, Laurent Bernut announces the release of a complementary book titled "Short Selling Unveiled: A Comprehensive Guide to Profiting in Bear Markets." The book will delve into both the how and why of short selling, providing insights, strategies, and real-world examples. It aims to demystify the discipline and equip readers with the knowledge and skills necessary to navigate the complexities of short selling successfully. The book is scheduled to be published on October 11th, 2021, and will be available on Amazon.com.
As the video concludes, Laurent Bernut reiterates the importance of continuous learning and improvement in the field of short selling. He encourages viewers to explore the course and book to deepen their understanding and enhance their skills. He expresses his commitment to helping individuals become proficient in short selling and emphasizes the value of staying informed and adaptable in the ever-changing financial markets.
With a final note of gratitude and encouragement, Laurent Bernut bids farewell to the viewers, leaving them with the invitation to connect, ask questions, and continue their journey in the world of short selling. The video ends, and viewers are left inspired and motivated to further explore the opportunities and challenges presented by short selling.
How to choose the best stocks and live trade by Dr. Hui Liu | Algo Trading Week Day 2
How to choose the best stocks and live trade by Dr. Hui Liu | Algo Trading Week Day 2
During the introduction to Algo Trading Week Day 2, the speaker acknowledges the previous sessions featuring experts in quant and algo trading. They briefly mention the valuable insights shared by these experts, setting the stage for the day's presentation. The focus of Day 2 is on selecting the best stocks and engaging in live trading, with Dr. Hui Liu taking the lead as the presenter.
The speaker also highlights the ongoing Algo Trading Competition, which encompasses three distinct tests covering the foundations of quantitative and algorithmic trading. The winners of the competition will be announced in September, adding an element of anticipation and excitement to the event. Additionally, the speaker reveals that the following day's session will be a two-hour masterclass on short selling, led by Aloha Bendu. The timing of this class will be adjusted to accommodate participants from different time zones.
Dr. Hui Liu begins his presentation by discussing the process of generating a trading idea, validating it, and constructing a machine learning model to test its historical performance. He suggests that traders can derive ideas by reading financial reports or monitoring social media platforms to gauge a company's performance. Dr. Liu also introduces the SPY ETF, which tracks the S&P 500 index and serves as a valuable historical data source. He emphasizes the importance of employing statistical models and conducting backtesting to validate trading ideas before proceeding to create a trading robot using iBridgePi.
The basics of trend trading and the significance of buying low and selling high are then explained by Dr. Liu. He elaborates on the collection of historical data and the utilization of Python on Jupyter Notebook to develop a machine learning model. Dr. Liu demonstrates how the model can be employed to create a stock screener, aiding in the identification of the most promising stocks for trading purposes. He underscores the significance of verifying trading ideas through backtesting and live trading.
In his next segment, Dr. Liu provides a hands-on demonstration of utilizing Python to retrieve historical data from the Yahoo Finance API and manipulate it for building a machine learning model. Specifically, he retrieves daily bar data for the SPY and employs the "request historical data" function. Dr. Liu adds additional columns to the data that calculate the percentage change in the close price from the previous day to the current day, as well as from the current day to the following day. He explains that a negative close price change from yesterday to today, combined with a positive change from today to tomorrow, signifies an opportunity to buy stocks when the price decreases, as his prediction suggests an impending price increase.
The process of constructing a machine learning model to predict stock prices is then detailed by Dr. Liu. He acquires data on the close price, yesterday's price change, and the price change from today to tomorrow. By utilizing a linear regression model, he fits the data and analyzes the results. Dr. Liu displays a plot where the black line represents the predictions of the machine learning model, while scattered data points depict daily stock prices from Yahoo Finance for the S&P 500. He explains that a negative coefficient signifies a negative correlation, indicating that when the price declines, it is likely to rise, and vice versa. Dr. Liu contemplates the viability of using this model for automated trading to potentially generate profits.
Dr. Liu proceeds to discuss the process of selecting the best stocks and engaging in live trading. He recommends traders examine the price at the end of the trading day to determine its upward or downward movement before placing orders near the market close. He demonstrates the construction of a stock screener to gain insights into how the model performs with various stocks and identifies favorable stocks to follow. Dr. Liu acknowledges that his model is relatively simplistic, relying on yesterday's price to predict tomorrow's, and thus considers the incorporation of advanced indicators such as the Moving Average Convergence Divergence (MACD) to enhance prediction accuracy and filter trades.
The utilization of MACD to predict and filter stocks is explored by Dr. Liu, along with a comparison to the buy low sell high model. He presents the results obtained when employing MACD 10 and 30 on the SPY, revealing a relatively weak trend. Consequently, Dr. Liu concludes that using MACD for future predictions may not yield as favorable results as before. He proceeds to discuss the construction of a statistical machine learning model and considers the buy low sell high model as a potential means of generating profits. Dr. Liu highlights Average Pi, a Python platform facilitating backtesting and live trading, underscoring its 100% privacy feature, compatibility with multiple accounts, and flexibility in terms of data providers. He illustrates the simplicity and efficiency of building a buy low sell high model in Average Pi using only a few lines of code.
Dr. Liu explains the process of setting up a configuration for trading using Algo Trading Week Day 2. He emphasizes the execution of the initialize function at the start to define variables and establish the configuration. As an example, he schedules the "buy low, sell high" function to execute every trading day, one minute before the market closes, instructing it to invest 100% of the portfolio into the SPY if yesterday's price was lower than today's. Dr. Liu delves into the topic of backtesting, illustrating how historical data from brokers or third-party providers can be utilized on various time frames, including minute by minute, hourly, or daily.
Next, Dr. Liu demonstrates the process of backtesting a chosen strategy using different data providers and packages. He advises selecting a start time and an end time for the backtesting period, along with confirming the chosen data provider for execution. Transitioning to demo mode, Dr. Liu showcases the process, indicating that data providers like Interactive Brokers (IB) or local historical data can be used for backtesting strategies. He provides guidance on configuring the backtesting setup, utilizing available historical data stored in local files.
Dr. Liu proceeds to demonstrate the use of backtesting for testing the effectiveness of a trading strategy using historical data. He acknowledges the challenge of obtaining meaningful daily bar data for extensive backtesting timeframes. To overcome this obstacle, he introduces the concept of simulated minute bar data, where the close price of the daily bar can be utilized to simulate the data. This simplifies the process for traders struggling to access the precise data required for backtesting purposes.
Dr. Liu presents the results of backtesting a "buy low sell high" model in comparison to a buy-and-hold strategy for the S&P 500 from 2000 to 2020. The model outperforms the buy-and-hold strategy, resulting in a portfolio value of $800,000 compared to $200,000. He acknowledges that despite the small correlation observed through simple linear regression, the model still delivers positive outcomes. Dr. Liu then transitions to the topic of live trading, indicating that it can be as straightforward as modifying two lines of code to select the desired strategy and input the account code for Interactive Brokers before executing the program. He concludes the presentation by inviting attendees to contact him via email for coding assistance or to arrange an in-person meeting in San Jose, California.
During the Q&A session, a question is posed regarding the certainty of a backtested strategy providing identical results in live trades. Dr. Liu explains that while historical data represents the past and the model may exhibit statistical stability, the price itself is volatile, particularly near the market close. Therefore, variations in predicting the future are inevitable. However, over an extended period, the overall model should hold true. He notes that he utilizes the linear regression model due to its simplicity and ease of understanding, but he acknowledges that more sophisticated machine learning models could potentially yield better results. Dr. Liu also addresses the question of transaction costs and slippage, stating that they should be considered when implementing live trading strategies and can have an impact on the overall performance of the strategy.
Another question is raised regarding the use of other technical indicators in conjunction with the buy low sell high model. Dr. Liu responds by highlighting the flexibility of the Average Pi platform, which allows traders to incorporate additional indicators into their strategies. He mentions that the Moving Average Convergence Divergence (MACD) indicator could be a valuable addition to filter trades and enhance prediction accuracy.
A participant asks about the significance of the time interval between the trading signal and the market close. Dr. Liu explains that the time interval chosen depends on individual preferences and trading strategies. It could be a few minutes or even hours before the market close, depending on the desired trade execution time. He advises traders to experiment with different time intervals to find what works best for their specific strategies.
In response to a question about the impact of market volatility on the buy low sell high model, Dr. Liu acknowledges that increased volatility can potentially generate more trading opportunities. However, he warns that higher volatility also carries higher risk, and traders should carefully consider their risk tolerance and adjust their strategies accordingly.
A participant asks about the potential limitations of the buy low sell high model. Dr. Liu acknowledges that the model's simplicity is both a strength and a limitation. While it can generate positive results, it may not capture more complex market dynamics and could potentially miss out on certain trading opportunities. He suggests that traders who want to explore more advanced strategies and models should consider diving deeper into quantitative finance and exploring other machine learning algorithms.
The Q&A session concludes with Dr. Liu expressing his willingness to assist attendees with any further questions or coding assistance, encouraging them to reach out to him via email.
How to become a successful quant | Dr Ernest Chan | Algo Trading Week Day 1
How to become a successful quant | Dr Ernest Chan | Algo Trading Week Day 1
The Q&A session with Dr. Ernest Chan begins with the speaker introducing an algorithmic trading competition designed to provide beginners with an opportunity to learn the basics of algorithmic trading while allowing experts to refresh their knowledge. The competition offers prizes such as scholarships and certificates of achievement for the top three winners. Dr. Chan, the founder and CEO of PredictNow.ai and QTS Capital Management, as well as the author of three books on quantitative trading, shares his expertise with the audience.
Dr. Chan starts by highlighting the dominance of quantitative trading over the past decade, with estimates suggesting that up to 90% of trading volume on U.S. exchanges is attributed to algorithmic trading. While he doesn't claim that quantitative trading is superior to discretionary trading, he emphasizes the importance of not overlooking the opportunity to automate or systematize trading strategies. In terms of individual traders competing against institutions, Dr. Chan suggests that niche strategies with limited capacity offer the best opportunity. These strategies are often unattractive to large institutions and involve infrequent trading, making them viable options for independent traders.
The discussion continues with Dr. Chan addressing the importance of finding a niche in algorithmic trading where big institutions are not competing. He advises against direct competition with large players and recommends seeking out areas where there is little to no competition. Dr. Chan responds to questions about the significance of having a Ph.D. in quantitative and algorithmic trading. He emphasizes that having "skin in the game," meaning putting one's own money on the line, is crucial to becoming a successful quant. He suggests that traders focus on developing an intuitive understanding of the market through backtesting trading strategies themselves and reading blogs and books on trading, rather than solely relying on theoretical knowledge.
Dr. Chan advises that a successful quantitative trader should prioritize practical experience and market understanding over a Ph.D. He notes that it takes time to become a successful quant and suggests distinguishing oneself when seeking to join a top quant fund by writing original research in the form of a white paper, focusing on a trading strategy or specific market phenomenon. He cautions that a short track record, such as a single successful trade, is not sufficient to prove consistency and knowledge. In response to a question about incorporating order flow data into trading strategies, Dr. Chan acknowledges its value as an indicator but emphasizes that it should be used in conjunction with other indicators, as no single indicator is comprehensive on its own.
The limitations of using individual indicators to build a trading strategy are discussed by Dr. Chan. He points out that many people use these indicators, reducing their effectiveness. He suggests incorporating them as one of many features in a machine learning program. When asked about ageism in the quant industry, Dr. Chan highlights that if someone operates as a sole proprietor, ageism is not a problem. He also shares his view on the use of machine learning in generating alpha, cautioning about the risk of overfitting and recommending it as a tool for risk management instead. Regarding low-latency trading, Dr. Chan argues that quantitative trading is a necessity in this domain. Finally, he advises that beyond a successful track record, management skills are essential for anyone looking to start a quant-based hedge fund.
Dr. Chan emphasizes that successful fund management involves not only trading skills but also management and business development skills. Having leadership qualities and a background in business management is crucial. When asked about understanding the Indian market quantitatively, he admits to lacking knowledge primarily due to regulations. On the question of how much time one should spend on paper trading before going live with a strategy, Dr. Chan explains that it depends on the efficiency of trading. For high-frequency trading strategies that execute trades every second, two weeks of paper trading may be sufficient to go live. Conversely, for holding strategies, paper trading for three months may be necessary to earn statistical significance based on the number of trades conducted.
Dr. Chan further discusses whether the time series approach should still be the core of one's alpha portfolio, despite recent studies showing that profitable alphas are mostly non-price based. He suggests attending industry conferences, networking with professionals through platforms like LinkedIn, and building a strong track record in trading to attract the attention of experienced quants. He encourages individuals to seek out mentors and take proactive steps in reaching out to potential collaborators.
Moving on, Dr. Chan shares insights on how to hire and train a successful quantitative trading team. He advises that individuals hired should possess demonstrated expertise in the specific function the team is focused on, whether it be risk management, derivatives pricing, or data science. If the team's goal is to develop profitable trading strategies, it is best to hire someone who already has a track record in that area. Additionally, Dr. Chan highlights that there is no universally ideal market for trading, and teams should focus on what they know best. He also explains how high-frequency traders have an advantage in predicting short-term market direction compared to medium and low-frequency traders.
The discussion continues with Dr. Chan delving into the challenge of accurately predicting market movements beyond short timeframes and the complexities involved in utilizing high-frequency trading predictions. He shares his personal approach to trading, which involves hiring skilled traders instead of trading himself. Dr. Chan emphasizes the importance of hiring traders with strong track records, regardless of whether they employ discretionary or quantitative strategies. When asked about his cumulative annual growth rate, he clarifies that he cannot disclose this information due to SEC regulations. Lastly, he notes that quant traders typically do not use the same strategy across all asset classes, making it challenging to compare programming languages like Python and MATLAB for algorithmic trading purposes.
Dr. Chan discusses the use of MATLAB and Python in trading, acknowledging that while he personally prefers MATLAB, different traders have their own preferences, and the choice of language is not the most critical factor. He believes that optimizing transaction costs is difficult even for experts in the field, so it should not be a primary priority for traders. Regarding revising or retraining machine learning strategies, he suggests doing so only when the market regime undergoes significant changes. He also recommends expanding opportunities by learning new languages such as Python or MATLAB to enhance trading skills.
Dr. Chan concludes the session by offering career advice for individuals interested in becoming quant traders. He suggests exploring different areas, such as options trading, to gain a better understanding of personal strengths and weaknesses. He mentions that his current focus revolves around making his machine learning-based risk management system more widely available and clarifies that he does not have plans to release a second edition of his machine trading book in the near future. When hiring traders, he looks for a long and consistent track record and recommends using time series techniques and econometric models for trading at short timeframes. Exit strategies should align with the specific trading strategy, with stop or profit target exits implemented accordingly.
As the video concludes, the host expresses gratitude to Dr. Ernest Chan for his valuable insights and time spent answering a variety of questions related to becoming a successful quant. Viewers are encouraged to email any unanswered questions to ensure they are addressed. The host announces additional sessions in the coming week with other esteemed guests in the field of algorithmic trading, expressing appreciation for the audience's support and encouraging them to continue tuning in.
Before you get into quant and algorithmic trading... [Panel Discussion] | Algo Trading Week Day 0
Before you get into quant and algorithmic trading... [Panel Discussion] | Algo Trading Week Day 0
The Algo Trading Week kicks off with an engaging panel discussion led by the host and featuring industry experts. The host begins by inviting the head of marketing and outreach initiatives to provide some background on the event and its purpose. The head of marketing explains that the primary goal of Algo Trading Week is to make algorithmic trading more accessible and bring it into the mainstream. The event aims to achieve this through various educational initiatives such as webinars, workshops, and free resources. Additionally, Algo Trading Week is a celebration of the company's 11th anniversary and will span over the course of 7-8 days, offering a wide range of sessions and competitions.
The speaker then introduces their Quantra courses, highlighting that a significant portion, around 20-25 percent or more, of the courses are available for free. This is made possible through the support and contributions of the community. The speaker expresses their desire to do more and explains how this led them to organize a week-long learning festival. The festival brings together some of the industry's top experts who will share their knowledge and insights. The speaker expresses gratitude for the positive responses received.
Moving on, the speaker introduces the panel members who will be part of the discussion. The panel includes Ishaan, who leads the Contra content team, Nitish, the co-founder and CEO of QuantInsti, Pradipta, the VP of Blue Shift, and Rajiv, the co-founder and CEO of iRage. These esteemed panelists bring diverse perspectives and expertise to the table.
The discussion then transitions to the topic of necessary skills and educational backgrounds required for a career in quant and algorithmic trading. The panel emphasizes the importance of aligning one's interests and passions before delving into this field. They advise individuals to be prepared to commit a significant amount of time and effort and stress the need for a clear understanding of financial markets, programming methods, and statistics and econometrics. The panel emphasizes that expertise in one or two of these areas is necessary, but a minimum level of qualification criteria must be met in all three. The panel also discusses how short duration courses can help individuals develop the necessary skills to become competitive players in the field.
The panelists then delve into the benefits of taking courses in quantitative and algorithmic trading. They highlight the importance of following a proper trading process and utilizing mathematics and statistics to explore anomalies in the market. The courses teach the skill of Python, which is essential for backtesting and verifying hypotheses. Moreover, participants gain the ability to paper or live trade their strategies on platforms like BlueShift. The panelists also discuss the different sources of alpha in the markets and how retail users can benefit from using research and live trading platforms rather than relying solely on ready-made strategies. They emphasize that assessing the risk of a trading strategy should not only consider the strategy in isolation but also its impact on one's position and overall portfolio.
The importance of testing strategies and having access to alpha is further discussed by the panel. They stress the significance of utilizing platforms like BlueShift for systematic research rather than building one's own platform, which requires a different set of skills and processes. The panelists note that trading can be categorized into different styles, and the impact of market developments varies accordingly. They use the analogy of machine learning chess programs to illustrate how the quant trading industry can benefit from advances in technology and data analysis. They also highlight the substantial volume of information available for mid and high-frequency trading strategies due to increased market volume and data availability.
The panelists shift their focus to the impact of technology on quantitative and algorithmic trading. They emphasize the growing importance of big data and automation and acknowledge that high-frequency traders face increasing competition. The panelists address the concerns of retail investors considering entering the field, cautioning against implementing strategies too quickly.
The panelists emphasize the importance of thoroughly testing and understanding a strategy before investing in it. They highlight the need to avoid the dangers of rushing into implementation without proper evaluation. They stress that it is crucial to comprehend why a particular strategy is expected to be successful before using it.
The panelists emphasize the significance of focusing on inputs such as alpha ideas, testing, and risk management to increase the probability of success in trading. They acknowledge that this process may seem slow and tedious, but it is necessary to stick with it and avoid hasty decision-making. For those looking to transition from discretionary to systematic trading, the panelists recommend acquiring a basic understanding of market trading, elementary math and strategy skills, and programming, particularly Python. They also advise individuals to read about successful traders and learn from their experiences to avoid losses through trial and error.
The potential pitfalls of algorithmic trading and how to avoid them are discussed by the panelists. They stress the importance of identifying biases in strategies and ensuring that they work across various market conditions through thorough backtesting and analysis. The panelists caution against underestimating the modeling of exchange activity, as a lack of understanding can lead to missed opportunities or significant delays in trade execution for high-frequency trading strategies. They recommend adopting a systematic approach to strategy development and extensively testing it with both simple and complex factors. The panelists suggest acquiring the necessary skills through courses, webinars, and practice to become proficient and successful quant traders.
The panelists provide valuable advice to individuals interested in algorithmic trading. They caution against look-ahead bias, over-reliance on backtests, and excessive confidence in high returns without considering the associated risks. The panelists also stress the importance of avoiding over-leveraging and remind traders to consider the risks involved when evaluating returns. They highlight the presence of biases that can skew backtest results and emphasize the need to understand and address these biases appropriately.
The speakers emphasize the significance of using the right tools and methods when backtesting to improve the chances of success in trading. They highlight the opportunities available with the rise of open-source systems and data science libraries that are freely accessible to traders who possess the ability to interpret data correctly. Additionally, they mention the possibility of using cloud infrastructure to rent servers on a flexible basis, which can help reduce costs. The speakers acknowledge the challenges of achieving success in trading and stress the importance of being objective and systematic in one's approach to avoid emotional influences such as fear and greed in trading decisions. They recommend taking courses like those offered by Quantra to enhance skills in quantitative and algorithmic trading.
The speaker then discusses the importance of learning all the building blocks of trading objectively and being aware of the various strategies that exist. They highlight the value of investing in one's education, whether in quantitative and algorithmic trading or any other field. The speaker announces a competition for individuals interested in learning the basics of trading, open to traders, programmers, and anyone looking to enhance their knowledge. The competition will consist of three quizzes covering financial markets, math and statistics, and programming and machine learning. The speaker provides resources for test preparation.
The speaker provides detailed information about the upcoming quiz for Algo Trading Week, specifying the dates and topics to be covered. Participants are encouraged to prepare using the indicated resources or any other means they prefer, as the scores will determine the final leaderboard. The speaker suggests taking all three quizzes to increase the chances of ranking among the top three or top ten participants. Additionally, the speaker discusses the hardware requirements needed for a quant setup, explaining that execution hardware can be as simple as a laptop or a minimum configuration on the cloud. However, more advanced research capabilities may require a better computer with at least 4GB of RAM.
The panel then delves into the hardware requirements for high-frequency trading (HFT) and computationally heavy funds. They emphasize that HFT necessitates frequent hardware upgrades and enhancements to achieve faster exchange connectivity, which is a crucial factor in their alpha generation. Trading strategies that require speed and extensive research and data analysis require server-grade infrastructure. The panel also cautions against treating algorithmic trading as a "fire and forget" mechanism, emphasizing the need to regularly monitor strategy performance and take corrective actions if necessary, even when utilizing a cloud-based trading system.
As the panel discussion comes to a close, the panelists express their gratitude to the audience for tuning in and actively participating in the session. They appreciate the patience demonstrated throughout the hour-long discussion and bid farewell until the next session, which will take place on the following day. The panel concludes with a final round of thanks and well-wishes to everyone attending the event.
How To Automate A Trading Strategy | Algo Trading Course
How To Automate A Trading Strategy | Algo Trading Course
Rishabh Mittal is a Quantitative Analyst working in the content team at Quantra. His expertise lies in applying unsupervised learning techniques, particularly K-Means, to generate tradeable signals. He is actively involved in developing innovative algorithms for position sizing in the financial markets, utilizing methodologies such as Constant Proportion Portfolio Insurance (CPPI), among others. Before joining Quantra, Rishabh gained experience in creating systematic trading strategies using TradingView for various clients.
In this webinar titled "How To Automate A Trading Strategy," Rishabh will delve into the process of automating trading strategies and guide participants on how to take their systematic trading strategies live. The webinar will commence by addressing the prerequisites necessary for automating a strategy.
Rishabh will then focus on the event-driven approach essential for automated trading. He will explore topics such as connecting with a broker, fetching real-time data, generating signals based on the acquired data, and ultimately placing an order with the broker.
To conclude the session, Rishabh will provide a step-by-step demonstration of setting up a demo strategy for paper-trading in the markets using Blueshift. Participants will gain practical insights into implementing and testing their strategies in a simulated trading environment.
Join Rishabh Mittal in this informative webinar as he shares his expertise on automating trading strategies and offers valuable guidance on taking your systematic trading approach from theory to practice.
How To Create A Trading Algorithm From Scratch [Algo Trading Webinar] - 22 July 2021
How To Create A Trading Algorithm From Scratch [Algo Trading Webinar] - 22 July 2021
During the webinar, Ashutosh shared his extensive experience in the field of financial derivatives trading, spanning over a decade. He highlighted his expertise in applying advanced data science and machine learning techniques to analyze financial data. Ashutosh holds a prestigious master's degree and is a certified financial analyst (FF). Currently, he is a valuable member of the Quantum City team, responsible for the development and instruction of the EPAT course, the world's first verified algorithmic trading certification.
The webinar primarily focused on guiding participants through the process of creating a trading algorithm from scratch. Ashutosh emphasized the significance of understanding trading algorithms, their various applications in the market, and the conversion of ideas into strategies and eventually into trading algorithms. Essentially, an algorithm serves as a computer program that assists traders in making profitable decisions by analyzing data and generating buy and sell orders based on predetermined rules. It also facilitates interactions with the external environment to send and receive orders effectively.
Before diving into the practical aspects of trading, Ashutosh highlighted the importance of defining one's trading universe and determining the desired alpha. Alpha represents the driving force behind profits, which can originate from diverse sources such as unique market perspectives, gaining an edge over the competition, or implementing specific strategies tailored to individual goals.
The video content covered the three fundamental phases of trading: research, trading, and post-trading. Ashutosh elucidated these phases and provided examples of different trading strategies, focusing on the process of transforming ideas into concrete trading algorithms. He demonstrated how even simple rules, such as buying a stock when its rate of change (roc) surpasses 2 within the last 63 days, can form the foundation of a trading algorithm.
Throughout the webinar, various traders showcased their approaches to building trading algorithms from scratch. One trader utilized visual coding, leveraging data from the Indian market, and incorporated order limits and commission per share. Another trader demonstrated the step-by-step process, beginning with defining their trading universe, followed by creating an alpha function to calculate the roc, establishing trading rules, and finally implementing the strategy using logic blocks.
The video provided comprehensive insights into the essential components of a trading algorithm, namely the conditions, order sending, and order receiving. Additionally, it showcased how to schedule algorithms for automatic execution. Strategies based on beta and momentum were presented as a means to exploit market trends, alongside the inclusion of a mean-diverting strategy.
Ashutosh explained the process of creating a trading algorithm from scratch, covering key aspects such as defining a universe of stocks, calculating relevant hedges, and executing trading rules. He also emphasized the significance of running backtests on the algorithm and optimizing it for enhanced performance.
Quantitative methods and their role in improving trading skills were discussed, with an emphasis on utilizing beta and correlation with the market to make informed decisions. Ashutosh also offered participants the opportunity for a free counseling call to further support their trading journey.
Furthermore, the webinar explored the different types of data that can be utilized within an algorithm and addressed the process of cost assessment for the EPAT course. Attendees were also provided with a list of course counselors for guidance and support.
Ashutosh's webinar delivered a comprehensive guide to creating trading algorithms from scratch. Attendees were encouraged to submit any unanswered questions they may have had during the presentation, ensuring a thorough understanding of the topic.
Machine Learning and Sentiment Analysis [Algo Trading Project Webinar]
Machine Learning and Sentiment Analysis [Algo Trading Project Webinar]
Ladies and gentlemen,
I hope all of you can hear me clearly.
Welcome to Quantum City's YouTube channel. For those of you who regularly attend our webinars, you may remember one of our recent Algo Trading Project webinars, which focused on machine learning in sentiment analysis and portfolio allocation. We had the pleasure of inviting two esteemed EPAT alumni, Carlos Peral and Vivian Thomas, to present their project work. Unfortunately, the post-presentation was interrupted by a hardware failure, and we couldn't cover it in much detail at the time. However, we were fortunate that Carlos took some extra hours to record his presentation separately and share it with us.
So, without further delay, let's proceed and watch Carlos' presentation. Thank you.
"Hello, everybody. For today's presentation, I'm going to show my final project for the EPAT (Executive Programme in Algorithmic Trading) program, which was completed last March. First, let me introduce myself. My name is Carlos Martin, and I have a bachelor's degree in computer engineering. I have been working for over 10 years for several clients, mainly located in Spain and Belgium. My main skill lies in software development, and I have been working for European institutions for the past five years.
The motivation behind this project stems from my interest in machine learning, particularly in sentiment analysis. I believe that these techniques have seen impressive advancements in recent years, with machine learning models being applied in various domains such as text analysis, speech recognition, language translation, and sentiment analysis, which is the focus of this project. The main objective is to find a correlation between news sentiment and price sensitivity and leverage sentiment scores to generate trading signals.
Unlike traditional approaches that rely on technical or quantitative analysis, this project utilizes qualitative data as a new source of information. The goal is to translate this qualitative data into trading signals. The project is divided into two main parts: text analysis and trading strategy implementation.
The text analysis part involves downloading news, performing pre-processing, and implementing a machine learning model to generate sentiment scores. For this project, I chose a long short-term memory (LSTM) model to generate sentiment scores. The trading part involves implementing the trading strategy, analyzing stock prices, and evaluating the strategy's performance.
Let's delve into the project's structure in detail. The text analysis part consists of the news manager, which handles the initial retrieval and pre-processing of news data. I used a class to connect to an external web service and retrieve the news in JSON format. These news data are then stored in a CSV file. The sentiment analysis part includes the pre-processing of text and the NLP (Natural Language Processing) handler, which generates polarity scores using a library called Analytic Evaluator. This library assigns binary scores to the news, labeling them as either negative (-1) or positive (1). This step is crucial for training the model.
The model takes the pre-processed news and is trained using a sigmoid function for binary classification. The output sentiment scores are classified as either positive or negative. The trading strategy is then implemented, and the generated sentiment scores are translated into trading signals. A value of -1 represents a sell signal, while a value of 1 represents a buy signal.
The project was tested using four stocks: Apple, Amazon, Twitter, and Facebook. The sentiment score strategy was compared to a buy and hold strategy. The performance was evaluated using returns, the Sharpe ratio, and strategy returns. The results varied across stocks, with some stocks showing improved performance using the sentiment score strategy compared to the buy and hold strategy. However, there were cases where the sentiment score strategy did not perform well, especially during certain periods.
In conclusion, this project highlights a correlation between negative trends, bad news, and potential trading opportunities. By incorporating sentiment analysis into the trading strategy, it becomes possible to leverage qualitative data and capture market sentiment in a systematic manner. This approach can provide an additional layer of information that complements traditional technical and quantitative analysis.
However, it is important to note that sentiment analysis is not a foolproof method, and its effectiveness can vary depending on various factors. Market conditions, the quality and reliability of the news sources, and the accuracy of the sentiment analysis model all play a role in determining the success of the strategy.
Furthermore, it is crucial to continuously evaluate and refine the sentiment analysis model to adapt to changing market dynamics and evolving news patterns. Regular monitoring of the strategy's performance and making necessary adjustments is necessary to ensure its effectiveness over time.
Overall, this project demonstrates the potential of sentiment analysis in algorithmic trading. It opens up new avenues for incorporating qualitative data into trading strategies and provides a framework for further research and development in this area.
I would like to extend my gratitude to the EPAT program and the Quantum City team for providing the platform and resources for me to undertake this project. It has been an enriching experience, and I believe that sentiment analysis can offer valuable insights in the field of algorithmic trading.
Thank you for watching, and I hope you found this presentation informative. If you have any questions or would like to discuss further, please feel free to reach out to me. Have a great day!