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

Order changed message. More...

#include <types.hpp>

Public Attributes

OrderSide side
 Order side. More...
 
std::string stock_name
 Stock name. More...
 
Decimal submitted_quantity
 Submitted quantity. More...
 
std::string symbol
 Order symbol. More...
 
OrderType order_type
 Order type. More...
 
Decimal submitted_price
 Submitted price. More...
 
Decimal executed_quantity
 Executed quantity. More...
 
std::optional< Decimalexecuted_price
 Executed price. More...
 
std::string order_id
 Order ID. More...
 
std::string currency
 Currency. More...
 
OrderStatus status
 Order status. More...
 
int64_t submitted_at
 Submitted time. More...
 
int64_t updated_at
 Last updated time. More...
 
std::optional< Decimaltrigger_price
 Order trigger price. More...
 
std::string msg
 Rejected message or remark. More...
 
OrderTag tag
 Order tag. More...
 
std::optional< TriggerStatustrigger_status
 Conditional order trigger status. More...
 
std::optional< int64_t > trigger_at
 Conditional order trigger time. More...
 
std::optional< Decimaltrailing_amount
 Trailing amount. More...
 
std::optional< Decimaltrailing_percent
 Trailing percent. More...
 
std::optional< Decimallimit_offset
 Limit offset amount. More...
 
std::string account_no
 Account no. More...
 
std::optional< Decimallast_share
 Last share. More...
 
std::optional< Decimallast_price
 Last price. More...
 
std::string remark
 Remark message. More...
 

Detailed Description

Order changed message.

Member Data Documentation

◆ account_no

std::string longport::trade::PushOrderChanged::account_no

Account no.

◆ currency

std::string longport::trade::PushOrderChanged::currency

Currency.

◆ executed_price

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

Executed price.

◆ executed_quantity

Decimal longport::trade::PushOrderChanged::executed_quantity

Executed quantity.

◆ last_price

std::optional<Decimal> longport::trade::PushOrderChanged::last_price

Last price.

◆ last_share

std::optional<Decimal> longport::trade::PushOrderChanged::last_share

Last share.

◆ limit_offset

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

Limit offset amount.

◆ msg

std::string longport::trade::PushOrderChanged::msg

Rejected message or remark.

◆ order_id

std::string longport::trade::PushOrderChanged::order_id

Order ID.

◆ order_type

OrderType longport::trade::PushOrderChanged::order_type

Order type.

◆ remark

std::string longport::trade::PushOrderChanged::remark

Remark message.

◆ side

OrderSide longport::trade::PushOrderChanged::side

Order side.

◆ status

OrderStatus longport::trade::PushOrderChanged::status

Order status.

◆ stock_name

std::string longport::trade::PushOrderChanged::stock_name

Stock name.

◆ submitted_at

int64_t longport::trade::PushOrderChanged::submitted_at

Submitted time.

◆ submitted_price

Decimal longport::trade::PushOrderChanged::submitted_price

Submitted price.

◆ submitted_quantity

Decimal longport::trade::PushOrderChanged::submitted_quantity

Submitted quantity.

◆ symbol

std::string longport::trade::PushOrderChanged::symbol

Order symbol.

◆ tag

OrderTag longport::trade::PushOrderChanged::tag

Order tag.

◆ trailing_amount

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

Trailing amount.

◆ trailing_percent

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

Trailing percent.

◆ trigger_at

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

Conditional order trigger time.

◆ trigger_price

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

Order trigger price.

◆ trigger_status

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

Conditional order trigger status.

◆ updated_at

int64_t longport::trade::PushOrderChanged::updated_at

Last updated time.


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