|
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... | |
| CommissionFreeStatus | free_status |
| Commission-free Status. More... | |
| std::optional< Decimal > | free_amount |
| Commission-free amount. More... | |
| std::optional< std::string > | free_currency |
| Commission-free currency. More... | |
| DeductionStatus | deductions_status |
| Deduction status. More... | |
| std::optional< Decimal > | deductions_amount |
| Deduction amount. More... | |
| std::optional< std::string > | deductions_currency |
| Deduction currency. More... | |
| DeductionStatus | platform_deducted_status |
| Platform fee deduction status. More... | |
| std::optional< Decimal > | platform_deducted_amount |
| Platform deduction amount. More... | |
| std::optional< std::string > | platform_deducted_currency |
| Platform deduction currency. More... | |
| std::vector< OrderHistoryDetail > | history |
| Order history details. More... | |
| OrderChargeDetail | charge_detail |
| Order charges. More... | |
Order detail.
| OrderChargeDetail longport::trade::OrderDetail::charge_detail |
Order charges.
| std::string longport::trade::OrderDetail::currency |
Currency.
| std::optional<Decimal> longport::trade::OrderDetail::deductions_amount |
Deduction amount.
| std::optional<std::string> longport::trade::OrderDetail::deductions_currency |
Deduction currency.
| DeductionStatus longport::trade::OrderDetail::deductions_status |
Deduction status.
| std::optional<Decimal> longport::trade::OrderDetail::executed_price |
Executed price.
| Decimal longport::trade::OrderDetail::executed_quantity |
Executed quantity.
| std::optional<Date> longport::trade::OrderDetail::expire_date |
Long term order expire date.
| std::optional<Decimal> longport::trade::OrderDetail::free_amount |
Commission-free amount.
| std::optional<std::string> longport::trade::OrderDetail::free_currency |
Commission-free currency.
| CommissionFreeStatus longport::trade::OrderDetail::free_status |
Commission-free Status.
| std::vector<OrderHistoryDetail> longport::trade::OrderDetail::history |
Order history details.
| std::optional<Decimal> longport::trade::OrderDetail::last_done |
Last done.
| std::optional<Decimal> longport::trade::OrderDetail::limit_offset |
TSLPAMT / TSLPPCT order limit offset amount
| std::string longport::trade::OrderDetail::msg |
Rejected Message or remark.
| std::string longport::trade::OrderDetail::order_id |
Order ID.
| std::optional<OutsideRTH> longport::trade::OrderDetail::outside_rth |
Enable or disable outside regular trading hours.
| std::optional<Decimal> longport::trade::OrderDetail::platform_deducted_amount |
Platform deduction amount.
| std::optional<std::string> longport::trade::OrderDetail::platform_deducted_currency |
Platform deduction currency.
| DeductionStatus longport::trade::OrderDetail::platform_deducted_status |
Platform fee deduction status.
| std::optional<Decimal> longport::trade::OrderDetail::price |
Submitted price.
| Decimal longport::trade::OrderDetail::quantity |
Submitted quantity.
| std::string longport::trade::OrderDetail::remark |
Remark.
| OrderStatus longport::trade::OrderDetail::status |
Order status.
| std::string longport::trade::OrderDetail::stock_name |
Stock name.
| int64_t longport::trade::OrderDetail::submitted_at |
Submitted time.
| std::string longport::trade::OrderDetail::symbol |
Security code.
| TimeInForceType longport::trade::OrderDetail::time_in_force |
Time in force type.
| std::optional<Decimal> longport::trade::OrderDetail::trailing_amount |
TSMAMT / TSLPAMT order trailing amount
| std::optional<Decimal> longport::trade::OrderDetail::trailing_percent |
TSMPCT / TSLPPCT order trailing percent
| std::optional<int64_t> longport::trade::OrderDetail::trigger_at |
Conditional order trigger time.
| std::optional<TriggerStatus> longport::trade::OrderDetail::trigger_status |
Conditional order trigger status.
| std::optional<int64_t> longport::trade::OrderDetail::updated_at |
Last updated time.