LongPort OpenAPI C++ SDK
|
#include <types.hpp>
Public Attributes | |
std::string | order_id |
Order ID. More... | |
OrderStatus | status |
Order status. More... | |
std::string | stock_name |
Stock name. More... | |
Decimal | quantity |
Submitted quantity. More... | |
Decimal | executed_quantity |
Executed quantity. More... | |
std::optional< Decimal > | price |
Submitted price. More... | |
std::optional< Decimal > | executed_price |
Executed price. More... | |
int64_t | submitted_at |
Submitted time. More... | |
OrderSide | side |
Order side. More... | |
std::string | symbol |
Security code. More... | |
OrderType | order_type |
Order type. More... | |
std::optional< Decimal > | last_done |
Last done. More... | |
std::optional< Decimal > | trigger_price |
LIT / MIT Order Trigger Price More... | |
std::string | msg |
Rejected Message or remark. More... | |
OrderTag | tag |
Order tag. More... | |
TimeInForceType | time_in_force |
Time in force type. More... | |
std::optional< Date > | expire_date |
Long term order expire date. More... | |
std::optional< int64_t > | updated_at |
Last updated time. More... | |
std::optional< int64_t > | trigger_at |
Conditional order trigger time. More... | |
std::optional< Decimal > | trailing_amount |
TSMAMT / TSLPAMT order trailing amount More... | |
std::optional< Decimal > | trailing_percent |
TSMPCT / TSLPPCT order trailing percent More... | |
std::optional< Decimal > | limit_offset |
TSLPAMT / TSLPPCT order limit offset amount More... | |
std::optional< TriggerStatus > | trigger_status |
Conditional order trigger status. More... | |
std::string | currency |
Currency. More... | |
std::optional< OutsideRTH > | outside_rth |
Enable or disable outside regular trading hours. More... | |
std::string | remark |
Remark. More... | |
std::string longport::trade::Order::currency |
Currency.
std::optional<Decimal> longport::trade::Order::executed_price |
Executed price.
Decimal longport::trade::Order::executed_quantity |
Executed quantity.
std::optional<Date> longport::trade::Order::expire_date |
Long term order expire date.
std::optional<Decimal> longport::trade::Order::last_done |
Last done.
std::optional<Decimal> longport::trade::Order::limit_offset |
TSLPAMT
/ TSLPPCT
order limit offset amount
std::string longport::trade::Order::msg |
Rejected Message or remark.
std::string longport::trade::Order::order_id |
Order ID.
std::optional<OutsideRTH> longport::trade::Order::outside_rth |
Enable or disable outside regular trading hours.
std::optional<Decimal> longport::trade::Order::price |
Submitted price.
Decimal longport::trade::Order::quantity |
Submitted quantity.
std::string longport::trade::Order::remark |
Remark.
OrderStatus longport::trade::Order::status |
Order status.
std::string longport::trade::Order::stock_name |
Stock name.
int64_t longport::trade::Order::submitted_at |
Submitted time.
std::string longport::trade::Order::symbol |
Security code.
TimeInForceType longport::trade::Order::time_in_force |
Time in force type.
std::optional<Decimal> longport::trade::Order::trailing_amount |
TSMAMT
/ TSLPAMT
order trailing amount
std::optional<Decimal> longport::trade::Order::trailing_percent |
TSMPCT
/ TSLPPCT
order trailing percent
std::optional<int64_t> longport::trade::Order::trigger_at |
Conditional order trigger time.
std::optional<TriggerStatus> longport::trade::Order::trigger_status |
Conditional order trigger status.
std::optional<int64_t> longport::trade::Order::updated_at |
Last updated time.