https://api.lbkrs.com/v3/orders/trade_done/shareParameters
counter_idstringqueryRequiredSecurity ID (counter_id), for example ST/US/AAPL or ST/HK/700
actionintegerqueryRequiredOrder side:
0- Both sides1- Buy2- Sell
012
account_channelstringqueryRequiredAccount channel (account_channel) of the current account
start_atintegerqueryStart of the range as a Unix timestamp in seconds
end_atintegerqueryEnd of the range as a Unix timestamp in seconds
Responses
HTTP 200The request succeeded. The response body contains the result of the “Get Filled Orders in Range” operation.codemessagedatadataobjectdata structureFilled orders within the range
Child attributes
Order ID
Security ID (counter_id), for example ST/US/AAPL or ST/HK/700
Security name
Order side:
1- Buy2- Sell5- Short sell
Order type, for example LO (limit), MO (market), ELO (enhanced limit), ALO (at-auction limit), AO (at-auction market), ODD (odd lot), LIT (limit if touched), MIT (market if touched), TSLPAMT / TSLPPCT (trailing stop limit by amount / percentage), TSMAMT / TSMPCT (trailing stop market by amount / percentage), or MOC (market on close)
Order status:
NotReported- Not reportedReplacedNotReported- Not reported after a successful modificationProtectedNotReported- Not reported (protected order)VarietiesNotReported- Conditional order being monitored and not yet triggeredNotActivate- Not reported (conditional order not activated)WaitToActivate- Not reported (conditional order waiting for activation)Activated- Not reported (conditional order activated)SuspenedStatus- SuspendedWaitToNew- Submitted, waiting to be reportedPendingNewStatus- Pending newNewStatus- NewWaitToReplace- Modification waiting to be reportedPendingReplaceStatus- Pending modificationReplacedStatus- ModifiedWaitToCancel- Cancellation waiting to be reportedPendingCancelStatus- Pending cancellationPartialFilledStatus- Partially filledFilledStatus- Filled (final)RejectedStatus- Rejected (final)CanceledStatus- Canceled (final)ExpiredStatus- Expired (final)PartialWithdrawal- Canceled after a partial fill (final)
SuspenedStatus is the existing spelling used by the service.
NotReportedReplacedNotReportedProtectedNotReportedVarietiesNotReportedNotActivateWaitToActivateActivatedSuspenedStatusWaitToNewPendingNewStatusNewStatusWaitToReplacePendingReplaceStatusReplacedStatusWaitToCancelPendingCancelStatusPartialFilledStatusFilledStatusRejectedStatusCanceledStatusExpiredStatusPartialWithdrawal
Order price
Order quantity
Trigger price of a conditional order
Average filled price
Filled quantity
Order currency
Trading currency
Latest price of the security
Additional order message, such as a rejection reason
Submission time as a Unix timestamp in seconds
Last update time as a Unix timestamp in seconds
Take-profit and stop-loss orders attached to the main order