-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.json
62 lines (62 loc) · 1.55 KB
/
config.json
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
{
"config" : {
"inputs" : {
"NYSE.csv" : {
"company_name" : "Description",
"symbol" : "Symbol"
},
"NYSE2.csv" : {
"company_name" : "Description",
"symbol" : "Symbol"
}
},
"directories" : {
"cache" : "./data/cache/",
"companies" : "./data/cache/companies/",
"html_files" : "./data/cache/html_files/",
"inputs" : "./data/inputs/"
},
"files" : {
"cik_index" : "cik_index.csv"
},
"urls" : {
"sec_url" : "https://www.sec.gov/",
"document_index_id" : "documentsbutton",
"sec_query_url" : "cgi-bin/browse-edgar?action=getcompany"
},
"statements" : {
"statement_sections" : {
"item7" : {
"description" : "Management Discussion and Analysis of Financial Condition and Results of Operations",
"regex" : ">Item 7\\.(.*)Item 8\\."
},
"item8" : {
"description" : "Financial Statements and Supplementary Data",
"regex" : ">Item 9\\.(.*)Item 10\\."
}
},
"section_cleaners" : {
"html" : {
"regex" : "<\/?[^>]*>",
"replace" : ""
},
"weird_space" : {
"regex" : "\\ ",
"replace" : " "
},
"special_chars" : {
"regex" : "\\&.*?;",
"replace" : ""
},
"newline" : {
"regex" : "\\n{2,}",
"replace" : "\\n"
},
"tabs" : {
"regex" : "\\t{2,}",
"replace" : ""
}
}
}
}
}