Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍
TypeScript angularetffinancefintechghostfoliohacktoberfestinvestingnestjsosspersonal-financeportfolioprismasoftwarestocktrackertradingtypescriptwealth-managementweb
<input
autocapitalize="off"
autocomplete="off"
matInput
[formControl]="control"
[matAutocomplete]="symbolAutocomplete"
[maxlength]="SEARCH_QUERY_MAXIMUM_LENGTH"
/>
<mat-autocomplete
#symbolAutocomplete="matAutocomplete"
[displayWith]="displayFn"
(optionSelected)="onUpdateSymbol($event)"
>
@if (!isLoading) {
@for (lookupItem of lookupItems; track lookupItem) {
<mat-option
[disabled]="lookupItem.dataProviderInfo.isPremium"
[value]="lookupItem"
>
<span class="align-items-center d-flex lh-1"
><span>{{ lookupItem.name }}</span>
@if (lookupItem.dataProviderInfo.isPremium) {
<gf-premium-indicator class="ms-1" [enableLink]="false" />
}
</span>
<small class="text-body-secondary"
>{{ lookupItem.symbol }}
@if (lookupItem.currency) {
· {{ lookupItem.currency }}
}
@if (lookupItem.assetSubClass) {
· {{ lookupItem.assetSubClassString }}
}
@if (lookupItem.dataProviderInfo.name) {
· {{ lookupItem.dataProviderInfo.name }}
}
</small>
</mat-option>
} @empty {
@if (control.value?.length > 1) {
<mat-option disabled="true" i18n
>Oops! Could not find any assets.</mat-option
>
}
}
}
</mat-autocomplete>
@if (isLoading) {
<mat-spinner class="position-absolute" [diameter]="20" />
}