LongPort OpenAPI C++ SDK
Public Attributes | List of all members
longport::trade::OrderDetail Struct Reference

Order detail. More...

#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< Decimalprice
 Submitted price. More...
 
std::optional< Decimalexecuted_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< Decimallast_done
 Last done. More...
 
std::optional< Decimaltrigger_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< Dateexpire_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< Decimaltrailing_amount
 TSMAMT / TSLPAMT order trailing amount More...
 
std::optional< Decimaltrailing_percent
 TSMPCT / TSLPPCT order trailing percent More...
 
std::optional< Decimallimit_offset
 TSLPAMT / TSLPPCT order limit offset amount More...
 
std::optional< TriggerStatustrigger_status
 Conditional order trigger status. More...
 
std::string currency
 Currency. More...
 
std::optional< OutsideRTHoutside_rth
 Enable or disable outside regular trading hours. More...
 
std::string remark
 Remark. More...
 
CommissionFreeStatus free_status
 Commission-free Status. More...
 
std::optional< Decimalfree_amount
 Commission-free amount. More...
 
std::optional< std::string > free_currency
 Commission-free currency. More...
 
DeductionStatus deductions_status
 Deduction status. More...
 
std::optional< Decimaldeductions_amount
 Deduction amount. More...
 
std::optional< std::string > deductions_currency
 Deduction currency. More...
 
DeductionStatus platform_deducted_status
 Platform fee deduction status. More...
 
std::optional< Decimalplatform_deducted_amount
 Platform deduction amount. More...
 
std::optional< std::string > platform_deducted_currency
 Platform deduction currency. More...
 
std::vector< OrderHistoryDetailhistory
 Order history details. More...
 
OrderChargeDetail charge_detail
 Order charges. More...
 

Detailed Description

Order detail.

Member Data Documentation

◆ charge_detail

OrderChargeDetail longport::trade::OrderDetail::charge_detail

Order charges.

◆ currency

std::string longport::trade::OrderDetail::currency

Currency.

◆ deductions_amount

std::optional<Decimal> longport::trade::OrderDetail::deductions_amount

Deduction amount.

◆ deductions_currency

std::optional<std::string> longport::trade::OrderDetail::deductions_currency

Deduction currency.

◆ deductions_status

DeductionStatus longport::trade::OrderDetail::deductions_status

Deduction status.

◆ executed_price

std::optional<Decimal> longport::trade::OrderDetail::executed_price

Executed price.

◆ executed_quantity

Decimal longport::trade::OrderDetail::executed_quantity

Executed quantity.

◆ expire_date

std::optional<Date> longport::trade::OrderDetail::expire_date

Long term order expire date.

◆ free_amount

std::optional<Decimal> longport::trade::OrderDetail::free_amount

Commission-free amount.

◆ free_currency

std::optional<std::string> longport::trade::OrderDetail::free_currency

Commission-free currency.

◆ free_status

CommissionFreeStatus longport::trade::OrderDetail::free_status

Commission-free Status.

◆ history

std::vector<OrderHistoryDetail> longport::trade::OrderDetail::history

Order history details.

◆ last_done

std::optional<Decimal> longport::trade::OrderDetail::last_done

Last done.

◆ limit_offset

std::optional<Decimal> longport::trade::OrderDetail::limit_offset

TSLPAMT / TSLPPCT order limit offset amount

◆ msg

std::string longport::trade::OrderDetail::msg

Rejected Message or remark.

◆ order_id

std::string longport::trade::OrderDetail::order_id

Order ID.

◆ order_type

OrderType longport::trade::OrderDetail::order_type

Order type.

◆ outside_rth

std::optional<OutsideRTH> longport::trade::OrderDetail::outside_rth

Enable or disable outside regular trading hours.

◆ platform_deducted_amount

std::optional<Decimal> longport::trade::OrderDetail::platform_deducted_amount

Platform deduction amount.

◆ platform_deducted_currency

std::optional<std::string> longport::trade::OrderDetail::platform_deducted_currency

Platform deduction currency.

◆ platform_deducted_status

DeductionStatus longport::trade::OrderDetail::platform_deducted_status

Platform fee deduction status.

◆ price

std::optional<Decimal> longport::trade::OrderDetail::price

Submitted price.

◆ quantity

Decimal longport::trade::OrderDetail::quantity

Submitted quantity.

◆ remark

std::string longport::trade::OrderDetail::remark

Remark.

◆ side

OrderSide longport::trade::OrderDetail::side

Order side.

◆ status

OrderStatus longport::trade::OrderDetail::status

Order status.

◆ stock_name

std::string longport::trade::OrderDetail::stock_name

Stock name.

◆ submitted_at

int64_t longport::trade::OrderDetail::submitted_at

Submitted time.

◆ symbol

std::string longport::trade::OrderDetail::symbol

Security code.

◆ tag

OrderTag longport::trade::OrderDetail::tag

Order tag.

◆ time_in_force

TimeInForceType longport::trade::OrderDetail::time_in_force

Time in force type.

◆ trailing_amount

std::optional<Decimal> longport::trade::OrderDetail::trailing_amount

TSMAMT / TSLPAMT order trailing amount

◆ trailing_percent

std::optional<Decimal> longport::trade::OrderDetail::trailing_percent

TSMPCT / TSLPPCT order trailing percent

◆ trigger_at

std::optional<int64_t> longport::trade::OrderDetail::trigger_at

Conditional order trigger time.

◆ trigger_price

std::optional<Decimal> longport::trade::OrderDetail::trigger_price

LIT / MIT Order Trigger Price

◆ trigger_status

std::optional<TriggerStatus> longport::trade::OrderDetail::trigger_status

Conditional order trigger status.

◆ updated_at

std::optional<int64_t> longport::trade::OrderDetail::updated_at

Last updated time.


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