|
|
@ -534,13 +534,6 @@ export class OrderService { |
|
|
|
return { |
|
|
|
...order, |
|
|
|
value, |
|
|
|
feeInBaseCurrency: |
|
|
|
await this.exchangeRateDataService.toCurrencyAtDate( |
|
|
|
order.fee, |
|
|
|
order.currency ?? order.SymbolProfile.currency, |
|
|
|
userCurrency, |
|
|
|
order.date |
|
|
|
), |
|
|
|
feeInSymbolCurrency: |
|
|
|
await this.exchangeRateDataService.toCurrencyAtDate( |
|
|
|
order.fee, |
|
|
@ -549,13 +542,6 @@ export class OrderService { |
|
|
|
order.date |
|
|
|
), |
|
|
|
SymbolProfile: assetProfile, |
|
|
|
unitPriceInBaseCurrency: |
|
|
|
await this.exchangeRateDataService.toCurrencyAtDate( |
|
|
|
order.unitPrice, |
|
|
|
order.currency ?? order.SymbolProfile.currency, |
|
|
|
userCurrency, |
|
|
|
order.date |
|
|
|
), |
|
|
|
unitPriceInSymbolCurrency: |
|
|
|
await this.exchangeRateDataService.toCurrencyAtDate( |
|
|
|
order.unitPrice, |
|
|
|