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

One margin tier of Kiwoom's kt00010 answer: what may be ordered at that 증거금률. More...

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

Public Attributes

int margin_percent_ {0}
 The margin rate the row applies to, as a percentage: 20, 30, 40, 50, 60 or 100.
bool reduced_ {false}
 Whether this row is the 증거금감면 (reduced-margin) variant of its rate.
std::optional< Decimal64 > amount_
 The orderable amount at this margin rate (profa_NNord_alow_amt), if Kiwoom reported one.
std::optional< Decimal64 > quantity_
 profa_NNord_alowq: the orderable quantity at this rate. Empty as for amount_.

Detailed Description

One margin tier of Kiwoom's kt00010 answer: what may be ordered at that 증거금률.

Definition at line 838 of file client.hpp.

Member Data Documentation

◆ amount_

std::optional<Decimal64> algotradelib::kiwoom::KiwoomMarginTier::amount_

The orderable amount at this margin rate (profa_NNord_alow_amt), if Kiwoom reported one.

Definition at line 844 of file client.hpp.

◆ margin_percent_

int algotradelib::kiwoom::KiwoomMarginTier::margin_percent_ {0}

The margin rate the row applies to, as a percentage: 20, 30, 40, 50, 60 or 100.

Definition at line 840 of file client.hpp.

◆ quantity_

std::optional<Decimal64> algotradelib::kiwoom::KiwoomMarginTier::quantity_

profa_NNord_alowq: the orderable quantity at this rate. Empty as for amount_.

Definition at line 846 of file client.hpp.

◆ reduced_

bool algotradelib::kiwoom::KiwoomMarginTier::reduced_ {false}

Whether this row is the 증거금감면 (reduced-margin) variant of its rate.

Definition at line 842 of file client.hpp.


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