Documentation
¶
Overview ¶
Package koreasecurities provides a unified gateway for Korean securities broker APIs.
This module abstracts away the differences between Korean broker REST APIs (KIS, Kiwoom, LS, etc.) behind a single github.com/smallfish06/krsec/pkg/broker.Broker interface.
Most users will import one of the sub-packages:
- github.com/smallfish06/krsec/pkg/broker — common interface and types
- github.com/smallfish06/krsec/pkg/server — embeddable HTTP server
Or run the standalone server:
krsec -config config.yaml
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
kis-specgen
command
|
|
|
kiwoom-specgen
command
|
|
|
krsec
command
|
|
|
examples
|
|
|
all-balances
command
|
|
|
custom-broker-server
command
|
|
|
kis-balance
command
|
|
|
kiwoom-balance
command
|
|
|
internal
|
|
|
ratelimit
Package ratelimit provides a shared rate limiter for broker API clients.
|
Package ratelimit provides a shared rate limiter for broker API clients. |
|
tools/live_api_smoke
command
|
|
|
pkg
|
|
|
broker
Package broker defines the common interface and types shared across all broker adapters.
|
Package broker defines the common interface and types shared across all broker adapters. |
|
server
Package server provides a ready-to-use HTTP API server that can be wired with any github.com/smallfish06/krsec/pkg/broker.Broker implementation.
|
Package server provides a ready-to-use HTTP API server that can be wired with any github.com/smallfish06/krsec/pkg/broker.Broker implementation. |
Click to show internal directories.
Click to hide internal directories.