Change API for user

This commit is contained in:
kevinpauer
2022-03-17 18:03:27 +01:00
parent c750e4778d
commit 32540659d5
9 changed files with 35 additions and 19 deletions

View File

@@ -7,6 +7,16 @@ export interface PeriodicElement {
symbol: string;
}
export interface Stock {
symbol: string;
count: Float32Array;
lastTransaction: Date;
boughtPrice: Float32Array;
currentPrice: Float32Array;
}
//symbol count lastTransaction boughtPrice currentPrice(+?)
const ELEMENT_DATA: PeriodicElement[] = [
{ position: 1, name: 'Hydrogen', weight: 1.0079, symbol: 'H' },
{ position: 2, name: 'Helium', weight: 4.0026, symbol: 'He' },

View File

@@ -1,11 +1,4 @@
<mat-toolbar>
<button
mat-icon-button
class="example-icon"
aria-label="Example icon-button with menu icon"
>
<mat-icon>menu</mat-icon>
</button>
<span>Aktienbot</span>
<span class="example-spacer"></span>
<button

View File

@@ -11,6 +11,7 @@
(ngSubmit)="f.form.valid && onSubmit()"
#f="ngForm"
novalidate
class="backgorund"
>
<div class="form-group">
<label for="username">Username</label>

View File

@@ -7,3 +7,8 @@
.no-border {
border: none;
}
.backgorund {
background-color: #181a1b;
color: white;
}

View File

@@ -11,6 +11,7 @@
(ngSubmit)="f.form.valid && onSubmit()"
#f="ngForm"
novalidate
class="backgorund"
>
<div class="form-group">
<label for="username">Username</label>

View File

@@ -7,3 +7,8 @@
.no-border {
border: none;
}
.backgorund {
background-color: #181a1b;
color: white;
}