Browse Source

Update yahoo-finance.service.ts

pull/1692/head
Agustin Alexander 3 years ago
committed by GitHub
parent
commit
d4b84402e2
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 26
      apps/api/src/services/data-provider/yahoo-finance/yahoo-finance.service.ts

26
apps/api/src/services/data-provider/yahoo-finance/yahoo-finance.service.ts

@ -161,11 +161,11 @@ export class YahooFinanceService implements DataProviderInterface {
}
public async getDividends({
from,
granularity = 'day',
symbol,
to
}: {
from,
granularity = 'day',
symbol,
to
}: {
from: Date;
granularity: Granularity;
symbol: string;
@ -428,11 +428,11 @@ export class YahooFinanceService implements DataProviderInterface {
}
private formatName({
longName,
quoteType,
shortName,
symbol
}: {
longName,
quoteType,
shortName,
symbol
}: {
longName: Price['longName'];
quoteType: Price['quoteType'];
shortName: Price['shortName'];
@ -462,9 +462,9 @@ export class YahooFinanceService implements DataProviderInterface {
}
private getConvertedValue({
symbol,
value
}: {
symbol,
value
}: {
symbol: string;
value: number;
}) {

Loading…
Cancel
Save