LongPort OpenAPI C++ SDK
|
Options for submit order request. More...
#include <types.hpp>
Public Attributes | |
std::string | symbol |
Security symbol. More... | |
OrderType | order_type |
Order type. More... | |
OrderSide | side |
Order side. More... | |
Decimal | submitted_quantity |
Submitted price. More... | |
TimeInForceType | time_in_force |
Time in force type. More... | |
std::optional< Decimal > | submitted_price |
Submitted price. More... | |
std::optional< Decimal > | trigger_price |
Trigger price (LIT / MIT Required) More... | |
std::optional< Decimal > | limit_offset |
Limit offset amount (TSLPAMT / TSLPPCT Required) More... | |
std::optional< Decimal > | trailing_amount |
Trailing amount (TSLPAMT / TSMAMT Required) More... | |
std::optional< Decimal > | trailing_percent |
Trailing percent (TSLPPCT / TSMAPCT Required) More... | |
std::optional< Date > | expire_date |
std::optional< OutsideRTH > | outside_rth |
Enable or disable outside regular trading hours. More... | |
std::optional< std::string > | remark |
Remark (Maximum 64 characters) More... | |
Options for submit order request.
std::optional<Date> longport::trade::SubmitOrderOptions::expire_date |
Long term order expire date (Required when time_in_force
is GoodTilDate
)
std::optional<Decimal> longport::trade::SubmitOrderOptions::limit_offset |
Limit offset amount (TSLPAMT
/ TSLPPCT
Required)
std::optional<OutsideRTH> longport::trade::SubmitOrderOptions::outside_rth |
Enable or disable outside regular trading hours.
std::optional<std::string> longport::trade::SubmitOrderOptions::remark |
Remark (Maximum 64 characters)
std::optional<Decimal> longport::trade::SubmitOrderOptions::submitted_price |
Submitted price.
Decimal longport::trade::SubmitOrderOptions::submitted_quantity |
Submitted price.
std::string longport::trade::SubmitOrderOptions::symbol |
Security symbol.
TimeInForceType longport::trade::SubmitOrderOptions::time_in_force |
Time in force type.
std::optional<Decimal> longport::trade::SubmitOrderOptions::trailing_amount |
Trailing amount (TSLPAMT
/ TSMAMT
Required)
std::optional<Decimal> longport::trade::SubmitOrderOptions::trailing_percent |
Trailing percent (TSLPPCT
/ TSMAPCT
Required)
std::optional<Decimal> longport::trade::SubmitOrderOptions::trigger_price |
Trigger price (LIT
/ MIT
Required)