-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
stock.toml
64 lines (50 loc) · 2.46 KB
/
stock.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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
name = "stocks"
description = "Gather stock information from different sources"
[[resources]]
url = "https://finviz.com/quote.ashx?t=%%"
[[resources.selectors]]
path = "body > div.content > div.ticker-wrapper.gradient-fade > div.fv-container > table > tbody > tr > td > div > table:nth-child(1) > tbody > tr > td > table.fullview-title > tbody > tr.text-blue-500 > td > h1 > span > a > b"
name = "Name"
parsed_type = "String"
[[resources.selectors]]
path = "div.ticker-wrapper table:nth-child(1) div.snapshot-table-wrapper > table > tbody > tr:nth-child(2) > td:nth-child(2) > b"
name = "Market Cap"
parsed_type = "String"
[[resources.selectors]]
path = "div.ticker-wrapper table:nth-child(1) div.snapshot-table-wrapper > table > tbody > tr:nth-child(11) > td:nth-child(12) > b"
name = "Price ($)"
parsed_type = "Number"
[[resources.selectors]]
path = "div.ticker-wrapper table:nth-child(1) div.snapshot-table-wrapper > table > tbody > tr:nth-child(7) > td:nth-child(2) > b"
name = "Dividend ($)"
parsed_type = "Number"
[[resources.selectors]]
path = "div.ticker-wrapper table:nth-child(1) div.snapshot-table-wrapper > table > tbody > tr:nth-child(1) > td:nth-child(4) > b"
name = "P/E"
parsed_type = "Number"
[[resources]]
url = "https://www.marketwatch.com/investing/stock/%%"
[[resources.selectors]]
path = "#maincontent > div.region.region--primary > div:nth-child(2) > div.group.group--elements.left > div > ul > li:nth-child(15) > span.primary"
name = "% of Float Shorted"
parsed_type = "Number"
[[resources]]
url = "https://www.marketwatch.com/investing/stock/%%/company-profile?mod=mw_quote_tab"
[[resources.selectors]]
path = "#maincontent > div.region.region--primary > div.column.column--aside > div.group.left > div > ul > li:nth-child(1) > span"
name = "Industry"
parsed_type = "String"
[[resources.selectors]]
path = "#maincontent > div.region.region--primary > div.column.column--aside > div.group.left > div > ul > li:nth-child(2) > span"
name = "Sector"
parsed_type = "String"
[[resources]]
url = "https://www.barchart.com/stocks/quotes/%%/put-call-ratios"
[[resources.selectors]]
path = "#main-content-column > div > div.bc-futures-options-quotes-totals > div > div > div > div:nth-child(1) > div:nth-child(3) > strong"
name = "Put/Call Vol Ratio"
parsed_type = "Number"
[[resources.selectors]]
path = "#main-content-column > div > div.bc-futures-options-quotes-totals > div > div > div > div:nth-child(2) > div:nth-child(3) > strong"
name = "Put/Call OI Ratio "
parsed_type = "Number"