kis-api

Manage tokens, REST calls, and WebSocket streams for KIS Open API trading.

Updated Apr 3, 2026
One-click install
npx skills add https://github.com/CountJung/KISAutoTrade --skill kis-api
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: kis-api
Source: https://github.com/CountJung/KISAutoTrade/tree/main/.github/skills/kis-api
Command: npx skills add https://github.com/CountJung/KISAutoTrade --skill kis-api

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

KIS Open API integration requires managing tokens, REST calls, and WebSocket streams across real and mock trading environments. This skill consolidates setup, authentication, and usage patterns to streamline automated access to KIS services.

Core Features & Use Cases

  • Token issuance and renewal for REST/WebSocket interactions in 실전투자 and 모의투자 environments.
  • REST API call patterns for balance, quotations, orders, and trade history.
  • WebSocket real-time price streams and TR-ID management across environments.
  • Environment switching and account profile handling with robust error mapping and retry strategies.
  • Use Case: Build an automated trading assistant that continuously fetches quotes, places orders, and logs trades through a consistent KIS API surface.

Quick Start

Authenticate with your app credentials to obtain a token, then start issuing REST calls and subscribing to WebSocket streams to drive automated trading.

Frequently Asked Questions about kis-api

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate KIS Open API token management for trading?

KIS Open API token management is automated by authenticating with app credentials to issue and renew tokens for REST calls and WebSocket streams. It handles both 실전투자 and 모의투자 environments, enabling continuous automated trading without manual token refresh.

What is the best way to subscribe to real-time price streams via KIS WebSocket?

Real-time KIS WebSocket price streams are managed by handling TR-IDs across both 실전투자 and 모의투자 environments. The skill manages WebSocket interaction patterns and TR-ID registration, allowing automated trading assistants to continuously fetch live quotations.

Can I switch between 실전투자 and 모의투자 environments using the KIS Open API?

Environment switching between 실전투자 and 모의투자 is supported through account profile handling. The skill manages environment-specific configurations and TR-ID mapping, ensuring automated trading workflows operate consistently across both real and mock trading setups.

How do I execute REST API calls for balance and orders with the KIS API?

REST API calls for balance, quotations, orders, and trade history are executed using established patterns provided by the skill. It consolidates setup and authentication, streamlining automated access to KIS services for routine trading operations.

Does KIS Open API integration handle error mapping and retries for automated trading?

Error mapping and retry strategies are handled robustly within the KIS Open API integration. The skill manages token validity, REST call failures, and WebSocket connection drops, allowing automated trading workflows to recover automatically.