post https://trade-hk.oslsandbox.com/api/3/retail/trade
Accept a particular quote and execute the trade. The API Key must have the Place and Manage Orders permission enabled (via OSL website).
To call this endpoint, the API Key need to have the
Place and Manage Orders
permission enabled (via OSL website).
responseCode
Code Table
responseCode
Code TableCode | Description |
---|---|
INVALID_QUOTE_ID | Invalid quote id provided |
QUOTE_EXPIRED | The quote has expired |
EXECUTED | The trade has been executed |
INSUFFICIENT_FUND | Insufficient fund in the account |
DAILY_LIMIT_EXCEEDED | Daily limit breached |