Watchlist
 Share
The version of the browser you are using is no longer supported. Please upgrade to a supported browser.Dismiss

 
View only
 
 
ABCDEFGHIJKLMNOPQRSTUVWXYZ
1
It can be used in 2 scenarios:quotes with googlefinance, number on a website that can be retrieved either with importxml or importhtml. See example of all these usages on Watchlist tab.
2
3
CAUTION:
4
Do not change the header names or the script breaks
5
Do not leave the Ticker column empty
6
INSTRUCTIONS
7
Fill out the yellow parts of the Watchlist sheet by
8
Just putting a ticker in the ticker cell (if googlefinance can download price for the ticker)
9
Or filling out the URL and XPATH cells necessary to retrieve the number with importxml you desire (remember you still NEED to have a ticker cell)
10
Or filling out the URL, TableNr, row, col necessary to import the number with INDEX(IMPORTHTML(url, "table", TableNr), row, col)
11
Go to File/Spreadsheet Settings/Calculation and set Recalculation to ‘On change and every minute’.
12
HOW THE EMAIL IS TRIGGERED
13
Every 5 minutes the script associated with this sheet runs and send email if the Triggered column is true and if it hasn't sent email on that particular Ticker in the last 12 hours
14
If you want to change such behavior you need to modify the script
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
Loading...
Main menu