AI Service Health @let aiServiceHealth = aiServiceHealth$ | async; @if (isFetchFailure(aiServiceHealth)) { 🔴 {{ aiServiceHealth.fetchError }} } @else if (aiServiceHealth) { 🟢 {{ aiServiceHealth.status }} } @else { } Status @let status = status$ | async; @if (isFetchFailure(status)) { 🔴 {{ status.fetchError }} } @else if (status) {
{{ status | json }}
} @else { }
Asset Profile @let assetProfile = assetProfile$ | async; @if (isFetchFailure(assetProfile)) { 🔴 {{ assetProfile.fetchError }} } @else if (assetProfile) {
{{ assetProfile | json }}
} @else { }
Lookup @let symbols = lookupItems$ | async; @if (isFetchFailure(symbols)) { 🔴 {{ symbols.fetchError }} } @else if (symbols) {
    @for (item of symbols; track item.symbol) {
  • {{ item.name }} ({{ item.symbol }})
  • }
} @else { }
Lookup (ISIN) @let isinSymbols = isinLookupItems$ | async; @if (isFetchFailure(isinSymbols)) { 🔴 {{ isinSymbols.fetchError }} } @else if (isinSymbols) {
    @for (item of isinSymbols; track item.symbol) {
  • {{ item.name }} ({{ item.symbol }})
  • }
} @else { }
Quotes @let quotes = quotes$ | async; @if (isFetchFailure(quotes)) { 🔴 {{ quotes.fetchError }} } @else if (quotes) {
    @for (quote of quotes | keyvalue; track quote) {
  • {{ quote.key }}: {{ quote.value.marketPrice }} {{ quote.value.currency }}
  • }
} @else { }
Historical @let historicalData = historicalData$ | async; @if (isFetchFailure(historicalData)) { 🔴 {{ historicalData.fetchError }} } @else if (historicalData) {
    @for (item of historicalData | keyvalue; track item) {
  • {{ item.key }}: {{ item.value.marketPrice }}
  • }
} @else { }
Dividends @let dividends = dividends$ | async; @if (isFetchFailure(dividends)) { 🔴 {{ dividends.fetchError }} } @else if (dividends) {
    @for (dividend of dividends | keyvalue; track dividend) {
  • {{ dividend.key }}: {{ dividend.value.marketPrice }}
  • }
} @else { }