File: linuxtrade.ibdvol

package info (click to toggle)
linuxtrade 3.65-6
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 2,880 kB
  • ctags: 1,969
  • sloc: ansic: 30,091; sh: 2,278; perl: 566; makefile: 126
file content (16 lines) | stat: -rwxr-xr-x 307 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

#
#	Get list of IBD unusual volume stocks
#
#	Output format is so it can be called from the LinuxTrades :! command
#

ibd() {
	curl -s "http://www.investors.com/" | 		#tee /tmp/ibd |
	tr -d '\015' | egrep '^[A-Z][A-Z]* *$|^[A-Z][A-Z]* *<' |
	awk '{print $1}'
}

ibd
echo "label=IBD Unusual Vol."