Python wrapper for Kiwoom Open API+ (Korea Stock Market)
Project description
pykiwoomapi
Python wrapper for Kiwoom Open API+ (Korea Stock Market).
Installation
pip install pykiwoomapi
For development:
pip install -e .
pip install -e ".[dev]"
Quick Start
from pykiwoomapi import Auth, KiwoomClient
# Create auth object (mock=True for demo account)
auth = Auth(mock=True)
auth.login("YOUR_APP_KEY", "YOUR_SECRET_KEY")
# Create API client
client = KiwoomClient(auth)
# Request stock basic info (Samsung Electronics)
result = client.read("주식기본정보요청", stk_cd="005930")
print(result)
Features
- 180+ API endpoints covering Korean stock market data
- REST API - Query stock info, account, rankings, charts, themes, ETFs, ELWs
- WebSocket - Real-time market data streaming
- Account - Balance, profit/loss, orders (buy/sell/modify/cancel)
- Mock mode - Test with demo account without real trading
Environment
| Environment | Base URL |
|---|---|
| Mock (Demo) | https://mockapi.kiwoom.com |
| Production | https://api.kiwoom.com |
| Rest API | https://openapi.kiwoom.com/guide/apiguide |
License
MIT License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pykiwoomapi-0.1.0.tar.gz
(18.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pykiwoomapi-0.1.0.tar.gz.
File metadata
- Download URL: pykiwoomapi-0.1.0.tar.gz
- Upload date:
- Size: 18.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1948a374f2e6eddfd6d0edf79e28ca52be6f052f792f785a34ccfba46eee9e35
|
|
| MD5 |
eb5732cb15730e6196feb8b4d1182683
|
|
| BLAKE2b-256 |
2980258ac17e8ba82aee105b0fa1655cbb32e815c76396cbc4d42087e3dc60b5
|
File details
Details for the file pykiwoomapi-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pykiwoomapi-0.1.0-py3-none-any.whl
- Upload date:
- Size: 15.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8711bab41888fd19967a930f8d4b9a23225f11fbd6b9b789b8b553060040f0c5
|
|
| MD5 |
250ec51b25af31064430208f78680983
|
|
| BLAKE2b-256 |
f9f5bba12ad1ecd21a5f7897968f6137fc7d1683c02fdae0225b26d80bda5422
|