![]() |
algotradelib 0.0.0.9000
C++ header-only library for algorithmic trading
|
An amendment of a Toss order: a new price, and for a Korean order a new quantity. More...
#include <algotradelib/src/brokers/tossinvest/client.hpp>
Public Attributes | |
| std::string | order_id_ |
| Toss's order id. | |
| OrderType | type_ {OrderType::LIMIT} |
| The order type it should have. | |
| std::optional< Decimal64 > | quantity_ |
| The new quantity: required for a Korean order, empty for a US one. | |
| std::optional< Decimal64 > | price_ |
| The new price. | |
| bool | confirm_high_value_ {false} |
| Confirms a high-value order, which Toss otherwise refuses. | |
An amendment of a Toss order: a new price, and for a Korean order a new quantity.
quantity_ is required for a Korean order and must be empty for a US order (whose quantity cannot change); it is sent as given.
Definition at line 78 of file client.hpp.
| bool algotradelib::tossinvest::TossAmendment::confirm_high_value_ {false} |
Confirms a high-value order, which Toss otherwise refuses.
Definition at line 88 of file client.hpp.
| std::string algotradelib::tossinvest::TossAmendment::order_id_ |
Toss's order id.
Definition at line 80 of file client.hpp.
Referenced by algotradelib::BrokerTraits< tossinvest::TossBlockingClient >::cancel_order(), and algotradelib::BrokerTraits< tossinvest::TossClient >::cancel_order().
| std::optional<Decimal64> algotradelib::tossinvest::TossAmendment::price_ |
The new price.
Definition at line 86 of file client.hpp.
| std::optional<Decimal64> algotradelib::tossinvest::TossAmendment::quantity_ |
The new quantity: required for a Korean order, empty for a US one.
Definition at line 84 of file client.hpp.
| OrderType algotradelib::tossinvest::TossAmendment::type_ {OrderType::LIMIT} |
The order type it should have.
Definition at line 82 of file client.hpp.