Improve code quality and add comments

This commit is contained in:
kevinpauer
2022-05-08 19:52:08 +02:00
parent a2b4686528
commit 0fc9e8d37f
10 changed files with 66 additions and 10 deletions

View File

@@ -17,6 +17,7 @@ export class DataService {
) {}
/**
* Function to get all portfolio data
* @returns Observable
*/
public getStockData(): Observable<any> {
@@ -30,6 +31,7 @@ export class DataService {
}
/**
* Function to get all transaction data
* @returns Observable
*/
public getTransactionData(): Observable<any> {
@@ -43,6 +45,7 @@ export class DataService {
}
/**
* Function to create a transaction
* @param {string} symbol
* @param {Date} time
* @param {number} count
@@ -77,6 +80,7 @@ export class DataService {
}
/**
* Function to get all keywords
* @returns Observable
*/
public getKeywords(): Observable<any> {