|
LongPort OpenAPI C SDK
|
#include <longport.h>
Order detail
| struct lb_order_charge_detail_t charge_detail |
Order charges
| const char* currency |
Currency
| const struct lb_decimal_t* deductions_amount |
Deduction amount
| const char* deductions_currency |
Deduction currency
| enum lb_deduction_status_t deductions_status |
Deduction status
| const struct lb_decimal_t* executed_price |
Executed price (maybe null)
| const struct lb_decimal_t* executed_quantity |
Executed quantity
| const struct lb_date_t* expire_date |
Long term order expire date (maybe null)
| const struct lb_decimal_t* free_amount |
Commission-free amount
| const char* free_currency |
Commission-free currency
| enum lb_commission_free_status_t free_status |
Commission-free Status
| const struct lb_order_history_detail_t* history |
Order history details
| const struct lb_decimal_t* last_done |
Last done (maybe null)
| const struct lb_decimal_t* limit_offset |
TSLPAMT / TSLPPCT order limit offset amount (maybe null)
| const char* msg |
Rejected Message or remark
| uintptr_t num_history |
Number of history
| const char* order_id |
Order ID
| enum lb_order_type_t order_type |
Order type
| enum lb_outside_rth_t* outside_rth |
Enable or disable outside regular trading hours (maybe null)
| const struct lb_decimal_t* platform_deducted_amount |
Platform deduction amount
| const char* platform_deducted_currency |
Platform deduction currency
| enum lb_deduction_status_t platform_deducted_status |
Platform fee deduction status
| const struct lb_decimal_t* price |
Submitted price (maybe null)
| const struct lb_decimal_t* quantity |
Submitted quantity
| const char* remark |
Remark
| enum lb_order_side_t side |
Order side
| enum lb_order_status_t status |
Order status
| const char* stock_name |
Stock name
| int64_t submitted_at |
Submitted time
| const char* symbol |
Security code
| enum lb_order_tag_t tag |
Order tag
| enum lb_time_in_force_type_t time_in_force |
Time in force type
| const struct lb_decimal_t* trailing_amount |
TSMAMT / TSLPAMT order trailing amount (maybe null)
| const struct lb_decimal_t* trailing_percent |
TSMPCT / TSLPPCT order trailing percent (maybe null)
| const int64_t* trigger_at |
Conditional order trigger time (maybe null)
| const struct lb_decimal_t* trigger_price |
LIT / MIT Order Trigger Price (maybe null)
| enum lb_trigger_status_t* trigger_status |
Conditional order trigger status (maybe null)
| const int64_t* updated_at |
Last updated time (maybe null)