open-index/open-npm huggingface dataset:
npm package: @jasset/kis
Description: [KOR](README-KO.md)
Latest version: 0.1.2


[KOR](README-KO.md)

# @jasset/kis

[![npm version](https://img.shields.io/npm/v/@jasset/kis.svg)](https://www.npmjs.com/package/@jasset/kis)

Typescript client for KIS API(KoreaInvestment OpenAPI).

## Installation

```bash
npm install @jasset/kis
```

## How to use

```typescript
import { createKisClient } from "@jasset/kis";

async function main() {
  const client = createKisClient({
    appKey: process.env.KIS_APP_KEY,
    appSecret: process.env.KIS_APP_SECRET,
    env: "demo", // or 'real'
  });

  // 1. (Optional) Get Access Token manually
  // The client will automatically fetch and reuse the token if not set.
  // const { access_token } = await client.getAccessToken();
  // client.setAccessToken(access_token);

  // 2. Call API (e.g. Check Domestic Holiday)
  // Token is automatically handled!
  // New: APIs are organized under namespaces
  const result = await client.domestic.checkHoliday({
    bassDt: "20231225",
  });
  
  console.log(result.holidays);
}
main();
```

## Features

- **Typed Request/Response**: All request and response bodies are fully typed.
- **Auto Pagination**: Automatically fetch all pages for paginated APIs (can be disabled).
- **Environment Support**: Easy switch between Real and Demo environments.
- **Client Methods**: APIs accessible via `client.domestic` and `client.overseas`.

## API Status

### Domestic Stock
| Type | Name | Method | Path | Status |
| :--- | :--- | :--- | :--- | :--- |
| REST | 국내휴장일조회 | GET | /uapi/domestic-stock/v1/quotations/chk-holiday | ✅ |
| REST | 주식기본조회 | GET | /uapi/domestic-stock/v1/quotations/search-stock-info | ✅ |
| ... | ... | ... | ... | ... |

[(See full list in docs or type definitions)](./IMPLEMENTATION_STATUS.md)


## Playground

playground is demo client and server for example.
npm package: @jasset/kiwoom
Description: [![npm version](https://img.shields.io/npm/v/@jasset/kiwoom.svg)](https://www.npmjs.com/package/@jasset/kiwoom)
Latest version: 0.0.2


# @jasset/kiwoom

[![npm version](https://img.shields.io/npm/v/@jasset/kiwoom.svg)](https://www.npmjs.com/package/@jasset/kiwoom)

Typescript client for Kiwoom Open API.

## Installation

```bash
npm install @jasset/kiwoom
```

## How to use

```typescript
import { KiwoomClient } from "@jasset/kiwoom";

async function main() {
  // 1. Initialize Client
  const client = new KiwoomClient(
    process.env.KIWOOM_APP_KEY!,
    process.env.KIWOOM_APP_SECRET!,
    true // isMock: true for mock investment, false for real
  );

  // 2. Issue Access Token
  // You should manage the token yourself (e.g. cache it)
  const tokenResponse = await client.issueAccessToken();
  const token = tokenResponse.token;
  console.log('Access Token:', token);

  // 3. Call APIs

  // Example: Get Daily Balance Yield (ka01690)
  const dailyBalance = await client.getDailyBalanceYield(token, "20231225");
  console.log('Daily Balance:', dailyBalance);

  // Example: Get Real-time Stock Search Ranking (ka00198)
  // qry_tp: '1'(1min), '2'(10min), '3'(1hour), '4'(cumulative), '5'(30sec)
  const ranking = await client.getStockSearchRanking(token, '1');
  console.log('Stock Ranking:', ranking.item_inq_rank);
}
main();
```

## Features

- **Typed Request/Response**: All request and response bodies are fully typed.

## API Implementation Status

[(See full list in docs or type definitions)](./IMPLEMENTATION_STATUS.md)
npm package: @jasset/upbit
Description: A lightweight, fully typed TypeScript client for the Upbit API. Designed for developers who need a simple yet powerful interface for crypto trading and market data. Supports REST endpoints for balances, tickers, orderbooks, candles, and order management.
Latest version: 0.2.1

# @jasset/upbit

A lightweight, fully typed TypeScript client for the Upbit API. Designed for developers who need a simple yet powerful interface for crypto trading and market data. Supports REST endpoints for balances, tickers, orderbooks, candles, and order management.

## Quickstart

```ts
import { createUpbitClient } from "@jasset/upbit";

const client = createUpbitClient({
  accessKey: process.env.UPBIT_ACCESS_KEY!,
  secretKey: process.env.UPBIT_SECRET_KEY!,
});

const accounts = await client.exchange.accounts();
const [ticker] = await client.quotation.ticker({ markets: ["KRW-BTC"] });
const candles = await client.quotation.candles({ market: "KRW-BTC", count: 30 });
const [orderbook] = await client.quotation.orderbook({ markets: ["KRW-BTC"], count: 15 });

const order = await client.exchange.orders({
  market: "KRW-BTC",
  side: "bid",
  ordType: "limit",
  price: 1000000,
  volume: 0.001,
});
```

You can find implementation status in the [IMPLEMENTATION_STATUS.md](IMPLEMENTATION_STATUS.md) file.