algotradelib 0.0.0.9000
C++ header-only library for algorithmic trading
Loading...
Searching...
No Matches
algotradelib::krx Namespace Reference

The KRX tick tables that the Korean adapters attach to instruments, in <algotradelib/krx>. More...

Functions

PriceRule equity_price_rule ()
 Returns the KRX stock tick table (January 2023 revision).
PriceRule fund_price_rule ()
 Returns the KRX tick table for ETFs and ETNs (December 2023 revision).
PriceRule price_rule_for (SecurityType type)
 Returns the KRX price grid for a kind of security listed on KRX.

Detailed Description

The KRX tick tables that the Korean adapters attach to instruments, in <algotradelib/krx>.

Function Documentation

◆ equity_price_rule()

PriceRule algotradelib::krx::equity_price_rule ( )
inline

Returns the KRX stock tick table (January 2023 revision).

Returns
The rule.

Definition at line 12 of file krx.hpp.

Referenced by equity_price_rule(), and price_rule_for().

◆ fund_price_rule()

PriceRule algotradelib::krx::fund_price_rule ( )
inline

Returns the KRX tick table for ETFs and ETNs (December 2023 revision).

Returns
The rule.

Definition at line 32 of file krx.hpp.

Referenced by fund_price_rule(), and price_rule_for().

◆ price_rule_for()

PriceRule algotradelib::krx::price_rule_for ( SecurityType type)
inline

Returns the KRX price grid for a kind of security listed on KRX.

Stocks, foreign stocks, depositary receipts, infrastructure funds and REITs get the stock table, and ETFs and ETNs the ETF and ETN table. Foreign ETFs, warrants and unknown types get an UNKNOWN rule.

Parameters
typeThe security type.
Returns
The rule.

Definition at line 52 of file krx.hpp.

Referenced by price_rule_for().