Marcin Szymański
4 months ago
No known key found for this signature in database
GPG Key ID: E663B71BA170173C
1 changed files with
7 additions and
0 deletions
-
apps/api/src/app/order/order.service.ts
|
|
@ -541,6 +541,13 @@ export class OrderService { |
|
|
|
order.SymbolProfile.currency, |
|
|
|
order.date |
|
|
|
), |
|
|
|
feeInBaseCurrency: |
|
|
|
await this.exchangeRateDataService.toCurrencyAtDate( |
|
|
|
order.fee, |
|
|
|
order.currency ?? order.SymbolProfile.currency, |
|
|
|
userCurrency, |
|
|
|
order.date |
|
|
|
), |
|
|
|
SymbolProfile: assetProfile, |
|
|
|
unitPriceInAssetProfileCurrency: |
|
|
|
await this.exchangeRateDataService.toCurrencyAtDate( |
|
|
|