algotradelib 0.0.0.9000
C++ header-only library for algorithmic trading
Loading...
Searching...
No Matches
algotradelib::kiwoom::KiwoomOrderableAmount Struct Reference

What may be ordered of one instrument, per margin tier (kt00010), reachable through session.client(). More...

#include <algotradelib/src/brokers/kiwoom/client.hpp>

Collaboration diagram for algotradelib::kiwoom::KiwoomOrderableAmount:

Public Attributes

std::vector< KiwoomMarginTier > tiers_
 Always seven 증거금률 tiers: 20, 30, 40, 50, 60 and 100 %, then the 60 % 증거금감면 tier (reduced_). A tier's figures are empty where Kiwoom sent none.
Decimal64 orderable_cash_
 ord_alowa 주문가능현금: the cash available to order with.
Decimal64 withdrawable_
 wthd_alowa 인출가능금액.
Decimal64 settled_deposit_
 d2entra D+2 추정예수금.
bool margin_reduction_applies_ {false}
 profa_rdex_aplc_tp: whether the 증거금감면 tiers are the ones in force (1) or not (0).
Currency currency_
 The currency every amount above is in, which is won.
std::chrono::system_clock::time_point received_at_
 When the figures arrived, on this machine's clock.

Detailed Description

What may be ordered of one instrument, per margin tier (kt00010), reachable through session.client().

There is no single affordable quantity: which tier applies depends on the instrument's margin rate, which Kiwoom does not select for you.

Definition at line 856 of file client.hpp.

Member Data Documentation

◆ currency_

Currency algotradelib::kiwoom::KiwoomOrderableAmount::currency_

The currency every amount above is in, which is won.

Definition at line 871 of file client.hpp.

◆ margin_reduction_applies_

bool algotradelib::kiwoom::KiwoomOrderableAmount::margin_reduction_applies_ {false}

profa_rdex_aplc_tp: whether the 증거금감면 tiers are the ones in force (1) or not (0).

Definition at line 869 of file client.hpp.

◆ orderable_cash_

Decimal64 algotradelib::kiwoom::KiwoomOrderableAmount::orderable_cash_

ord_alowa 주문가능현금: the cash available to order with.

Definition at line 863 of file client.hpp.

◆ received_at_

std::chrono::system_clock::time_point algotradelib::kiwoom::KiwoomOrderableAmount::received_at_

When the figures arrived, on this machine's clock.

Definition at line 873 of file client.hpp.

◆ settled_deposit_

Decimal64 algotradelib::kiwoom::KiwoomOrderableAmount::settled_deposit_

d2entra D+2 추정예수금.

Definition at line 867 of file client.hpp.

◆ tiers_

std::vector<KiwoomMarginTier> algotradelib::kiwoom::KiwoomOrderableAmount::tiers_

Always seven 증거금률 tiers: 20, 30, 40, 50, 60 and 100 %, then the 60 % 증거금감면 tier (reduced_). A tier's figures are empty where Kiwoom sent none.

Definition at line 861 of file client.hpp.

◆ withdrawable_

Decimal64 algotradelib::kiwoom::KiwoomOrderableAmount::withdrawable_

wthd_alowa 인출가능금액.

Definition at line 865 of file client.hpp.


The documentation for this struct was generated from the following file: