|
LongPort OpenAPI C SDK
|
#include <longport.h>
Data Fields | |
| const char * | symbol |
| enum lb_order_type_t | order_type |
| enum lb_order_side_t | side |
| const struct lb_decimal_t * | submitted_quantity |
| enum lb_time_in_force_type_t | time_in_force |
| const struct lb_decimal_t * | submitted_price |
| const struct lb_decimal_t * | trigger_price |
| const struct lb_decimal_t * | limit_offset |
| const struct lb_decimal_t * | trailing_amount |
| const struct lb_decimal_t * | trailing_percent |
| const struct lb_date_t * | expire_date |
| enum lb_outside_rth_t * | outside_rth |
| const char * | remark |
Options for submit order request
| const struct lb_date_t* expire_date |
Long term order expire date (Required when time_in_force is GoodTilDate) (can be null)
| const struct lb_decimal_t* limit_offset |
Limit offset amount (TSLPAMT / TSLPPCT Required) (can be null)
| enum lb_order_type_t order_type |
Order type
| enum lb_outside_rth_t* outside_rth |
Enable or disable outside regular trading hours (can be null)
| const char* remark |
Remark (Maximum 64 characters) (can be null)
| enum lb_order_side_t side |
Order side
| const struct lb_decimal_t* submitted_price |
Submitted price (can be null)
| const struct lb_decimal_t* submitted_quantity |
Submitted price
| const char* symbol |
Security symbol
| enum lb_time_in_force_type_t time_in_force |
Time in force type
| const struct lb_decimal_t* trailing_amount |
Trailing amount (TSLPAMT / TSMAMT Required) (can be null)
| const struct lb_decimal_t* trailing_percent |
Trailing percent (TSLPPCT / TSMAPCT Required) (can be null)
| const struct lb_decimal_t* trigger_price |
Trigger price (LIT / MIT Required) (can be null)