Browse Source

Reuse AssetProfileIdentifier

pull/7086/head
Thomas Kaul 4 weeks ago
parent
commit
c5c96e6f84
  1. 10
      libs/ui/src/lib/services/data.service.ts

10
libs/ui/src/lib/services/data.service.ts

@ -479,10 +479,7 @@ export class DataService {
public fetchHoldingDetail({
dataSource,
symbol
}: {
dataSource: DataSource;
symbol: string;
}): Observable<
}: AssetProfileIdentifier): Observable<
Omit<PortfolioHoldingResponse, 'dateOfFirstActivity'> & {
dateOfFirstActivity: Date | undefined;
}
@ -541,10 +538,7 @@ export class DataService {
public fetchMarketDataBySymbol({
dataSource,
symbol
}: {
dataSource: DataSource;
symbol: string;
}): Observable<MarketDataDetailsResponse> {
}: AssetProfileIdentifier): Observable<MarketDataDetailsResponse> {
return this.http
.get<any>(`/api/v1/market-data/${dataSource}/${symbol}`)
.pipe(

Loading…
Cancel
Save