kis

package
v0.25.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 15, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package kis exposes the public KIS (Korea Investment & Securities) adapter.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFileTokenManager

func NewFileTokenManager() tokencache.Manager

NewFileTokenManager creates a KIS file-backed token manager.

func NewFileTokenManagerWithDir

func NewFileTokenManagerWithDir(dir string) tokencache.Manager

NewFileTokenManagerWithDir creates a KIS file-backed token manager with a fixed directory.

Types

type Adapter

type Adapter interface {
	adapter.Adapter
	CallEndpoint(ctx context.Context, method, path, trID string, request any) (any, error)
	BootstrapSymbols(ctx context.Context) (int, error)
	ReloadSymbols(ctx context.Context) (int, error)
}

Adapter is the public KIS adapter contract.

func NewAdapterWithOptions

func NewAdapterWithOptions(sandbox bool, accountID string, opts adapter.Options) Adapter

NewAdapterWithOptions creates a KIS adapter with injectable options.

Directories

Path Synopsis
Package specs holds the generated documented KIS endpoint specs and their shared runtime helpers.
Package specs holds the generated documented KIS endpoint specs and their shared runtime helpers.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL