v1

latestOpenAPI 3.1.02026-07-2496304466.3 KB
Trades

Get Trade

get/accounts/{account_id}/trades/{trade_id}

Path parameters

account_idstring required

An account identifier.

trade_idstring required

A trade identifier.

Headers

LMG-Data-Privacy-Access-Principalstring required
LMG-Data-Privacy-Access-Justificationstring required

Response

Successful Response

idstring required

A string representing the unique identifier of this transaction.

side'buy' | 'sell' required

A category to represent the side of a customer's order:

<ul> <li><code>buy</code>: Buy shares of an instrument and pay with cash. <li><code>sell</code>: Sell shares of an instrument and receive cash. </ul>
instrumentstring required

An ISIN (International Securities Identification Number) according to ISO 6166. This value uniquely identifies the instrument that was traded.

quantitystring number required

The quantity of shares traded.

pricestring number required

The execution price of the trade (indicated per one share).

amountstring number required

The monetary value of the trade.

feestring number required

The fee that was be charged by lemon.markets on your behalf.

currencystring required

An ISO 4217 three-letter currency code. Its value represents the currency for the amount listed here. The only currently available currency is "EUR".

orderstring required

An identifier referencing the order triggering the trade.

execution_venuestring required

An ISO-10383 four-letter code. Its value represents the market on which the trade took place. May be null for small trades that did not cause a trade on a public market.

securities_accountstring required

A securities account identifier. This field represents the securities account associated with a trade.

executed_atstring date-time required

The venue execution timestamp: the point in time at which the trade was executed on the trading venue

Example response

{
  "currency": "EUR",
  "executed_at": "2023-06-29T14:39:29+00:00"
}