"Block Trades" as Warning Signals? Analyzing Insider Transfers and Changes in Stock Prices Using TEJ API

Highlight

  • Article Difficulty:★☆☆☆☆
  • Analyzing the impact of insider transfer through block trades on the company’s stock price.

Preface

Amid the turbulent stock market today, the mysteries behind the fluctuations in corporate stock prices are worth delving into. Insider transfers reflect the company’s internal operations, management’s confidence in future development, and their assessment of the current economic environment. By analyzing the motives behind insider block trades, we aim to explore the relationship between stock prices and insider transfers. This article will utilize the TEJ API to conduct a quantitative analysis and focus on the impact of insider transfers on the stock prices of listed companies in Taiwan.

What is a Block Trade

Based on the quantity and amount of transactions, securities trading meeting the following criteria must be reported as block trades:

  1. For a single security: a quantity of 500 units or more or an amount of NT$15 million or more.
  2. For a stock portfolio: comprising five or more stocks totaling NT$15 million or more.

Block trades are divided into two types: individual trades and paired trades. The price range for block trades is the same as the price fluctuation limits for regular trading in Taiwan. Individual trades are matched based on the declared prices and the chronological order of submission, while paired trades involve specific parties matching at designated prices and quantities. Additionally, the deadline for placing and matching block trades is 5:00 PM. To prevent significant intraday price fluctuations, block trades are typically executed after market hours.

Editing Environment and Module Requirements of Analysis

This article uses the Windows 11 OS and VScode as the editor.

Database Usage

  • TWN/ATRANS(Holding Transfer)
  • TWN/ABSTN1(Number of Directors Holding)
  • TWN/APRCD(TSE/OTC Unadjusted_Price(Daily))
  • TWN/APRCD2(TSE/OTC Unadjusted_Price(Daily)-ROI)

Data Import

Obtaining insider declaration transfer data is imported from the directors and supervisors holding transfer database. The methods of transfers include various types such as regular trade, arranged with specific people, trust, gift, block trades, and trade the price after the plate. We precisely extract data from block trades.

import tejapi
import pandas as pd
import matplotlib.pyplot as plt
import plotly.graph_objects as go
from datetime import datetime, timedelta
from dateutil.relativedelta import relativedelta

tejapi.ApiConfig.api_key  = "Your Key"
tejapi.ApiConfig.api_base = "https://api.tej.com.tw"
tejapi.ApiConfig.ignoretz = True

# Retrieve insider declaration transfer data and filter out information related to block trades.
data_trans = tejapi.get('TWN/ATRANS',
# Securities code, declaration date, shareholder identity, transfer method, number of shares declared for transfer
                        opts = {'columns':['coid', 'mdate', 'clnm_e', 'tpnm_e', 'tns2']},
                        paginate = True)

Next, we establish the total issued shares function, with data imported from the database containing the number of directors holding. In addition, the stock price function is imported from the database containing TSE/OTC unadjusted prices (daily).

Data merging and visualization analysis

Considering that the total issued shares of a company may fluctuate at different points in time, set the company code and declaration date as variables to input into the total issued shares function. This will provide the total issued shares at the corresponding time point and calculate the percentage of shares declared for transfer (%).

Extract data for each stock with the highest percentage of shares declared for transfer.

Insider Transfers
Data with the highest percentage of shares declared for transfer (%) for each stock

Learn More About the High-Quality Investment Database by TEJ! Construct Trading Strategies With Market Data.

Extracting stock codes and setting the time interval.

Synthesizing the above data and related news, this article summarizes the following four results, taking 3036, 6452, 3017, 2311, 2597, and 2723 as examples:

  1. The stock price subsequently plummeted. Taking WT MICROELECTRONICS CO., LTD. (3036) and Pharmally International Holding Company Limited (6452) as examples:
  • WT MICROELECTRONICS CO., LTD. (3036) (2023/11/10)
    • Since WT Microelectronics announced the acquisition of all shares of Future Electronics, a Canadian semiconductor distributor, on September 14, 2023, the stock price surged from 72.1 NT dollars to 147 NT dollars by November 8, 2023. Its largest shareholder, WPG Holdings ( 3702 ), then transferred 40,000 shares of WT Microelectronics on November 10, 2023, leading other investors in the market to also sell off their holdings, causing a significant drop in the stock price.
Insider Transfers
  • Pharmally International Holding Company Limited (6452) (2018/10/16)
    • After reaching a historical high of 538 NT dollars on October 22, 2018, the stock price of Pharmally limited down for three consecutive days due to market rumors of the chairman selling shares for profit. Despite subsequent statements from Pharmally‘s chairman explaining that the sale of 1,300 shares was to accommodate a partner’s desire to increase their stake in Pharmally, investor confidence could not be restored. As a result, Pharmally‘s stock price plummeted to just 125 NT dollars within one month.
