Skip to content

Commit

Permalink
add tab for clear console
Browse files Browse the repository at this point in the history
  • Loading branch information
g-viet committed May 13, 2019
1 parent 7cc3a97 commit c644922
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stock_api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const gets = (stockCodes: string[]) => {
}

const stream = (stockCode: string) => {
console.log(`Stock\tPrice\t\tVolume\t\tOpenPrice\tHighestPrice\tLowestPrice\tTime`);
console.log(`Stock\tPrice\t\tVolume\t\t\tOpenPrice\tHighestPrice\tLowestPrice\tTime`);
setInterval(() => {
Helper.fetchStock(stockCode).then(stock => stock && stock.printf());
}, 2000);
Expand Down

0 comments on commit c644922

Please sign in to comment.