Skip to content

Commit 49c8c3f

Browse files
authored
Merge pull request #22 from Artimatic/feature/29-Backtesting-and-ml
Renaming
2 parents 8b87a89 + e70ed96 commit 49c8c3f

File tree

5 files changed

+14
-8
lines changed

5 files changed

+14
-8
lines changed

src/app/app.component.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<mat-sidenav class="side-nav" mode="side" opened>
33
<mat-list role="list">
44
<mat-nav-list role="listitem">
5-
<div class="app-title">Robinhood Merchant</div>
5+
<div class="app-title">Algo Trader</div>
66
</mat-nav-list>
77
<mat-nav-list role="listitem">
88
<app-reporting></app-reporting>
@@ -50,10 +50,10 @@
5050
<mat-nav-list class="mat-chip-list-stacked" role="listitem">
5151
<h3>Online Status:</h3>
5252
<mat-chip-list multiple>
53-
<mat-chip color="primary" [selected]="dataStatus" (click)="checkStatus()" matTooltip="Station Data Service">
53+
<mat-chip color="primary" [selected]="dataStatus" (click)="checkStatus()" matTooltip="{{dataText}}">
5454
Data Service
5555
</mat-chip>
56-
<mat-chip color="primary" [selected]="mlStatus" (click)="checkStatus()" matTooltip="Station Analysis Service">
56+
<mat-chip color="primary" [selected]="mlStatus" (click)="checkStatus()" matTooltip="{{mlText}}">
5757
Machine Learning Service
5858
</mat-chip>
5959
</mat-chip-list>

src/app/app.component.ts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ import { GlobalTaskQueueService } from '@shared/services/global-task-queue.servi
1616
})
1717
export class AppComponent implements OnInit, AfterViewInit {
1818
dataStatus: boolean;
19+
dataText = 'OFFLINE';
1920
mlStatus: boolean;
21+
mlText = 'OFFLINE';
2022

2123
constructor(private backtestService: BacktestService,
2224
private authenticationService: AuthenticationService,
@@ -42,9 +44,11 @@ export class AppComponent implements OnInit, AfterViewInit {
4244
switch (data.status) {
4345
case 'UP':
4446
this.dataStatus = true;
47+
this.dataText = 'ONLINE';
4548
break;
46-
case 'DOWN':
49+
default:
4750
this.dataStatus = false;
51+
this.dataText = 'OFFLINE';
4852
break;
4953
}
5054
}
@@ -60,9 +64,11 @@ export class AppComponent implements OnInit, AfterViewInit {
6064
switch (data.status) {
6165
case 'UP':
6266
this.mlStatus = true;
67+
this.mlText = 'ONLINE';
6368
break;
64-
case 'DOWN':
69+
default:
6570
this.mlStatus = false;
71+
this.mlText = 'OFFLINE';
6672
break;
6773
}
6874
}

src/app/redirect-login-dialog/redirect-login-dialog.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<h1 mat-dialog-title class="app-title">Robinhood Merchant</h1>
1+
<h1 mat-dialog-title class="app-title">Algo Trader</h1>
22
<div class="welcome-text">
33
<label>Welcome Back!</label>
44
<p>Please provide your TDA credentials.</p>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
<app-header [header]="'Backtest Screener'"></app-header>
1+
<app-header [header]="'Recommendations'"></app-header>
22
<app-bulk-backtest></app-bulk-backtest>

src/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
<head>
55
<meta charset="utf-8">
6-
<title>Robinhood Merchant</title>
6+
<title>Algo Trader</title>
77
<base href="/">
88

99
<meta name="viewport" content="width=device-width, initial-scale=1">

0 commit comments

Comments
 (0)