Get a preview of a single asset buy or sell transaction showing execution options, fees, and estimated orders
curl --request POST \
--url https://{host}/investments/asset/preview \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'x-user-id: <x-user-id>' \
--data '
{
"isin": "US0378331005",
"amount": 25.5,
"side": "buy"
}
'{
"executionWindow": {
"express": {
"etfs": {
"executionType": "REALTIME",
"start": "2024-07-12T13:00:00.000Z",
"end": "2024-07-12T15:30:00.000Z"
},
"stocks": {
"executionType": "REALTIME",
"start": "2024-07-12T09:30:00.000Z",
"end": "2024-07-12T16:00:00.000Z"
}
},
"smart": {
"etfs": {
"executionType": "MARKET_HOURS",
"start": "2024-07-12T13:00:00.000Z",
"end": "2024-07-12T18:00:00.000Z"
},
"stocks": {
"executionType": "MARKET_HOURS",
"start": "2024-07-12T09:30:00.000Z",
"end": "2024-07-12T16:00:00.000Z"
}
}
},
"fees": {
"express": {
"fx": {
"currency": "EUR",
"amount": 0.5
},
"commission": {
"currency": "EUR",
"amount": 0.25
},
"realtimeExecution": {
"currency": "EUR",
"amount": 1
}
},
"smart": {
"fx": {
"currency": "EUR",
"amount": 0.5
},
"commission": {
"currency": "EUR",
"amount": 0.25
}
}
},
"orders": {
"express": [
{
"isin": "US0378331005",
"side": "Buy",
"quantity": 1.5,
"consideration": {
"currency": "EUR",
"amount": 2550
}
}
],
"smart": [
{
"isin": "US0378331005",
"side": "Buy",
"quantity": 1.5,
"consideration": {
"currency": "EUR",
"amount": 2550
}
}
]
},
"foreignCurrencyRates": {
"US0378331005": {
"rate": 1.1,
"currency": "USD"
}
}
}Auth0-issued access token that includes the scopes listed for the endpoint.
User identifier for the M2M client to specify which user's data to access.
ISIN of the asset to trade
Trade direction
buy, sell Required when side is buy. Whole-currency amount to invest.
x >= 0.01Required when side is sell. Number of asset units to sell.
x >= 0.0001Asset transaction preview retrieved successfully
Preview of a transaction showing execution options, fees, and estimated orders
Execution window for both express and smart execution scenarios
Show child attributes
Execution windows separated by asset category (matches domain ExecutionWindowsType)
Show child attributes
Base execution window type matching domain structure
Show child attributes
Internal execution type
REALTIME, MARKET_HOURS Execution window start (ISO datetime)
Execution window end (ISO datetime)
Base execution window type matching domain structure
Show child attributes
Internal execution type
REALTIME, MARKET_HOURS Execution window start (ISO datetime)
Execution window end (ISO datetime)
Execution windows separated by asset category (matches domain ExecutionWindowsType)
Show child attributes
Base execution window type matching domain structure
Show child attributes
Internal execution type
REALTIME, MARKET_HOURS Execution window start (ISO datetime)
Execution window end (ISO datetime)
Base execution window type matching domain structure
Show child attributes
Internal execution type
REALTIME, MARKET_HOURS Execution window start (ISO datetime)
Execution window end (ISO datetime)
Fees breakdown for both express and smart execution scenarios
Show child attributes
Show child attributes
Show child attributes
Orders preview for both express and smart execution scenarios
Show child attributes
Show child attributes
Buy, Sell Estimated quantity of asset units
Show child attributes
Buy, Sell Estimated quantity of asset units
Whether orders will be skipped due to low amounts
Whether the transaction will result in a low quantity holding
Whether the transaction includes ETF orders
curl --request POST \
--url https://{host}/investments/asset/preview \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'x-user-id: <x-user-id>' \
--data '
{
"isin": "US0378331005",
"amount": 25.5,
"side": "buy"
}
'{
"executionWindow": {
"express": {
"etfs": {
"executionType": "REALTIME",
"start": "2024-07-12T13:00:00.000Z",
"end": "2024-07-12T15:30:00.000Z"
},
"stocks": {
"executionType": "REALTIME",
"start": "2024-07-12T09:30:00.000Z",
"end": "2024-07-12T16:00:00.000Z"
}
},
"smart": {
"etfs": {
"executionType": "MARKET_HOURS",
"start": "2024-07-12T13:00:00.000Z",
"end": "2024-07-12T18:00:00.000Z"
},
"stocks": {
"executionType": "MARKET_HOURS",
"start": "2024-07-12T09:30:00.000Z",
"end": "2024-07-12T16:00:00.000Z"
}
}
},
"fees": {
"express": {
"fx": {
"currency": "EUR",
"amount": 0.5
},
"commission": {
"currency": "EUR",
"amount": 0.25
},
"realtimeExecution": {
"currency": "EUR",
"amount": 1
}
},
"smart": {
"fx": {
"currency": "EUR",
"amount": 0.5
},
"commission": {
"currency": "EUR",
"amount": 0.25
}
}
},
"orders": {
"express": [
{
"isin": "US0378331005",
"side": "Buy",
"quantity": 1.5,
"consideration": {
"currency": "EUR",
"amount": 2550
}
}
],
"smart": [
{
"isin": "US0378331005",
"side": "Buy",
"quantity": 1.5,
"consideration": {
"currency": "EUR",
"amount": 2550
}
}
]
},
"foreignCurrencyRates": {
"US0378331005": {
"rate": 1.1,
"currency": "USD"
}
}
}