# Investor Activity

## Example code

```python
from finter.data import ContentFactory

cf = ContentFactory("kr_stock", 20200101, 20200201)
df = cf.get_df("buy_insti_qty")
```

## Metadata

| Valid From | Delivery Schedule | Time Zone | Data Frequency |
| ---------- | ----------------- | --------- | -------------- |
| 2000-01-04 | "20 23 \* \* 1-5" | KST       | 1d delay       |

## Item List

### **Institutional Investors**

* <mark style="color:red;">**DO NOT USE, Data Under Maintenance Due to Issues**</mark>
* `buy_insti_qty`: Quantity of stocks bought by institutional investors.
* `buy_insti_amt`: Amount of money spent by institutional investors on buying stocks.
* `sell_insti_qty`: Quantity of stocks sold by institutional investors.
* `sell_insti_amt`: Amount of money received by institutional investors from selling stocks.

### **Foreign Investors**

* <mark style="color:red;">**DO NOT USE, Data Under Maintenance Due to Issues**</mark>
* `buy_frgn_qty`: Quantity of stocks bought by foreign investors.
* `buy_frgn_amt`: Amount of money spent by foreign investors on buying stocks.
* `sell_frgn_qty`: Quantity of stocks sold by foreign investors.
* `sell_frgn_amt`: Amount of money received by foreign investors from selling stocks.

### **Individual Investors**

* <mark style="color:red;">**DO NOT USE, Data Under Maintenance Due to Issues**</mark>
* `buy_indvsl_qty`: Quantity of stocks bought by individual investors.
* `buy_indvsl_amt`: Amount of money spent by individual investors on buying stocks.
* `sell_indvsl_qty`: Quantity of stocks sold by individual investors.
* `sell_indvsl_amt`: Amount of money received by individual investors from selling stocks.

### **Net Buy Amounts**

* <mark style="color:red;">**DO NOT USE, Data Under Maintenance Due to Issues**</mark>
* `net_buy_amt`: Net amount of money spent on buying stocks (buy amount - sell amount).
* `net_buy_amt_all`: Total net amount of money spent on buying stocks by all investors.

### **Total Buy and Sell Amounts**

* <mark style="color:red;">**DO NOT USE, Data Under Maintenance Due to Issues**</mark>
* `buy_amt_all`: Total amount of money spent on buying stocks by all investors.
* `sell_amt_all`: Total amount of money received from selling stocks by all investors.

### **Net Buy Amounts by Investor Code**

* `net_buy_amt_0100`: Net buy amount for institutional investors.
* `buy_amt_0100`: Buy amount for institutional investors.
* `sell_amt_0100`: Sell amount for institutional investors.
* `net_buy_amt_0101`: Net buy amount for securities and futures companies.
* `buy_amt_0101`: Buy amount for securities and futures companies.
* `sell_amt_0101`: Sell amount for securities and futures companies.
* `net_buy_amt_0102`: Net buy amount for insurance companies.
* `buy_amt_0102`: Buy amount for insurance companies.
* `sell_amt_0102`: Sell amount for insurance companies.
* `net_buy_amt_0103`: Net buy amount for investment trust companies.
* `buy_amt_0103`: Buy amount for investment trust companies.
* `sell_amt_0103`: Sell amount for investment trust companies.
* `net_buy_amt_0104`: Net buy amount for banks.
* `buy_amt_0104`: Buy amount for banks.
* `sell_amt_0104`: Sell amount for banks.
* `net_buy_amt_0105`: Net buy amount for savings banks.
* `buy_amt_0105`: Buy amount for savings banks.
* `sell_amt_0105`: Sell amount for savings banks.
* `net_buy_amt_0106`: Net buy amount for pension funds.
* `buy_amt_0106`: Buy amount for pension funds.
* `sell_amt_0106`: Sell amount for pension funds.
* `net_buy_amt_0107`: Net buy amount for private equity funds.
* `buy_amt_0107`: Buy amount for private equity funds.
* `sell_amt_0107`: Sell amount for private equity funds.

### **Net Buy Amounts by Investor Type**

* `net_buy_amt_0200`: Net buy amount for all foreign investors.
* `buy_amt_0200`: Buy amount for all foreign investors.
* `sell_amt_0200`: Sell amount for all foreign investors.
* `net_buy_amt_0201`: Net buy amount for foreign individual investors.
* `buy_amt_0201`: Buy amount for foreign individual investors.
* `sell_amt_0201`: Sell amount for foreign individual investors.
* `net_buy_amt_0202`: Net buy amount for other foreign investors.
* `buy_amt_0202`: Buy amount for other foreign investors.
* `sell_amt_0202`: Sell amount for other foreign investors.
* `net_buy_amt_0300`: Net buy amount for individual investors.
* `buy_amt_0300`: Buy amount for individual investors.
* `sell_amt_0300`: Sell amount for individual investors.
* `net_buy_amt_0400`: Net buy amount for other corporations and governments.
* `buy_amt_0400`: Buy amount for other corporations and governments.
* `sell_amt_0400`: Sell amount for other corporations and governments.
* `net_buy_amt_0900`: Net buy amount for all investor types.
* `buy_amt_0900`: Buy amount for all investor types.
* `sell_amt_0900`: Sell amount for all investor types.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://quantit.gitbook.io/quanda/kr-stock/market/investor-activity.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
