Major linting push

This commit is contained in:
jhoneill
2019-11-21 17:29:58 +00:00
parent 5fee49967a
commit e42f23cd7c
47 changed files with 219 additions and 190 deletions

View File

@@ -7,13 +7,10 @@ function Get-StockInfo {
)
$xlfile = "$env:TEMP\stocks.xlsx"
rm $xlfile -ErrorAction Ignore
Remove-Item -Path $xlfile -ErrorAction Ignore
$result = Invoke-RestMethod "https://api.iextrading.com/1.0/stock/market/batch?symbols=$($symbols)&types=quote&last=1"
$symbolCount = $symbols.Split(",").count
$ecd = New-ExcelChartDefinition -Row 1 -Column 1 -SeriesHeader $dataPlot `
-XRange symbol -YRange $dataPlot `
-Title "$($dataPlot)`r`n As Of $((Get-Date).ToShortDateString())"