{"id":23440,"date":"2024-05-21T13:00:00","date_gmt":"2024-05-21T05:00:00","guid":{"rendered":"https:\/\/www.tejwin.com\/?post_type=insight&#038;p=23440"},"modified":"2024-12-23T16:03:22","modified_gmt":"2024-12-23T08:03:22","slug":"tquant-lab-insider-transfer-strategy","status":"publish","type":"insight","link":"https:\/\/www.tejwin.com\/en\/insight\/tquant-lab-insider-transfer-strategy\/","title":{"rendered":"Insider Transfer Strategy: A Solution to Timing Difficulties"},"content":{"rendered":"\n<figure class=\"wp-block-image aligncenter size-full caption-align-center\"><img fetchpriority=\"high\" decoding=\"async\" width=\"4896\" height=\"3264\" src=\"https:\/\/www.tejwin.com\/wp-content\/uploads\/robert-bye-QWM1e3lLnGA-unsplash.jpg\" alt=\"Insider Transfer Strategy\" class=\"wp-image-23330\" srcset=\"https:\/\/www.tejwin.com\/wp-content\/uploads\/robert-bye-QWM1e3lLnGA-unsplash.jpg 4896w, https:\/\/www.tejwin.com\/wp-content\/uploads\/robert-bye-QWM1e3lLnGA-unsplash-300x200.jpg 300w, https:\/\/www.tejwin.com\/wp-content\/uploads\/robert-bye-QWM1e3lLnGA-unsplash-1024x683.jpg 1024w, https:\/\/www.tejwin.com\/wp-content\/uploads\/robert-bye-QWM1e3lLnGA-unsplash-150x100.jpg 150w, https:\/\/www.tejwin.com\/wp-content\/uploads\/robert-bye-QWM1e3lLnGA-unsplash-768x512.jpg 768w, https:\/\/www.tejwin.com\/wp-content\/uploads\/robert-bye-QWM1e3lLnGA-unsplash-1536x1024.jpg 1536w, https:\/\/www.tejwin.com\/wp-content\/uploads\/robert-bye-QWM1e3lLnGA-unsplash-2048x1365.jpg 2048w\" sizes=\"(max-width: 4896px) 100vw, 4896px\" \/><figcaption class=\"wp-element-caption\">Photo by <a href=\"https:\/\/unsplash.com\/@robertbye\" class=\"ek-link\" target=\"_blank\" rel=\"noopener\">Robert Bye<\/a> on <a href=\"https:\/\/unsplash.com\/\" class=\"ek-link\" target=\"_blank\" rel=\"noopener\">Unsplash<\/a><\/figcaption><\/figure>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_81 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-69f10c9d239cf\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"ez-toc-cssicon\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-69f10c9d239cf\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.tejwin.com\/en\/insight\/tquant-lab-insider-transfer-strategy\/#Highlight\" >Highlight<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.tejwin.com\/en\/insight\/tquant-lab-insider-transfer-strategy\/#Preface\" >Preface<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.tejwin.com\/en\/insight\/tquant-lab-insider-transfer-strategy\/#Insider_Transfer_Strategy\" >Insider Transfer Strategy<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.tejwin.com\/en\/insight\/tquant-lab-insider-transfer-strategy\/#Coding_Environment_and_Module_Requirements\" >Coding Environment and Module Requirements<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.tejwin.com\/en\/insight\/tquant-lab-insider-transfer-strategy\/#Selecting_Stock_Pool_and_Trading_Data_Import\" >Selecting Stock Pool and Trading Data Import<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.tejwin.com\/en\/insight\/tquant-lab-insider-transfer-strategy\/#Obtain_the_Insider_Transfer_Data\" >Obtain the Insider Transfer Data<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.tejwin.com\/en\/insight\/tquant-lab-insider-transfer-strategy\/#Adding_Transfer_Information_to_Pipeline\" >Adding Transfer Information to Pipeline<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/www.tejwin.com\/en\/insight\/tquant-lab-insider-transfer-strategy\/#Construct_the_Insider_Transfer_Strategy\" >Construct the Insider Transfer Strategy<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/www.tejwin.com\/en\/insight\/tquant-lab-insider-transfer-strategy\/#Execute_the_Trading_Strategy\" >Execute the Trading Strategy<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/www.tejwin.com\/en\/insight\/tquant-lab-insider-transfer-strategy\/#Performance_Evaluation_Using_Pyfolio\" >Performance Evaluation Using Pyfolio<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/www.tejwin.com\/en\/insight\/tquant-lab-insider-transfer-strategy\/#Conclusion\" >Conclusion<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/www.tejwin.com\/en\/insight\/tquant-lab-insider-transfer-strategy\/#Extended_Reading\" >Extended Reading<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Highlight\"><\/span>Highlight<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Article Difficulty: \u2605\u2605\u2606\u2606\u2606<\/li>\n\n\n\n<li>This article will introduce the approach of importing information obtained from <code>TEJToolAPI<\/code> into <code>Pipeline<\/code> and use it in a strategy framework.<\/li>\n\n\n\n<li>By identifying entry points through the timing of insider share transfers, we form an insider transfer strategy and backtest its performance using TQuant Lab.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Preface\"><\/span>Preface<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>In the dynamic landscape of today&#8217;s stock market, the activities of major investors often trigger significant price fluctuations. Among the various factors influencing these changes, the transfer of shares by directors and supervisors stands out. These insiders, armed with a profound understanding of the company&#8217;s operations, can wield substantial influence over its stock price. Consequently, when news of their share transfers surfaces, investors are quick to follow suit, aiming to capitalize on the resulting market swings.<\/p>\n\n\n\n<p>As per the Taiwan Stock Exchange, the first quarter of 2024 witnessed a surge in market enthusiasm, with 4,879,506 individual investors engaging in transactions valued at less than NT$100 million, which is the highest in seven years. This trend, coupled with the stock market&#8217;s continuous ascent to new highs, underscores the importance of timing in market entry and the need to avoid purchasing at peak prices. To illustrate this, we will integrate the concept of insider share transfers with TQuant Lab, a powerful tool for backtesting strategies. This will allow us to thoroughly examine the performance of the Insider Transfer Strategy, shedding light on its potential benefits.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Insider_Transfer_Strategy\"><\/span>Insider Transfer Strategy<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>In this article, MSCI constituent stocks are used as the stock pool, and we select from the following insider transfer methods: general trading, block trading, and general trading combined with block trading. The insider transfer strategy is built and backtested using the following rules:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>If an insider transfer occurs, buy or add NT$15,000 worth of shares. ( Note: The initial capital for this strategy is NT$1,000,000. )<\/li>\n\n\n\n<li>If the RSI &gt; 95, indicating a strong overbought sentiment in the market, sell half of the position.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Coding_Environment_and_Module_Requirements\"><\/span>Coding Environment and Module Requirements<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>This article is written using Windows 11 and Jupyter Lab as the editor.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Selecting_Stock_Pool_and_Trading_Data_Import\"><\/span>Selecting Stock Pool and Trading Data Import<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>We first obtain MSCI constituent stocks by <code>get_universe<\/code> function and <code>TEJToolAPI.<\/code><\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full caption-align-center\"><img decoding=\"async\" width=\"530\" height=\"482\" src=\"https:\/\/www.tejwin.com\/wp-content\/uploads\/MSCI.png\" alt=\"Insider Transfer Strategy\" class=\"wp-image-23448\" srcset=\"https:\/\/www.tejwin.com\/wp-content\/uploads\/MSCI.png 530w, https:\/\/www.tejwin.com\/wp-content\/uploads\/MSCI-300x273.png 300w, https:\/\/www.tejwin.com\/wp-content\/uploads\/MSCI-150x136.png 150w\" sizes=\"(max-width: 530px) 100vw, 530px\" \/><figcaption class=\"wp-element-caption\">Selecting MSCI constituent stocks from TEJ Tool API<\/figcaption><\/figure>\n\n\n\n<p>With the backtest period set from May 2, 2019, to May 1, 2024, we then import the price and volume data of the 89 MSCI constituent stocks and the TAIEX-Total Return Index (IR0001) as the performance benchmark.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Obtain_the_Insider_Transfer_Data\"><\/span>Obtain the Insider Transfer Data<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Here, we use the <code>TEJToolAPI<\/code> to obtain the daily data of each stock&#8217;s transfer start date, transfer end date, and transfer method. Furthermore, we added a transfer column to indicate whether there was an insider transfer of general trading, block trading, or general trading combined with block trading on that day.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full caption-align-center\"><img decoding=\"async\" width=\"681\" height=\"376\" src=\"https:\/\/www.tejwin.com\/wp-content\/uploads\/data_all.png\" alt=\"Insider Transfer Strategy\" class=\"wp-image-23392\" srcset=\"https:\/\/www.tejwin.com\/wp-content\/uploads\/data_all.png 681w, https:\/\/www.tejwin.com\/wp-content\/uploads\/data_all-300x166.png 300w, https:\/\/www.tejwin.com\/wp-content\/uploads\/data_all-150x83.png 150w\" sizes=\"(max-width: 681px) 100vw, 681px\" \/><figcaption class=\"wp-element-caption\">The Insider Transfer Data from TEJ Tool API<\/figcaption><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Adding_Transfer_Information_to_Pipeline\"><\/span>Adding Transfer Information to Pipeline<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p><code>CustomDataset<\/code> allows us to import database content into <code>Pipeline<\/code>, facilitating subsequent backtesting. In this implementation, we use it to import the daily transfer information recorded in the <em>transfer<\/em> column into <code>Pipeline<\/code>. Part of the code is as follows:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>from zipline.pipeline.data.dataset import Column, DataSet\nfrom zipline.pipeline.domain import TW_EQUITIES\n\nclass CustomDataset(DataSet):\n    \n    Transfer_Method_English = Column(object)\n    transfer = Column(bool)\n\n    domain = TW_EQUITIES<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Construct_the_Insider_Transfer_Strategy\"><\/span>Construct the Insider Transfer Strategy<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>From the <code>pipeline<\/code> and <code>zipline<\/code> functions provided in TQuant Lab, we can:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Calculate the RSI value using the <a href=\"https:\/\/github.com\/tejtw\/TQuant-Lab\/blob\/main\/lecture\/Pipeline%20built-in%20factors.ipynb\" class=\"ek-link\" target=\"_blank\" rel=\"noopener\">built-in factors<\/a> from <code>pipeline<\/code>.<\/li>\n\n\n\n<li>Add the transfer methods and daily transfer data into <code>pipeline<\/code>.<\/li>\n\n\n\n<li>Add liquidity slippage and transaction fees, and set the return of the TAIEX-Total Return Index as the benchmark.<\/li>\n\n\n\n<li>Set the restriction to only long positions that can be constructed in the strategy.<\/li>\n\n\n\n<li>Set the Insider Transfer Strategy and record the transaction details.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full caption-align-center\"><img loading=\"lazy\" decoding=\"async\" width=\"675\" height=\"376\" src=\"https:\/\/www.tejwin.com\/wp-content\/uploads\/pipeline.png\" alt=\"Insider Transfer Strategy\" class=\"wp-image-23408\" style=\"object-fit:cover\" srcset=\"https:\/\/www.tejwin.com\/wp-content\/uploads\/pipeline.png 675w, https:\/\/www.tejwin.com\/wp-content\/uploads\/pipeline-300x167.png 300w, https:\/\/www.tejwin.com\/wp-content\/uploads\/pipeline-150x84.png 150w\" sizes=\"(max-width: 675px) 100vw, 675px\" \/><figcaption class=\"wp-element-caption\">Pipeline Results to be Used in Our Strategy<\/figcaption><\/figure>\n\n\n\n<div style=\"border: 1px black; border-style: solid none; text-align: center; border-color: #296580; padding: 24px; margin-top: 24px; margin-bottom: 24px;\">\n<p style=\"margin: 0px; font-size: 24px; font-weight: bold; line-height: 1.5;\">Start Building Portfolios That Outperform the Market!<\/p>\n<div style=\"margin-top: 32px;\"><strong><a style=\"border: none; border-radius: 4px; background-color: #296580; color: white; font-size: 20px; width: fit-content; text-decoration: none; padding: 12px 30px 12px 30px;\" href=\"https:\/\/www.tejwin.com\/en\/databank-solution\/market-data\/\">TEJ Market Databank<\/a><\/strong><\/div>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Execute_the_Trading_Strategy\"><\/span>Execute the Trading Strategy<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>We use <code>run_algorithm()<\/code> function to execute the configured Insider Transfer Strategy with the trading period from 2019-05-02 to 2024-05-01 and with the initial capital of 1,000,000 NTD. The output, or&nbsp;<em>results<\/em>, will represent the daily performance and detailed transaction records.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full caption-align-center\"><img loading=\"lazy\" decoding=\"async\" width=\"1080\" height=\"587\" src=\"https:\/\/www.tejwin.com\/wp-content\/uploads\/result.png\" alt=\"Insider Transfer Strategy\" class=\"wp-image-23417\" srcset=\"https:\/\/www.tejwin.com\/wp-content\/uploads\/result.png 1080w, https:\/\/www.tejwin.com\/wp-content\/uploads\/result-300x163.png 300w, https:\/\/www.tejwin.com\/wp-content\/uploads\/result-1024x557.png 1024w, https:\/\/www.tejwin.com\/wp-content\/uploads\/result-150x82.png 150w, https:\/\/www.tejwin.com\/wp-content\/uploads\/result-768x417.png 768w\" sizes=\"(max-width: 1080px) 100vw, 1080px\" \/><figcaption class=\"wp-element-caption\">Trading Details<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Performance_Evaluation_Using_Pyfolio\"><\/span>Performance Evaluation Using Pyfolio<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full caption-align-center\"><img loading=\"lazy\" decoding=\"async\" width=\"1069\" height=\"607\" src=\"https:\/\/www.tejwin.com\/wp-content\/uploads\/adds.jpg\" alt=\"Insider Transfer Strategy\" class=\"wp-image-23421\" srcset=\"https:\/\/www.tejwin.com\/wp-content\/uploads\/adds.jpg 1069w, https:\/\/www.tejwin.com\/wp-content\/uploads\/adds-300x170.jpg 300w, https:\/\/www.tejwin.com\/wp-content\/uploads\/adds-1024x581.jpg 1024w, https:\/\/www.tejwin.com\/wp-content\/uploads\/adds-150x85.jpg 150w, https:\/\/www.tejwin.com\/wp-content\/uploads\/adds-768x436.jpg 768w\" sizes=\"(max-width: 1069px) 100vw, 1069px\" \/><figcaption class=\"wp-element-caption\">Backtesting Performance Compared to Benchmark<\/figcaption><\/figure>\n\n\n\n<p>The table above shows that the insider transfer strategy achieved an annualized return of 19.348%. Additionally, the Sharpe and Sortino ratios are 1.22 and 1.75, respectively, as well as an alpha value of 0.06.&nbsp;This&nbsp;indicates that the insider transfer strategy can generate excess returns under the unit of risk taken and has a certain degree of capital protection capability during downside risks. Observing the chart, we can find that the strategy&#8217;s performance was slightly below the market index before April 2021. After that, it officially surpassed the market index performance. The reason is that initially, the strategy was still in the building phase, so its performance could have been better than the market. However, once the positions were established and combined with the RSI indicator for exits during overbought periods, it effectively avoided bear market risks and achieved performance that exceeded the market index.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full caption-align-center\"><img loading=\"lazy\" decoding=\"async\" width=\"1077\" height=\"342\" src=\"https:\/\/www.tejwin.com\/wp-content\/uploads\/exposure.png\" alt=\"Insider Transfer Strategy\" class=\"wp-image-23425\" srcset=\"https:\/\/www.tejwin.com\/wp-content\/uploads\/exposure.png 1077w, https:\/\/www.tejwin.com\/wp-content\/uploads\/exposure-300x95.png 300w, https:\/\/www.tejwin.com\/wp-content\/uploads\/exposure-1024x325.png 1024w, https:\/\/www.tejwin.com\/wp-content\/uploads\/exposure-150x48.png 150w, https:\/\/www.tejwin.com\/wp-content\/uploads\/exposure-768x244.png 768w\" sizes=\"(max-width: 1077px) 100vw, 1077px\" \/><figcaption class=\"wp-element-caption\">Exposure Chart of Long and Short Positions<\/figcaption><\/figure>\n\n\n\n<p>The exposure chart of long and short positions helps us understand the use of capital in long and short positions. From the above chart, we can see that the insider transfer strategy was building positions in the early phase. By the end of 2021, it sold part of the holdings with the help of the RSI indicator, avoiding the bear market trend in 2022 to a certain extent.<\/p>\n\n\n\n<div style=\"height:22px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"wp-block-buttons is-content-justification-center is-layout-flex wp-container-core-buttons-is-layout-1fb448e7 wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button has-custom-font-size\" style=\"font-size:22px\"><a class=\"wp-block-button__link has-background wp-element-button\" href=\"https:\/\/www.tejwin.com\/en\/databank-solution\/market-data\/\" style=\"border-radius:16px;background:linear-gradient(135deg,rgb(160,209,216) 0%,rgb(51,145,181) 50%,rgb(50,95,191) 100%)\"><strong>Access to Comprehensive Retail Investors Data<\/strong><br><strong>Start Building Portfolios That Outperform the Market Today!<\/strong><\/a><\/div>\n<\/div>\n\n\n\n<div style=\"height:22px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span>Conclusion<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>This strategy is inspired by directors&#8217; and supervisors&#8217; stock transfers, aiming to explore whether buying stocks when these insiders report transfers can effectively time the market in a consistently rising market. By combining the timing of insider transfers with the RSI indicator, the strategy slightly outperformed the market in backtesting. However, it&#8217;s important to note that this example uses MSCI large-cap stocks, and results may differ with mid- or small-cap stocks. Additionally, investment amounts should be based on current stock trends and individual risk tolerance for more stable returns.<\/p>\n\n\n\n<p><strong>Please note that the strategy and target discussed in this article are for reference only and do not constitute any recommendation for specific commodities or investments<\/strong>. In the future, we will also introduce using the TEJ database to construct various indicators and backtest their performance. Therefore, we welcome readers interested in various trading strategies to consider purchasing relevant solutions from&nbsp;<a href=\"https:\/\/tquant.tejwin.com\/\" target=\"_blank\" rel=\"noreferrer noopener\" class=\"ek-link\">TQuant Lab<\/a>. With our high-quality databases, you can construct a trading strategy that suits your needs.<\/p>\n\n\n\n<p class=\"has-text-align-center\" style=\"font-size:32px\"><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\"><strong><em>&#8220;Taiwan stock market data, TEJ collect it all.&#8221;<\/em><\/strong><\/mark><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Extended_Reading\"><\/span>Extended Reading<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.tejwin.com\/en\/insight\/insider-transfers\/\" class=\"ek-link\">&#8220;Block Trades&#8221; as Warning Signals? Analyzing Insider Transfers and Changes in Stock Prices Using TEJ API<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.tejwin.com\/en\/insight\/tquant-lab-ichimoku-kinko-hyo\/\" class=\"ek-link\">TQuant Lab Ichimoku Kinko Hyo Strategy, A Self-contained Technical Analysis Indicator<\/a><\/li>\n<\/ul>\n\n\n\n<p>The characteristics of the Taiwan stock market differ from those of other European and American markets, and <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-black-color\"><span style=\"text-decoration: underline;\" class=\"ek-underline\">the dynamics of retail investors are worth noting<\/span><\/mark>. Especially in the first quarter of 2024, with the <strong><mark style=\"background-color:rgba(0, 0, 0, 0);color:#c05d5d\" class=\"has-inline-color\">Taiwan Stock Exchange reaching a new high of 20,000 points<\/mark><\/strong> due to the rise in TSMC&#8217;s stock price, global institutional investors are paying more attention to the performance of the Taiwan stock market.&nbsp;<\/p>\n\n\n\n<p><strong><mark style=\"background-color:rgba(0, 0, 0, 0);color:#0978b8\" class=\"has-inline-color\">Taiwan Economical Journal (TEJ)<\/mark><\/strong>, a financial database established in Taiwan for over 30 years, serves local financial institutions and academic institutions, and has long-term cooperation with internationally renowned data providers, providing high-quality financial data for five financial markets in Asia.&nbsp;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong><mark style=\"background-color:#ebc766\" class=\"has-inline-color has-black-color\">Complete Coverage<\/mark><\/strong>: Includes all listed companies on stock markets in Taiwan, China, Hong Kong, Japan, Korea, etc.&nbsp;<\/li>\n\n\n\n<li><strong><mark style=\"background-color:#ebc766\" class=\"has-inline-color\">Comprehensive Analysis of Enterprises<\/mark><\/strong>: Operational aspects, financial aspects, securities market performance, ESG sustainability, etc.&nbsp;<\/li>\n\n\n\n<li><strong><mark style=\"background-color:#ebc766\" class=\"has-inline-color\">High-Quality Database<\/mark><\/strong>: TEJ data is cleaned, checked, enhanced, and integrated to ensure it meets the information needs of financial and market analysis.&nbsp;<\/li>\n<\/ul>\n\n\n\n<p>With TEJ&#8217;s assistance, you can access relevant information about major stock markets in Asia, such as securities market, financials data, enterprise operations, board of directors, sustainability data, etc., providing investors with timely and high-quality content. Additionally, TEJ offers advisory services to help solve problems in theoretical practice and financial management!<\/p>\n\n\n\n<div class=\"wp-block-buttons is-content-justification-center is-layout-flex wp-container-core-buttons-is-layout-a89b3969 wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button has-custom-width wp-block-button__width-100 has-custom-font-size\" style=\"font-size:21px\"><a class=\"wp-block-button__link has-background has-text-align-center wp-element-button\" href=\"https:\/\/www.tejwin.com\/en\/contact\/\" style=\"border-radius:16px;background:linear-gradient(135deg,rgb(160,209,216) 0%,rgb(51,145,181) 50%,rgb(50,95,191) 100%)\"><strong>Want to Learn More About Our Databases?<br>Contact Us and Get the Free Trial!<\/strong><\/a><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>The insider transfer strategy was constructed by adding the RSI indicator to the timing of insider transfers,  aiming to explore whether following insiders into the market in a constantly rising stock market has good timing capabilities. The performance of insider transfer strategy is also backtested in this article. <\/p>\n","protected":false},"featured_media":23331,"template":"","tags":[3063,3176,2990,3166,2537],"insight-category":[690,50,1356],"class_list":["post-23440","insight","type-insight","status-publish","has-post-thumbnail","hentry","tag-backtesting-2","tag-python-2","tag-quantitive-trading","tag-tquant-lab-2","tag-2537","insight-category-data-analysis","insight-category-fintech","insight-category-tquant-lab-en"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.tejwin.com\/en\/wp-json\/wp\/v2\/insight\/23440","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.tejwin.com\/en\/wp-json\/wp\/v2\/insight"}],"about":[{"href":"https:\/\/www.tejwin.com\/en\/wp-json\/wp\/v2\/types\/insight"}],"version-history":[{"count":25,"href":"https:\/\/www.tejwin.com\/en\/wp-json\/wp\/v2\/insight\/23440\/revisions"}],"predecessor-version":[{"id":27570,"href":"https:\/\/www.tejwin.com\/en\/wp-json\/wp\/v2\/insight\/23440\/revisions\/27570"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.tejwin.com\/en\/wp-json\/wp\/v2\/media\/23331"}],"wp:attachment":[{"href":"https:\/\/www.tejwin.com\/en\/wp-json\/wp\/v2\/media?parent=23440"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tejwin.com\/en\/wp-json\/wp\/v2\/tags?post=23440"},{"taxonomy":"insight-category","embeddable":true,"href":"https:\/\/www.tejwin.com\/en\/wp-json\/wp\/v2\/insight-category?post=23440"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}