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

An amendment or cancellation of a Kiwoom order. More...

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

Collaboration diagram for algotradelib::kiwoom::KiwoomAmendment:

Public Attributes

KiwoomOrderRef order_
 The order to amend, which carries the symbol Kiwoom requires beside the order number.
Venue venue_ {Venue::UNSPECIFIED}
 The venue the order rests on, as listed (Kiwoom's dmst_stex_tp): KRX, NXT or COMBINED (SOR). Required: UNSPECIFIED is refused before sending, for a cancellation too.
Decimal64 quantity_
 The quantity affected, or zero for everything still resting (Kiwoom evaluates 0 when it processes the instruction, so it cannot overshoot a partial fill).
std::optional< Decimal64 > price_
 The new price, on a modification; absent on an unpriced basis, and refused on a cancellation.
std::optional< Decimal64 > condition_price_
 The new trigger price (mdfy_cond_uv), for amending a stop-limit (28) order; must be empty on a cancellation, which is otherwise refused.

Detailed Description

An amendment or cancellation of a Kiwoom order.

Kiwoom amends only quantity, price and trigger price (kt10002) and cancels by quantity (kt10003); the order type, condition and session cannot change, and an amendment asking to change them is refused.

Definition at line 70 of file client.hpp.

Member Data Documentation

◆ condition_price_

std::optional<Decimal64> algotradelib::kiwoom::KiwoomAmendment::condition_price_

The new trigger price (mdfy_cond_uv), for amending a stop-limit (28) order; must be empty on a cancellation, which is otherwise refused.

Definition at line 89 of file client.hpp.

◆ order_

KiwoomOrderRef algotradelib::kiwoom::KiwoomAmendment::order_

The order to amend, which carries the symbol Kiwoom requires beside the order number.

Definition at line 72 of file client.hpp.

◆ price_

std::optional<Decimal64> algotradelib::kiwoom::KiwoomAmendment::price_

The new price, on a modification; absent on an unpriced basis, and refused on a cancellation.

Definition at line 84 of file client.hpp.

◆ quantity_

Decimal64 algotradelib::kiwoom::KiwoomAmendment::quantity_

The quantity affected, or zero for everything still resting (Kiwoom evaluates 0 when it processes the instruction, so it cannot overshoot a partial fill).

Definition at line 82 of file client.hpp.

◆ venue_

Venue algotradelib::kiwoom::KiwoomAmendment::venue_ {Venue::UNSPECIFIED}

The venue the order rests on, as listed (Kiwoom's dmst_stex_tp): KRX, NXT or COMBINED (SOR). Required: UNSPECIFIED is refused before sending, for a cancellation too.

Definition at line 77 of file client.hpp.


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