Skip to main content
GET
Get all trades
Get all the trades for a given client ID
Drawdown trades associated with fixed forward trades cannot be obtained using this operation. Details of a fixed forward drawdown trade can be obtained using Get a trade.

Headers

Authorization
string
required

The access token.

X-Contact-ID
string

The identifier of a contact.

Query Parameters

client_id
string
required

The identifier of a client.

trade_type
enum<string>[]

The trade type. The list will be filtered to include only trades with a matching trade type. If omitted, trades of every type are returned.

Available options:
spot,
forward,
window_forward,
flexi_forward,
drawdown,
ndf
parent_trade_id
string

Parent identifier for drawdown trades

Minimum string length: 1
page
integer<int32>

The desired page number for pagination. By default is 1.

Required range: x >= 1
page_size
integer<int32>

The number of items per page for pagination. By default is 50.

Required range: x >= 1
external_reference_id
string

Filter by the external reference ID provided during trade creation.

Maximum string length: 128
Pattern: ^[\sa-zA-Z0-9\d,\.:'\+\(\)\?'\-/]*$
mass_payment_id
string<uuid>

Filter by related mass payment's uuid.

mass_payment_external_reference_id
string

Filter by related mass payment's external reference.

buy_currency
string

Filter by the buy currency

status
enum<string>[]

Filter trades by comma separated statuses

Available options:
Created,
Funds In Partially,
Funds In Full,
Funds Out Partially Allocated,
Closed,
Cancelled
from_order_date
string<date>

Filter trades by from_order_date.

to_order_date
string<date>

Filter trades by to_order_date.

from_maturity_date
string<date>

Filter trades by from_maturity_date.

to_maturity_date
string<date>

Filter trades by to_maturity_date.

Response

List of trades

buy_amount
number<float>
required

Buy amount

buy_balance_for_drawdown
number<float>
default:0
required

Remaining buy-side balance available to draw down against this trade. Zero for trades that cannot be drawn down.

buy_currency
string
required

Buy currency code

fee_amount
number<float>
required

Fee amount

fee_currency
string
required

Fee currency

maturity_date
string<date-time>
required

Limit date and time (UTC) in which funds must be received by Ebury

order_date
string<date>
required

Order date

parent_trade_id
string | null
required

Parent trade ID (not null for drawdown deals)

rate
number<float>
required

Booked rate

rate_symbol
string
required

The symbol of booked rate

sell_amount
number<float>
required

Sell amount

sell_balance_for_drawdown
number<float>
default:0
required

Remaining sell-side balance available to draw down against this trade. Zero for trades that cannot be drawn down.

sell_currency
string
required

Sell currency code

start_date
string<date> | null
required

Date the drawdown window opens. Only set for window forwards; null for every other trade type and for window forwards with no start date.

status
enum<string>
required

Status of the trade

Available options:
Created,
Funds In Partially,
Funds In Full,
Funds Out Partially Allocated,
Funds Out Full Allocated,
Closed,
Cancelled
synthetic
boolean<boolean>
required

Identifies as a synthetic future contracts

trade_id
string
required

Trade identifier

trade_type
string
required

Trade type

initial_margin
number<float>

Only for forwards. Trade's deposit amount.

margin_call
number<float>

Only for forwards. Margin call amount.

reference
string

Additional trade reference. Example: Invoice number.

trade_receipt
string<uri-reference>

The URL to get the trade receipt

external_reference_id
string

The client's external reference ID if provided during trade creation