Batch Orders
Create Batch Order
post/accounts/{account_id}/batch_orders
Request
- Base URLhttps://sandbox.api.lemon.markets/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
account_idstring required
An account identifier.
Headers
LMG-Data-Privacy-Access-Principalstring required
LMG-Data-Privacy-Access-Justificationstring required
Request body
Example request
{
"side": "buy",
"instrument": "IE00B441G979",
"amount": "50.00",
"currency": "EUR",
"fee": "0.50"
}Response
Successful Response
Example response
{
"id": "bord_353dc0fa58ba4ab7b8bd66430d04dd53",
"currency": "EUR",
"history": [
{
"timestamp": "2023-06-23T07:29:55.465000+00:00",
"reason": "insufficient_buying_power"
}
]
}Changes
No recorded changes to this operation across all 2 revisions of this API.