forked from mikelward/scripts
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathquote
More file actions
executable file
·21 lines (20 loc) · 769 Bytes
/
quote
File metadata and controls
executable file
·21 lines (20 loc) · 769 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/bash
echo "quote $*" >> ~/.quote.log
#exit 0
upper=$(tr a-z A-Z <<<"$1")
urls=(
https://www.barrons.com/quote/stock/us/xnys/$1/research-ratings
https://www.barrons.com/quote/stock/us/xnas/$1/research-ratings
https://finviz.com/quote.ashx?t=$1
https://seekingalpha.com/symbol/$1/ratings/quant-ratings
https://www.morningstar.com/stocks/xnys/$1/quote
https://www.morningstar.com/stocks/xnas/$1/quote
#https://www.marketwatch.com/investing/stock/$1/analystestimates?mod=mw_quote_tab
https://www.marketbeat.com/stocks/NYSE/$upper/price-target/?MostRecent=0
https://www.marketbeat.com/stocks/NASDAQ/$upper/price-target/?MostRecent=0
https://www.tipranks.com/stocks/$1/forecast
https://www.zacks.com/zer/report/$1
)
for url in "${urls[@]}"; do
chrome "$url"
done