Insider Transfers
  1. The stock price experienced minimal fluctuations or was not significantly impacted by the transfer news. Taking Asia Vital Components Co. Ltd.(AVC) (3017) and ASE Technology Holding Co. Ltd. (2311) as examples:
  • Asia Vital Components Co. Ltd.(AVC) (3017) (2021/03/23)
    • On March 23, 2021, AVC announced that its major shareholder, Japan’s Furukawa Electric Co., Ltd., would transfer 9,300 AVC stock shares. However, the financial report released the same day indicated that AVC benefited from optimizing its product portfolio, resulting in record-high annual revenue, gross profit, and net profit after tax. As a result, the transfer news affected the stock price less.
Insider Transfers
  • ASE Technology Holding Co. Ltd. (2311) (2018/02/14)
    • Due to personal trust planning, the vice chairman of ASE transferred 118,222 shares of stock he held. Simultaneously, through Brilliant Capital Profits Limited, wholly owned by the vice chairman, transactions were made in the centralized market via block trades to purchase the same number of ASE shares at market price. As he did not substantially release any ASE shares, the stock price of ASE was not significantly affected by the transfer news.
Insider Transfers
  1. The stock price has slightly increased. Taking Ruentex Engineering & Const.Co (REC) (2597) as an example:
  • Ruentex Engineering & Const.Co (REC) (2597) (2019/10/23)
    • To simplify the organizational structure of the Ruentex Group, the subsidiary Ruentex Resources was liquidated. Ruentex Development, Ruentex Industries, and other investment companies related to the group repurchased the 72,881 shares of REC held by Ruentex Resources in the centralized market.
Insider Transfers
  1. The stock price experienced a significant decline, but there is a trend of recovery. Taking Gourmet Master Co. Ltd. (2723) as an example:
  • Gourmet Master Co. Ltd. (2723) (2023/03/24)
    • After releasing positive news during its investor conference on March 23, 2023, Gourmet‘s chairman’s spouse unexpectedly sold 3,463 shares the next day (March 24th), causing the stock price to surge by 5%. However, on the following trading day (March 27th), the stock hit the limit down. Subsequently, Gourmet explained that the sale was to “introduce long-term international investors,” and the stock price gradually stabilized after that.
Insider Transfers
Insider Transfers

Observe the stock price changes and returns the next business day after each stock declaration date.

We want to understand the changes in stock prices and returns after each stock declaration transfer. By calculating the next business day after the declaration date, we aim to observe whether the movement is positive or negative or if the stock price remains unaffected.

Insider Transfers

Analyze the statistical results and Insider transfer findings.

Calculate the number of daily return rates, categorizing them as positive if greater than 0, negative if less than 0, and zero if equal to 0.

Insider Transfers

After internal stock transfers, a pie chart depicting the changes in stock market returns on the next business day is generated. There are 488 records, with negative changes accounting for 49.2%, positive changes at 42.8%, and no change at approximately 8%.

The chart above represents the proportion of change rates in the closing prices on the next business day after the declaration date. It is evident that negative changes still dominate, accounting for nearly 50%. We can intuitively observe that investors are more inclined to withdraw funds when facing uncertainty. However, positive or unchanged movements are also possible if a company demonstrates strong fundamental qualities or if block trades do not result in share dilution.

Conclusion

From the data perspective, the impact of block trades on stock prices is worth paying attention to. We observe that after internal stock transfers, the short-term price changes mainly exhibit a negative trend, indicating that the market has a certain level of concern and uncertainty regarding such transactions.

However, block trades do not necessarily hurt stock prices. The analysis above shows that shareholders may sell their stocks due to personal financial planning or trust arrangements, which do not result in changes to the company’s share structure. Additionally, if a company’s financial performance is robust, or if the block trade is merely a reallocation of ownership, the stock price will not decline. Nevertheless, investors should closely monitor the company’s explanations regarding block trades to understand the purpose behind the stock transfer. Suppose a company fails to clearly explain the reasons for the transfer, coupled with poor operational performance or a general bearish sentiment in the market leading to consecutive price declines. Investors may need to consider reducing their holdings or selling their stocks.

This implementation analyzes insider transfers using the TEJ API. Using the data provided by TEJ API, we can implement various types of analysis as far as we can imagine. This approach saves time and effort and furnishes investors with a more diversified evaluation method. Explore more related solutions in TEJ Databank . Construct your trading strategy with a high-quality database.

Reminder: The strategy is only for reference and does not represent recommendations or advice on any financial products and investments.

GitHub Source Code

Extended Reading

Related Links

Back
Procesing