|
@ -52,7 +52,7 @@ |
|
|
(marketDataChanged)="onMarketDataChanged($event)" |
|
|
(marketDataChanged)="onMarketDataChanged($event)" |
|
|
></gf-admin-market-data-detail> |
|
|
></gf-admin-market-data-detail> |
|
|
|
|
|
|
|
|
<div class="mt-3"> |
|
|
<div class="mt-3" formGroupName="historicalData"> |
|
|
<mat-form-field appearance="outline" class="w-100 without-hint"> |
|
|
<mat-form-field appearance="outline" class="w-100 without-hint"> |
|
|
<mat-label> |
|
|
<mat-label> |
|
|
<ng-container i18n>Historical Data</ng-container> (CSV) |
|
|
<ng-container i18n>Historical Data</ng-container> (CSV) |
|
@ -60,11 +60,9 @@ |
|
|
<textarea |
|
|
<textarea |
|
|
cdkAutosizeMaxRows="5" |
|
|
cdkAutosizeMaxRows="5" |
|
|
cdkTextareaAutosize |
|
|
cdkTextareaAutosize |
|
|
|
|
|
formControlName="csvString" |
|
|
matInput |
|
|
matInput |
|
|
placeholder="e.g. 20230601;1.61" |
|
|
|
|
|
type="text" |
|
|
type="text" |
|
|
[ngModelOptions]="{standalone: true}" |
|
|
|
|
|
[(ngModel)]="historicalDataAsCsvString" |
|
|
|
|
|
(keyup.enter)="$event.stopPropagation()" |
|
|
(keyup.enter)="$event.stopPropagation()" |
|
|
></textarea> |
|
|
></textarea> |
|
|
</mat-form-field> |
|
|
</mat-form-field> |
|
@ -75,6 +73,7 @@ |
|
|
color="accent" |
|
|
color="accent" |
|
|
mat-flat-button |
|
|
mat-flat-button |
|
|
type="button" |
|
|
type="button" |
|
|
|
|
|
[disabled]="assetProfileForm.controls['symbolMapping']?.value === ''" |
|
|
(click)="onImportHistoricalData()" |
|
|
(click)="onImportHistoricalData()" |
|
|
> |
|
|
> |
|
|
<ng-container i18n>Import</ng-container> |
|
|
<ng-container i18n>Import</ng-container> |
|
|