Download OpenAPI specification:
Calculates fees/costs for orders in DFS (e.g. Portfolio operations like set up, rebalancing).
For endpoints that support localization the language can be passed either as a query string parameter (using the name 'language') or in the 'accept-language' header.
If no language is passed to such endpoints then the default configured language will be used.
Retrieves applicable fees for each portfolio change according to pricing
| portfolioChangeTypeId required | integer <int32> Portfolio Change Type Id |
| Accept-Language | string The ISO 639-1 language to use for localizable data. |
{- "results": [
- {
- "orderTypeId": 0,
- "orderTypeName": "string",
- "fees": [
- {
- "feeTypeId": 0,
- "feeTypeName": "string",
- "categoryId": 0,
- "categoryName": "string",
- "parentCategoryId": 0,
- "parentCategoryName": "string",
- "priority": "string"
}
]
}
]
}Updates applicable fees for each portfolio change according to pricing
| portfolioChangeTypeId required | integer <int32> Portfolio Change Type Id |
| Accept-Language | string The ISO 639-1 language to use for localizable data. |
Request DTO
| orderTypeId | integer <int32> |
Array of objects or null (FeeRequest) |
{- "orderTypeId": 0,
- "fees": [
- {
- "feeTypeId": 0,
- "priority": "string"
}
]
}{- "code": "BadRequest",
- "subCode": "NA",
- "message": "The request was not in the required format",
- "correlationId": "30d3ebc0b5cb47b0889850bbdfe4aec6"
}Calculates estimated trade(s) fees. The fees will be presented at 3 different levels, grouped by instrument, accounts and consolidated in the aggregation currency provided.
| Accept-Language | string The ISO 639-1 language to use for localizable data. |
Simulate fees request
| portfolioId | integer or null <int32> Id of portfolio |
| productId | integer or null <int32> Product used for standard pricing. Only provided when no Portfolio is provided |
| portfolioChangeTypeId | integer <int32> Portfolio change type used in the trades (e.g. Rebalancing, Initial Set-up, etc) |
| aggregationCurrencyId | integer or null <int32> Currency used as a presentation currency for the fees |
Array of objects or null (OrderBookEntry) |
{- "portfolioId": 0,
- "productId": 0,
- "portfolioChangeTypeId": 0,
- "aggregationCurrencyId": 0,
- "orderBookEntries": [
- {
- "instrumentId": 0,
- "accountId": 0,
- "amountInstrumentCurrency": 0.1,
- "orderTypeId": 0,
- "quantity": 0.1,
- "price": 0.1,
- "stockExchangeOrderTypeId": 0
}
]
}{- "orderBookEntries": [
- {
- "instrumentId": 0,
- "instrumentCurrencyId": 0,
- "instrumentCurrencyThreeLetterIsoCode": "string",
- "accountId": 0,
- "accountCurrencyId": 0,
- "accountCurrencyThreeLetterIsoCode": "string",
- "fxRateInstrumentAccount": 0.1,
- "fxRateInstrumentSystem": 0.1,
- "fxRateAggregationInstrument": 0.1,
- "percentageAmount": 0.1,
- "percentageAmountYearly": 0.1,
- "percentageOneTimeAmount": 0.1,
- "percentageInducementAmount": 0.1,
- "percentageInducementAmountYearly": 0.1,
- "accountCurrency": {
- "oneTimeAmount": 0.1,
- "recurringAmountYearly": 0.1,
- "oneTimeInducementAmount": 0.1,
- "recurringInducementAmountYearly": 0.1
}, - "instrumentCurrency": {
- "oneTimeAmount": 0.1,
- "recurringAmountYearly": 0.1,
- "oneTimeInducementAmount": 0.1,
- "recurringInducementAmountYearly": 0.1
}, - "aggregationCurrency": {
- "oneTimeAmount": 0.1,
- "recurringAmountYearly": 0.1,
- "oneTimeInducementAmount": 0.1,
- "recurringInducementAmountYearly": 0.1
}, - "feeCategories": [
- {
- "id": 0,
- "name": "string",
- "accountCurrency": {
- "amount": 0.1,
- "amountYearly": 0.1,
- "oneTimeAmount": 0.1,
- "inducementAmount": 0.1,
- "inducementAmountYearly": 0.1
}, - "instrumentCurrency": {
- "amount": 0.1,
- "amountYearly": 0.1,
- "oneTimeAmount": 0.1,
- "inducementAmount": 0.1,
- "inducementAmountYearly": 0.1
}, - "aggregationCurrency": {
- "amount": 0.1,
- "amountYearly": 0.1,
- "oneTimeAmount": 0.1,
- "inducementAmount": 0.1,
- "inducementAmountYearly": 0.1
}, - "percentageAmount": 0.1,
- "percentageAmountYearly": 0.1,
- "percentageOneTimeAmount": 0.1,
- "percentageInducementAmount": 0.1,
- "percentageInducementAmountYearly": 0.1,
- "childCategories": [
- {
- "id": 0,
- "name": "string",
- "accountCurrency": {
- "amount": 0.1,
- "amountYearly": 0.1,
- "oneTimeAmount": 0.1,
- "inducementAmount": 0.1,
- "inducementAmountYearly": 0.1
}, - "instrumentCurrency": {
- "amount": 0.1,
- "amountYearly": 0.1,
- "oneTimeAmount": 0.1,
- "inducementAmount": 0.1,
- "inducementAmountYearly": 0.1
}, - "aggregationCurrency": {
- "amount": 0.1,
- "amountYearly": 0.1,
- "oneTimeAmount": 0.1,
- "inducementAmount": 0.1,
- "inducementAmountYearly": 0.1
}, - "percentageAmount": 0.1,
- "percentageAmountYearly": 0.1,
- "percentageOneTimeAmount": 0.1,
- "percentageInducementAmount": 0.1,
- "percentageInducementAmountYearly": 0.1
}
]
}
], - "fees": [
- {
- "id": 0,
- "feeType": {
- "id": 0,
- "name": "string"
}, - "recurrenceType": {
- "id": 0,
- "name": "string"
}, - "category": {
- "id": 0,
- "name": "string",
- "parentCategoryId": 0,
- "parentCategory": "string"
}, - "accountCurrency": {
- "amount": 0.1,
- "amountYearly": 0.1,
- "inducementAmount": 0.1,
- "inducementAmountYearly": 0.1
}, - "instrumentCurrency": {
- "amount": 0.1,
- "amountYearly": 0.1,
- "inducementAmount": 0.1,
- "inducementAmountYearly": 0.1
}, - "aggregationCurrency": {
- "amount": 0.1,
- "amountYearly": 0.1,
- "inducementAmount": 0.1,
- "inducementAmountYearly": 0.1
}, - "percentageAmount": 0.1,
- "percentageAmountYearly": 0.1,
- "percentageInducementAmount": 0.1,
- "percentageInducementAmountYearly": 0.1
}
]
}
], - "aggregatedFees": {
- "systemCurrencyId": 0,
- "systemCurrencyThreeLetterIsoCode": "string",
- "totalTradeAmount": 0.1,
- "aggregationCurrency": {
- "fxRateAggregationSystem": 0.1,
- "oneTimeAmount": 0.1,
- "recurringAmountYearly": 0.1,
- "percentageOneTimeAmount": 0.1,
- "percentageRecurringAmountYearly": 0.1,
- "recurringInducementAmount": 0.1,
- "oneTimeInducementAmount": 0.1,
- "percentageOneTimeInducementAmount": 0.1,
- "percentageRecurringInducementAmountYearly": 0.1,
- "fees": [
- {
- "feeType": {
- "id": 0,
- "name": "string"
}, - "category": {
- "id": 0,
- "name": "string",
- "parentCategoryId": 0,
- "parentCategory": "string"
}, - "amount": 0.1,
- "amountYearly": 0.1,
- "percentageAmount": 0.1,
- "percentageAmountYearly": 0.1,
- "inducementAmount": 0.1,
- "inducementAmountYearly": 0.1,
- "percentageInducementAmount": 0.1,
- "percentageInducementAmountYearly": 0.1
}
]
}
}, - "accounts": [
- {
- "id": 0,
- "currencyId": 0,
- "currencyThreeLetterIsoCode": "string",
- "totalTradeAmount": 0.1,
- "fxRateAccountSystem": 0.1,
- "oneTimeAmount": 0.1,
- "recurringAmountYearly": 0.1,
- "percentageOneTimeAmount": 0.1,
- "percentageRecurringAmountYearly": 0.1,
- "recurringInducementAmount": 0.1,
- "oneTimeInducementAmount": 0.1,
- "percentageOneTimeInducementAmount": 0.1,
- "percentageRecurringInducementAmountYearly": 0.1,
- "fees": [
- {
- "feeType": {
- "id": 0,
- "name": "string"
}, - "category": {
- "id": 0,
- "name": "string",
- "parentCategoryId": 0,
- "parentCategory": "string"
}, - "amount": 0.1,
- "amountYearly": 0.1,
- "percentageAmount": 0.1,
- "percentageAmountYearly": 0.1,
- "inducementAmount": 0.1,
- "inducementAmountYearly": 0.1,
- "percentageInducementAmount": 0.1,
- "percentageInducementAmountYearly": 0.1
}
]
}
]
}Calculates estimated ex-ante fees for a Portfolio. The possible inputs are:
| Accept-Language | string The ISO 639-1 language to use for localizable data. |
An object containing the necessary details for performing the ex-ante fees calculation.
| isInCreation | boolean |
| portfolioId | integer or null <int32> |
| currencyId | integer or null <int32> |
| productId | integer or null <int32> |
| investedAmount | number or null <double> |
Array of objects or null (TargetInstrumentAllocation) | |
| language | string or null |
object (CalculateExAnteFeesRequestWithPortfolioChangeType) | |
object (CalculateExAnteFeesRequestWithPortfolioChangeType) | |
object (CalculateExAnteFeesRequestWithPortfolioChangeType) | |
object (CalculateExAnteProjectionFeesRequest) |
{- "isInCreation": true,
- "portfolioId": 0,
- "currencyId": 0,
- "productId": 0,
- "investedAmount": 0.1,
- "targetInstrumentAllocations": [
- {
- "allocation": 0.1,
- "instrumentId": 0
}
], - "language": "string",
- "immediateFees": {
- "fields": [
- "string"
], - "portfolioChangeType": "InitialOrder"
}, - "recurringFees": {
- "fields": [
- "string"
], - "portfolioChangeType": "InitialOrder"
}, - "exitFees": {
- "fields": [
- "string"
], - "portfolioChangeType": "InitialOrder"
}, - "projectionFees": {
- "fields": [
- "string"
]
}
}{- "immediateFees": [
- {
- "options": {
- "propertyNameCaseInsensitive": true
}, - "parent": { },
- "root": { }
}
], - "recurringFees": [
- {
- "options": {
- "propertyNameCaseInsensitive": true
}, - "parent": { },
- "root": { }
}
], - "exitFees": [
- {
- "options": {
- "propertyNameCaseInsensitive": true
}, - "parent": { },
- "root": { }
}
], - "projectionFees": [
- {
- "options": {
- "propertyNameCaseInsensitive": true
}, - "parent": { },
- "root": { }
}
]
}