https://b-api.longbridge.xyz/v1/whaleapi/trade/orderAuthorization
Send the Broker ACCESS_TOKEN as Authorization: Bearer <token>.
Request body application/json
Stock Symbol, in ticker.region format
Side
Order Type
Submitted Price
Submitted Quantity
Time in Force
Long-term Order Expiration Time
Outside Regular Trading Hour
Trigger Price
Trailing Amount
Trailing Percent
Order Target Price Spread
Remark
Account Number
Specifies the bid/ask depth level. The range is -5 to 5 (with 0 in the middle); negative values are bid levels and positive values are ask levels.
Monitoring price
Number of triggers
Responses
HTTP 200OKcodemessagedatadataobjectdata structureOrder ID
HTTP 400Bad request. Check the business error code in code and the error details in message.codemessagedatadataobjectdata structureNo nested fields
HTTP 401The user is not authenticated, or the login session has expired.codemessagedatadataobjectdata structureNo nested fields
HTTP 403The current account is not authorized to use this feature. Grant the required permission to the account in User Permission.codemessagedatadataobjectdata structureNo nested fields
HTTP 408The request timed out. Check the business error code in code and the error details in message.codemessagedatadataobjectdata structureNo nested fields