LongPort OpenAPI C++ SDK
|
Classes | |
class | TradeContext |
Trade context. More... | |
struct | Execution |
Exexution. More... | |
struct | GetHistoryExecutionsOptions |
Options for get histroy executions request. More... | |
struct | GetTodayExecutionsOptions |
Options for get today executions request. More... | |
struct | Order |
Order. More... | |
struct | PushOrderChanged |
Order changed message. More... | |
struct | GetHistoryOrdersOptions |
Options for get history orders request. More... | |
struct | GetTodayOrdersOptions |
Options for get today orders request. More... | |
struct | ReplaceOrderOptions |
Options for replace order request. More... | |
struct | SubmitOrderOptions |
Options for submit order request. More... | |
struct | SubmitOrderResponse |
Response for submit order request. More... | |
struct | CashInfo |
Cash info. More... | |
struct | AccountBalance |
Account balance. More... | |
struct | CashFlow |
Cash flow. More... | |
struct | GetCashFlowOptions |
Options for submit order request. More... | |
struct | GetFundPositionsOptions |
Options for get fund positions request. More... | |
struct | GetStockPositionsOptions |
Options for get stock positions request. More... | |
struct | FundPosition |
Fund position. More... | |
struct | FundPositionChannel |
Fund position channel. More... | |
struct | FundPositionsResponse |
Fund positions response. More... | |
struct | StockPosition |
Stock position. More... | |
struct | StockPositionChannel |
Stock position channel. More... | |
struct | StockPositionsResponse |
Stock positions response. More... | |
struct | MarginRatio |
Margin ratio. More... | |
struct | OrderHistoryDetail |
Order history detail. More... | |
struct | OrderChargeFee |
Order charge fee. More... | |
struct | OrderChargeItem |
Order charge item. More... | |
struct | OrderChargeDetail |
Order charge detail. More... | |
struct | OrderDetail |
Order detail. More... | |
struct | EstimateMaxPurchaseQuantityOptions |
Options for estimate maximum purchase quantity. More... | |
struct | EstimateMaxPurchaseQuantityResponse |
Response for estimate maximum purchase quantity. More... | |
|
strong |
|
strong |
|
strong |
|
strong |
Commission-free Status.
Enumerator | |
---|---|
Unknown | |
None | |
Calculated | |
Pending | |
Ready |
|
strong |
|
strong |
Order side.
Enumerator | |
---|---|
Unknown | Unknown. |
Buy | Buy. |
Sell | Sell. |
|
strong |
Order status.
Enumerator | |
---|---|
Unknown | Unknown. |
NotReported | Not reported. |
ReplacedNotReported | Not reported (Replaced Order) |
ProtectedNotReported | Not reported (Protected Order) |
VarietiesNotReported | Not reported (Conditional Order) |
Filled | Filled. |
WaitToNew | Wait To New. |
New | New. |
WaitToReplace | Wait To Replace. |
PendingReplace | Pending Replace. |
Replaced | Replaced. |
PartialFilled | Partial Filled. |
WaitToCancel | Wait To Cancel. |
PendingCancel | Pending Cancel. |
Rejected | Rejected. |
Canceled | Canceled. |
Expired | Expired. |
PartialWithdrawal | Partial Withdrawal. |
|
strong |
|
strong |
Order type.
Enumerator | |
---|---|
Unknown | Unknown. |
LO | Limit Order. |
ELO | Enhanced Limit Order. |
MO | Market Order. |
AO | At-auction Order. |
ALO | At-auction Limit Order. |
ODD | Odd Lots. |
LIT | Limit If Touched. |
MIT | Market If Touched. |
TSLPAMT | Trailing Limit If Touched (Trailing Amount) |
TSLPPCT | Trailing Limit If Touched (Trailing Percent) |
TSMAMT | Trailing Market If Touched (Trailing Amount) |
TSMPCT | Trailing Market If Touched (Trailing Percent) |
SLO | Special Limit Order. |
|
strong |
|
strong |
|
strong |
|
strong |