OpenAPI Client for Cluefin
Project description
cluefin-openapi
cluefin-openapi: A Python client for Kiwoom Securities investment REST API.
Features
- Account information retrieval
- Domestic/foreign stock info
- Chart data and analytics
- ETF, sector, theme, and market condition support
- Order management and real-time updates
Quickstart
$> pip install cluefin-openapi
or
$> pip install cluefin-openapi[kiwoom]
from cluefin_openapi.kiwoom._auth import Auth
from cluefin_openapi.kiwoom._client import Client
auth = Auth(
app_key=os.getenv("APP_KEY"),
secret_key=os.getenv("SECRET_KEY"),
env="dev",
)
token = auth.generate_token()
client = Client(token=token.token, env="dev")
response = client.account.get_daily_stock_realized_profit_loss_by_date("005930", "20250630")
print(response.headers)
print(response.body)
Why cluefin-openapi?
Easily access investment data and trading features from Kiwoom Securities, DART, KRX, and more—all through a unified Python interface. Save time integrating with multiple financial APIs and focus on building your investment tools.
Getting Started
- Install via pip
- Obtain your Kiwoom REST API credentials
- See examples for more usage
Contributing
See CONTRIBUTING.md for guidelines.
Invest responsibly. This project is not affiliated with Kiwoom Securities.
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
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 cluefin_openapi-0.1.0.tar.gz.
File metadata
- Download URL: cluefin_openapi-0.1.0.tar.gz
- Upload date:
- Size: 99.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
93c1730d0e2c12517b3a1f241b1e11763dcd5cb2b18365c3dcc2de0474082edb
|
|
| MD5 |
170e4ae6be5b09549768aa685f238b3d
|
|
| BLAKE2b-256 |
24b4eaf2e0665fe58bf52ec9479b46e237bfe942d664d2fe1232464154eaa223
|
File details
Details for the file cluefin_openapi-0.1.0-py3-none-any.whl.
File metadata
- Download URL: cluefin_openapi-0.1.0-py3-none-any.whl
- Upload date:
- Size: 74.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d0a417234283c4b0f9d7de3a2c1463abd22a09f4c0f05541de53bc6be3e428ac
|
|
| MD5 |
1cf29591d6f4f51b8a2e05d986a3e21c
|
|
| BLAKE2b-256 |
fbc514af524eb0d79147410a0a7e94de0621b03ddb27a9eb8cf4506ca4988c37
|