-
Notifications
You must be signed in to change notification settings - Fork 2
/
env.devl.yaml
43 lines (36 loc) · 2.12 KB
/
env.devl.yaml
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
# This file is used to set env variable suitable for development.
# e.g. at the devl time we may want to only use 20% of data
# by default ploomber makes a task outdated when the parameter value changes.
# Model development parameters
sample_pct: 1
debug: True
#GDELT date range
rolling_window: 120
search_term: "tesla"
tickers: ['TSLA']
bq_table_name: "`gdelt-bq.gdeltv2.gkg`"
# GDELT file url parameters
gdelt_lastupdate_url: "http://data.gdeltproject.org/gdeltv2/lastupdate.txt"
gdelt_lastupdate_translated_url: "http://data.gdeltproject.org/gdeltv2/lastupdate-translation.txt"
gdelt_master_url: "http://data.gdeltproject.org/gdeltv2/masterfilelist.txt"
gdelt_master_translated_url: "http://data.gdeltproject.org/gdeltv2/masterfilelist-translation.txt"
gdelt_file_type: "gkg.csv.zip"
gdelt_gkg_base_url: "http://data.gdeltproject.org/gdeltv2/"
# GDELT Cameo codes file url parameters
cameo_country_code_url: "https://www.gdeltproject.org/data/lookups/CAMEO.country.txt"
fips_country_code_url: "https://www.gdeltproject.org/data/lookups/FIPS.country.txt"
cameo_type_code_url: "https://www.gdeltproject.org/data/lookups/CAMEO.type.txt"
cameo_ethnic_code_url: "https://www.gdeltproject.org/data/lookups/CAMEO.ethnic.txt"
cameo_religion_code_url: "https://www.gdeltproject.org/data/lookups/CAMEO.religion.txt"
cameo_event_code_url: "https://www.gdeltproject.org/data/lookups/CAMEO.eventcodes.txt"
cameo_goldsteinscale_url: "https://www.gdeltproject.org/data/lookups/CAMEO.goldsteinscale.txt"
## Yahoo parameters
yahoo_fields : ['Open', 'Close', 'High', 'Low', 'Volume'] # options: Open High Low Close Volume Dividends "Stock Splits"
# FRED parameters
fred_series_info_url: 'https://api.stlouisfed.org/fred/series'
fred_series_observations_url: 'https://api.stlouisfed.org/fred/series/observations'
fred_api_key: "ebc6d771a26e9b8009c65cb0ab76ba3d" # API Key (associated to Matt but ok for general use)
fred_start: "2015-01-01" #Day to start pulling FRED economic data
fred_stop: "2021-12-30" # Stop day
units: "lin"
fred_series_list: ["CROASMIDTIER", "VIXCLS", "TOTALSL", "CPIAUCSL", "M1REAL", "M1V", "WM1NS", "WM2NS", "DTWEXBGS", "SP500", "UMCSENT", "USSLIND"]