From f47fbcb40f09c5a30e237cd488ad21dcfa22cdd7 Mon Sep 17 00:00:00 2001 From: james Date: Thu, 20 Oct 2022 13:57:01 -0400 Subject: [PATCH 1/4] First push --- .pre-commit-config.yaml | 6 +- openbb_terminal/economy/economy_controller.py | 90 ++++++++++++------- openbb_terminal/economy/nasdaq_model.py | 72 ++++++++++++++- openbb_terminal/economy/nasdaq_view.py | 32 +++++++ .../miscellaneous/data_sources_default.json | 4 +- 5 files changed, 165 insertions(+), 39 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 886ae36b2081..3a7e6ef6d044 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -9,7 +9,7 @@ repos: args: [ "--ignore-files=settings_controller.py,featflags_controller.py,keys_controller.py,degiro_controller.py,", - "--ignore-commands=login,al_swe,info_swe,goodness,resources,yf,yolo,from,to,featflags,guess,settings,survey", + "--ignore-commands=login,al_swe,info_swe,goodness,resources,yf,yolo,from,to,featflags,guess,settings,survey,intro" ] entry: python custom_pre_commit/check_doc.py - repo: https://github.com/pre-commit/pre-commit-hooks @@ -32,7 +32,7 @@ repos: - id: flake8 entry: flake8 --ignore=E203,W503 --max-line-length=122 --exclude ./build/pyinstaller/* - repo: https://github.com/codespell-project/codespell - rev: v2.2.1 + rev: v2.2.2 hooks: - id: codespell entry: codespell @@ -68,7 +68,7 @@ repos: ["--baseline", ".secrets.baseline", "--exclude-files", "cassettes/*", "--exclude-files", "website/content/api/*"] exclude: package.lock.json - repo: https://github.com/asottile/pyupgrade - rev: v3.0.0 + rev: v3.1.0 hooks: - id: pyupgrade args: [--py38-plus] diff --git a/openbb_terminal/economy/economy_controller.py b/openbb_terminal/economy/economy_controller.py index 2a6bb3195428..8bcf60381ee2 100644 --- a/openbb_terminal/economy/economy_controller.py +++ b/openbb_terminal/economy/economy_controller.py @@ -6,7 +6,7 @@ import logging import os import itertools -from datetime import date +from datetime import date, datetime as dt from typing import List, Dict, Any import pandas as pd @@ -1269,33 +1269,17 @@ def call_events(self, other_args: List[str]): "--country", action="store", dest="country", - nargs="+", - default="all", + type=str, + default="", help="Display calendar for specific country.", ) - parser.add_argument( - "-i", - "--importance", - action="store", - dest="importance", - choices=investingcom_model.IMPORTANCES, - help="Event importance classified as high, medium, low or all.", - ) - parser.add_argument( - "--categories", - action="store", - dest="category", - choices=investingcom_model.CATEGORIES, - default=None, - help="Event category.", - ) parser.add_argument( "-s", "--start", dest="start_date", type=valid_date, help="The start date of the data (format: YEAR-MONTH-DAY, i.e. 2010-12-31)", - default=None, + default=dt.now().strftime("%Y-%m-%d"), ) parser.add_argument( "-e", @@ -1303,8 +1287,32 @@ def call_events(self, other_args: List[str]): dest="end_date", type=valid_date, help="The start date of the data (format: YEAR-MONTH-DAY, i.e. 2010-12-31)", + default=dt.now().strftime("%Y-%m-%d"), + ) + parser.add_argument( + "-d", + "--date", + dest="spec_date", + type=valid_date, + help="Get a specific date for events. Overrides start and end dates.", default=None, ) + parser.add_argument( + "-i", + "--importance", + action="store", + dest="importance", + choices=investingcom_model.IMPORTANCES, + help="Event importance classified as high, medium, low or all.", + ) + parser.add_argument( + "--categories", + action="store", + dest="category", + choices=investingcom_model.CATEGORIES, + default=None, + help="[INVESTING source only] Event category.", + ) ns_parser = self.parse_known_args_and_warn( parser, other_args, @@ -1315,7 +1323,8 @@ def call_events(self, other_args: List[str]): if ns_parser: if isinstance(ns_parser.country, list): - ns_parser.country = " ".join(ns_parser.country) + if ns_parser.source == "Investing": + ns_parser.country = " ".join(ns_parser.country) if ns_parser.start_date: start_date = ns_parser.start_date.strftime("%Y-%m-%d") @@ -1327,15 +1336,36 @@ def call_events(self, other_args: List[str]): else: end_date = None - investingcom_view.display_economic_calendar( - country=ns_parser.country, - importance=ns_parser.importance, - category=ns_parser.category, - start_date=start_date, - end_date=end_date, - limit=ns_parser.limit, - export=ns_parser.export, - ) + if ns_parser.source == "Investing": + investingcom_view.display_economic_calendar( + country=ns_parser.country, + importance=ns_parser.importance, + category=ns_parser.category, + start_date=start_date, + end_date=end_date, + limit=ns_parser.limit, + export=ns_parser.export, + ) + elif ns_parser.source == "Nasdaq": + countries = ( + ns_parser.country.replace("_", " ").title().split(",") + if ns_parser.country + else [] + ) + + if ns_parser.spec_date: + start_date = ns_parser.spec_date.strftime("%Y-%m-%d") + end_date = ns_parser.spec_date.strftime("%Y-%m-%d") + + else: + start_date, end_date = sorted([start_date, end_date]) + nasdaq_view.display_economic_calendar( + country=countries, + start_date=start_date, + end_date=end_date, + limit=ns_parser.limit, + export=ns_parser.export, + ) @log_start_end(log=logger) def call_plot(self, other_args: List[str]): diff --git a/openbb_terminal/economy/nasdaq_model.py b/openbb_terminal/economy/nasdaq_model.py index 00e7943b159d..2063a6ac96f5 100644 --- a/openbb_terminal/economy/nasdaq_model.py +++ b/openbb_terminal/economy/nasdaq_model.py @@ -4,8 +4,9 @@ import argparse import logging import os -from typing import List +from typing import List, Union +from datetime import datetime as dt import pandas as pd import requests @@ -17,7 +18,70 @@ @log_start_end(log=logger) -def check_country_code_type(list_of_codes: str) -> List[str]: +def get_economic_calendar( + countries: Union[List[str], str] = "", + start_date: str = dt.now().strftime("%Y-%m-%d"), + end_date: str = dt.now().strftime("%Y-%m-%d"), +) -> pd.DataFrame: + """Get economic calendar for countries between specified dates + + Parameters + ---------- + countries : [List[str],str] + List of countries to include in calendar. Empty returns all + start_date : str + Start date for calendar + end_date : str + End date for calendar + + Returns + ------- + pd.DataFrame + Economic calendar + """ + if isinstance(countries, str): + countries = [countries] + if start_date == end_date: + dates = [start_date] + else: + dates = ( + pd.date_range(start=start_date, end=end_date).strftime("%Y-%m-%d").tolist() + ) + calendar = pd.DataFrame() + for date in dates: + df = pd.DataFrame( + requests.get( + f"https://api.nasdaq.com/api/calendar/economicevents?date={date}", + headers={ + "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) " + "AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36" + }, + ).json()["data"]["rows"] + ).replace(" ", "-") + df.loc[:, "Date"] = date + calendar = pd.concat([calendar, df], axis=0) + + if calendar.empty: + console.print("No data found for date range", style="bold red") + return pd.DataFrame() + + calendar = calendar.rename( + columns={"gmt": "Time (GMT)", "country": "Country", "eventName": "Event"} + ) + + calendar = calendar.drop(columns=["description"]) + if not countries: + return calendar + + calendar = calendar[calendar["Country"].isin(countries)].reset_index(drop=True) + if calendar.empty: + console.print(f"No data found for {','.join(countries)}", style="bold red") + return pd.DataFrame() + return calendar + + +@log_start_end(log=logger) +def check_country_code_type(list_of_codes: str) -> list[str]: """Check that codes are valid for NASDAQ API""" nasdaq_codes = list( pd.read_csv(os.path.join(os.path.dirname(__file__), "NASDAQ_CountryCodes.csv"))[ @@ -36,7 +100,7 @@ def check_country_code_type(list_of_codes: str) -> List[str]: @log_start_end(log=logger) -def get_country_codes() -> List[str]: +def get_country_codes() -> list[str]: """Get available country codes for Bigmac index Returns @@ -95,7 +159,7 @@ def get_big_mac_index(country_code: str = "USA") -> pd.DataFrame: @log_start_end(log=logger) @check_api_key(["API_KEY_QUANDL"]) -def get_big_mac_indices(country_codes: List[str] = None) -> pd.DataFrame: +def get_big_mac_indices(country_codes: list[str] = None) -> pd.DataFrame: """Display Big Mac Index for given countries Parameters diff --git a/openbb_terminal/economy/nasdaq_view.py b/openbb_terminal/economy/nasdaq_view.py index 6cb05b6cb400..62e47428fe83 100644 --- a/openbb_terminal/economy/nasdaq_view.py +++ b/openbb_terminal/economy/nasdaq_view.py @@ -23,6 +23,38 @@ logger = logging.getLogger(__name__) +@log_start_end(log=logger) +def display_economic_calendar( + country: str, start_date: str, end_date: str, limit: int = 10, export: str = "" +) -> None: + """Display economic calendar for specified country between start and end dates + + Parameters + ---------- + country : str + Country to display calendar for + start_date : str + Start date for calendar + end_date : str + End date for calendar + limit : int + Limit number of rows to display + export : str + Export data to csv or excel file + """ + df = nasdaq_model.get_economic_calendar(country, start_date, end_date) + if df.empty: + return + print_rich_table( + df.head(limit), + title="Economic Calendar", + show_index=False, + headers=df.columns, + ) + console.print() + export_data(export, os.path.dirname(os.path.abspath(__file__)), "events", df) + + @log_start_end(log=logger) @check_api_key(["API_KEY_QUANDL"]) def display_big_mac_index( diff --git a/openbb_terminal/miscellaneous/data_sources_default.json b/openbb_terminal/miscellaneous/data_sources_default.json index 785444b8a6b2..5daa0f74feb8 100644 --- a/openbb_terminal/miscellaneous/data_sources_default.json +++ b/openbb_terminal/miscellaneous/data_sources_default.json @@ -471,8 +471,8 @@ "futures": ["WallStreetJournal", "Finviz"], "map": ["Finviz"], "bigmac": ["Nasdaq"], - "ycrv": ["Investing", "FRED"], - "events": ["Investing"], + "ycrv": ["FRED","Investing"], + "events": ["Nasdaq","Investing"], "edebt": ["Wikipedia"], "rtps": ["AlphaVantage"], "valuation": ["Finviz"], From a347bc3053a8a443447c802246636965d10b6f07 Mon Sep 17 00:00:00 2001 From: james Date: Thu, 20 Oct 2022 15:24:30 -0400 Subject: [PATCH 2/4] Second commit --- openbb_terminal/economy/nasdaq_model.py | 29 +- .../test_get_economic_calendar.yaml | 287 +++++++++++++++++ ...et_economic_calendar_bad_country_name.yaml | 285 +++++++++++++++++ .../test_display_economic_calendar.yaml | 292 ++++++++++++++++++ ...display_economic_calendar_bad_country.yaml | 292 ++++++++++++++++++ .../test_get_economic_calendar.csv | 35 +++ ...get_economic_calendar_bad_country_name.csv | 1 + .../economy/test_economy_controller.py | 42 ++- .../economy/test_nasdaq_model.py | 18 ++ .../economy/test_nasdaq_view.py | 16 + .../test_print_help.txt | 4 +- .../test_display_economic_calendar.txt | 5 + ..._display_economic_calendar_bad_country.txt | 1 + .../content/terminal/economy/events/_index.md | 88 ++++-- 14 files changed, 1344 insertions(+), 51 deletions(-) create mode 100644 tests/openbb_terminal/economy/cassettes/test_nasdaq_model/test_get_economic_calendar.yaml create mode 100644 tests/openbb_terminal/economy/cassettes/test_nasdaq_model/test_get_economic_calendar_bad_country_name.yaml create mode 100644 tests/openbb_terminal/economy/cassettes/test_nasdaq_view/test_display_economic_calendar.yaml create mode 100644 tests/openbb_terminal/economy/cassettes/test_nasdaq_view/test_display_economic_calendar_bad_country.yaml create mode 100644 tests/openbb_terminal/economy/csv/test_nasdaq_model/test_get_economic_calendar.csv create mode 100644 tests/openbb_terminal/economy/csv/test_nasdaq_model/test_get_economic_calendar_bad_country_name.csv create mode 100644 tests/openbb_terminal/economy/txt/test_nasdaq_view/test_display_economic_calendar.txt create mode 100644 tests/openbb_terminal/economy/txt/test_nasdaq_view/test_display_economic_calendar_bad_country.txt diff --git a/openbb_terminal/economy/nasdaq_model.py b/openbb_terminal/economy/nasdaq_model.py index 2063a6ac96f5..be0ab68bf1f8 100644 --- a/openbb_terminal/economy/nasdaq_model.py +++ b/openbb_terminal/economy/nasdaq_model.py @@ -49,20 +49,23 @@ def get_economic_calendar( ) calendar = pd.DataFrame() for date in dates: - df = pd.DataFrame( - requests.get( - f"https://api.nasdaq.com/api/calendar/economicevents?date={date}", - headers={ - "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) " - "AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36" - }, - ).json()["data"]["rows"] - ).replace(" ", "-") - df.loc[:, "Date"] = date - calendar = pd.concat([calendar, df], axis=0) + try: + df = pd.DataFrame( + requests.get( + f"https://api.nasdaq.com/api/calendar/economicevents?date={date}", + headers={ + "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) " + "AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36" + }, + ).json()["data"]["rows"] + ).replace(" ", "-") + df.loc[:, "Date"] = date + calendar = pd.concat([calendar, df], axis=0) + except TypeError: + continue if calendar.empty: - console.print("No data found for date range", style="bold red") + console.print("[red]No data found for date range.[/red]") return pd.DataFrame() calendar = calendar.rename( @@ -75,7 +78,7 @@ def get_economic_calendar( calendar = calendar[calendar["Country"].isin(countries)].reset_index(drop=True) if calendar.empty: - console.print(f"No data found for {','.join(countries)}", style="bold red") + console.print(f"[red]No data found for {','.join(countries)}[/red]") return pd.DataFrame() return calendar diff --git a/tests/openbb_terminal/economy/cassettes/test_nasdaq_model/test_get_economic_calendar.yaml b/tests/openbb_terminal/economy/cassettes/test_nasdaq_model/test_get_economic_calendar.yaml new file mode 100644 index 000000000000..be450ac93006 --- /dev/null +++ b/tests/openbb_terminal/economy/cassettes/test_nasdaq_model/test_get_economic_calendar.yaml @@ -0,0 +1,287 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, + like Gecko) Chrome/106.0.0.0 Safari/537.36 + method: GET + uri: https://api.nasdaq.com/api/calendar/economicevents?date=2022-10-20 + response: + body: + string: !!binary | + H4sIAAAAAAAAAO1d2XIcN5b9lQxOtEOKKKZr4yY9kTQlURpSDFEKjz09D6hMVBWauZQTmSyVOxzR + /zBP/ebX/g33n/SXzLkXQG61kJRIT8vii6KYiby4uBvuBuivW6HIxdazv25NpQhlpunnJM63nm29 + V7Hc6mwFaZHk2QIPju2vzpa8lkl+LvD+2dYJ/cYzEeSFiPDg0PygLxMtE11o/tb97mzNMnmtUn58 + 4X52tkKpg0zNcpUmePFd7a9fOltZOsfw/3aodfvPut0Gbpdzlf8ss0gkYQu/9xnW5R0JvApkHc+h + 3+0Ojlp4bjfxG/iDfv9oCbv3U+k14HqxFLrIpPZyvArVeCwzSc9V4l2LqJDeSOZzKRNPxbM0y2Xo + AVNPfrR/TNI01PxIy+xaBQCUXsuMoWXSDprJTKWh7x16s1SrXF1LLyniEYapJFSByHl6kXtxmslV + IOdAqpoTQyt0/G+i/PnRu2+/meTPaz8PvamaTBkRDManMqBPM8iKSiaenqZFFGJtXi6usDihS9S+ + HRVRpPTUG6dmGcevXnS8+VRF0hNelM7vAjSRE2GASpG1gPqQj/Vy8VJmsUjaMmueehcXp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mBPFtBGSn3xKR4fI5zZfjq1XAmzJSHhQufaqgGllvTXH/awDx3RGq1mRcsT7F/LHS8fJx + 4BlcZX718Pr/8uji/nkNoC1etxKir8VMtC+ZPr447Zhbye6q9t1VwVx5B0zJ2XpEN5K0n0LThOZB + IvwLHHDKnPmccaQSV6ARSWD5hcvknZlGGe76OaUsMX15OB4LZVu0jxHYFQkxkfPKIknobhsWILjx + kvu0be/fWhbScVZ43ZbWleGQ8ypcWEhzPDai8tUarjXhOFYtwbk7n2qEBQWPbxF7D/xuq5muv+4/ + uWkBX8W6J8d3+49UGhbV3fLEzeOlf9UB4Sic5EwogJIkw3Cvb/C5RwV8ffHD/SsggH4OY++eT7Es + XnEr4L2zsDogAs4RjUisrYY6jsLbzqu+WA5cUzdfI2FjxIEry5l0XfZlGG0Pvjc6xspu+1hQGOGN + Uo7NFxAi4dHpG4KL9fF7itJp6upNo7pkpqteRmn9frWOm9IEHxTsdVyPHFW2sUdQzLFp1lDKmUxY + iOx4V+XPjAEUiF2iaHnuuvT0l0rI6923Y3M71jEVQy5npmZxV1nqH6yy56sgbxIhe09XQOO1Gz+q + 94BqVnAjKK6eH6QZXw0CknGlstzsSxD2kJDd+X8fB53wfBh/7H9+6Wwh2tTUZfoswdSdLY3tr+D/ + qS87TkM87ne7na0R/T5rjgzJJaIr/RrPf/nl/wAq9sve928AAA== + headers: + Cache-Control: + - max-age=0, no-cache, no-store + Connection: + - keep-alive + Content-Encoding: + - gzip + Content-Length: + - '5794' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 20 Oct 2022 18:39:21 GMT + Expires: + - Thu, 20 Oct 2022 18:39:21 GMT + Pragma: + - no-cache + Server: + - Kestrel + Set-Cookie: + - ak_bmsc=1242A8EC1F36C47371F1457E7DB3DBB4~000000000000000000000000000000~YAAQNmdNaNQvE+mDAQAA9lix9hGHUpglbH6QFrpy75NqGEHA4l7C3n6udz2BXpi1d1nrGpy1B0oQ2lH8MNnSc8mC+sqAKyEjDEg4mvaKWdQZFWzqUPR0UNeBJOeOJG5vONWuDBEJrrBXFcHpDI/JN7yOhjwFOFn00+NJHy9XkoqgDhoVzEbCfaJuQ99TcTOoUzJOhxTaJ2RmJumD1MSZ8yQb3bk/Msdwrwu9GdSWiACJMPPqQG4who1QT+trSrrtuVKWL6XZpcH2lsIurtvhJ/lWURT98qhR4VcENcugrspwAta1dCYvGNkjTnG9ke8cx8USq5fe6go7/XcF26k360Nr88ejkbjL7IVgsJjd18G7Y8hpYZSWH6CRcB0=; + Domain=.nasdaq.com; Path=/; Expires=Thu, 20 Oct 2022 20:39:21 GMT; Max-Age=7200; + HttpOnly + Strict-Transport-Security: + - max-age=86400 + Vary: + - Accept-Encoding + X-EdgeConnect-MidMile-RTT: + - '21' + - '21' + - '21' + X-EdgeConnect-Origin-MEX-Latency: + - '32' + - '32' + - '32' + gid: + - '104' + lang: + - en + rid: + - 4663e294-866f-4eff-b17d-91f36a716833 + srctype: + - default + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, + like Gecko) Chrome/106.0.0.0 Safari/537.36 + method: GET + uri: https://api.nasdaq.com/api/calendar/economicevents?date=2022-10-21 + response: + body: + string: !!binary | + H4sIAAAAAAAAAO1da3PbNhb9KxjNJOvMqIwefqY7O2MpduKmdj12PNl2sx8gEZKwJgkWIO0qnfz3 + PRcg9aAoO0qYxo35TabIi4t7z7kvUOM/Gz5PeOPFn42J4L7Qhj6Ow6TxovFWhqLRbAxVGiV6igv9 + 7FOzIW5ElJxxfP+icUSfcY0Pk5QHuHDoPtCTkRGRSY19Nv/cbMRa3EhlL5/nH5sNX5ihlnEiVYQv + Xi789bHZ0OoWt/8nV63VedFqLel2FclE+OyNjMa+Cgsq9pUW7EIkXAbskgfCLKr7NBqY+MeCuj+0 + vO6TZVV/aHu7T1b0XJTKQ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br60GevY9w06pEasQyih+c37Btta2P4zlmRrILxZ940ybd2Exnj/fD7Q/yKEHSKq + 2lMxO5+18c4Gu/l6ExFYoLpZlYw5bQOtBUTJgI5mjJtx9RE4+VhZpFPf8qvS1+vXzY1ZYpfMIjaY + zwcGUWFYgMIsmH6w71K6qRO8iZBKLxqQBuDAdAkRuUXoLDGZnT0q2l5s53ggzhCLIVQKO8mjrknZ + 2E3h0MZOLIariJN67pD5lu50s11Omvnho+BIM8da+nxKxVsXmI9DdsTpKCxi9LuBJpsNUWh6ae/M + 0hX5tGnfCBSjAFE8O15ZWj/fsJod2kD3t6kwkON9Ct1Kg4Fl22GQhjKSaVgd5/a8nQfOuFXO1ayr + WfcXsq6v4jg7+64mzbV3vIMHTro6zdWE+4aE01F1dOt2drz2Kt2+UEVNr89Q+1SZnp2d0ur3y/R8 + pQK/OhUPtr2S99rqwFUHrjpwEdvOOIT8ztqtVnWc2y8r0L9UTYCPB+wVN1VWNbudsjj7oKJD3UvU + EeKbRojLp+dsp8rwANptP3ja1Um5pty3o5wMbqps3/fqGrimW023tXRT04Gg99crI9zOjrdfdQn8 + biJg2OqycMdrbahi+ZurdrZw+LJKzXa8vTpe1fHqkcary1uZfBCafvtYyrXXxxVyrZ7r11R7vFQ7 + pPdneLDywyd3dH1VZVLrtr1uzbSaaY+UaT3NP8igjGa9i58rPJHaffCTpaoGuuxbUY19h1xj3xXZ + fuJwcxnXfjr/tcKUtlfPleqU9nhTGnnvN8HX9Wlnv1VZPrYPysY1Nddqrj0Krl2kwHFpl3Zx1Vsy + aj0KqRlWM2xzhq39bSGR7OjqosK3Gx/+C/w10WqiVUS0/eLv514JTeYr0MxdZb10wFlP2D+iqn9Z + /N+PzUYojOFjrBilQdBsmIQnqf0nJLqvfFzutFrNxoA+ny7f6dOvfFUs9NL1jx//D7L5G2LSZAAA + headers: + Cache-Control: + - max-age=0, no-cache, no-store + Connection: + - keep-alive + Content-Encoding: + - gzip + Content-Length: + - '3363' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 20 Oct 2022 18:39:21 GMT + Expires: + - Thu, 20 Oct 2022 18:39:21 GMT + Pragma: + - no-cache + Server: + - Kestrel + Set-Cookie: + - ak_bmsc=310644BB4AD69D556BD0132B8AA79457~000000000000000000000000000000~YAAQNmdNaOkvE+mDAQAAL1qx9hEwJvDkgBFdJs7LEAdW5NHYY6FzIzwP1FjZLlqchFkpBSB2XXPf/CqNK9TH1z0xWmzX6a4LbDAH8ZFrMPfx9hE9zZDlo8FxgUzat+qKPoWfRYXvllNcj9fp0Z9PeO9/oy8dbLkzQ6MpddOJLYl1IMaQ2uAWsfDqVb9W0INPUedEselXDRgchYVBnc0ZDCxRT3GDKypPPC8gSx3mxy1LGTMCC31R07HgvdGVp8gYEZf6A1Ai3/MPuf7iIzf2xNKo1uV0EuBtnC7rxy/NwJ4RjfNIFyC5RNLhnJydU4c5wff2xWis58VAoOUVDIu/0I4FauMVQbQqAu/edEfeVYgckNNscfcHhXBAoMc=; + Domain=.nasdaq.com; Path=/; Expires=Thu, 20 Oct 2022 20:39:21 GMT; Max-Age=7200; + HttpOnly + Strict-Transport-Security: + - max-age=86400 + Vary: + - Accept-Encoding + X-EdgeConnect-MidMile-RTT: + - '21' + - '21' + X-EdgeConnect-Origin-MEX-Latency: + - '17' + - '17' + gid: + - '204' + lang: + - en + rid: + - eee528ee-f540-453a-814a-1c8d985b4194 + srctype: + - default + status: + code: 200 + message: OK +version: 1 diff --git a/tests/openbb_terminal/economy/cassettes/test_nasdaq_model/test_get_economic_calendar_bad_country_name.yaml b/tests/openbb_terminal/economy/cassettes/test_nasdaq_model/test_get_economic_calendar_bad_country_name.yaml new file mode 100644 index 000000000000..819f2a9c2d4d --- /dev/null +++ b/tests/openbb_terminal/economy/cassettes/test_nasdaq_model/test_get_economic_calendar_bad_country_name.yaml @@ -0,0 +1,285 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, + like Gecko) Chrome/106.0.0.0 Safari/537.36 + method: GET + uri: https://api.nasdaq.com/api/calendar/economicevents?date=2022-10-20 + response: + body: + string: !!binary | + H4sIAAAAAAAAAO1d2XIcN5b9lQxOtEOKKKZr4yY9kTQlURpSDFEKjz09D6hMVBWauZQTmSyVOxzR + /zBP/ebX/g33n/SXzLkXQG61kJRIT8vii6KYiby4uBvuBuivW6HIxdazv25NpQhlpunnJM63nm29 + V7Hc6mwFaZHk2QIPju2vzpa8lkl+LvD+2dYJ/cYzEeSFiPDg0PygLxMtE11o/tb97mzNMnmtUn58 + 4X52tkKpg0zNcpUmePFd7a9fOltZOsfw/3aodfvPut0Gbpdzlf8ss0gkYQu/9xnW5R0JvApkHc+h + 3+0Ojlp4bjfxG/iDfv9oCbv3U+k14HqxFLrIpPZyvArVeCwzSc9V4l2LqJDeSOZzKRNPxbM0y2Xo + AVNPfrR/TNI01PxIy+xaBQCUXsuMoWXSDprJTKWh7x16s1SrXF1LLyniEYapJFSByHl6kXtxmslV + IOdAqpoTQyt0/G+i/PnRu2+/meTPaz8PvamaTBkRDManMqBPM8iKSiaenqZFFGJtXi6usDihS9S+ + HRVRpPTUG6dmGcevXnS8+VRF0hNelM7vAjSRE2GASpG1gPqQj/Vy8VJmsUjaMmueehcXpw2B2PH3 + /9SSh+HQ3/tTUybcsGWRcGCzNCwCrO8iA9m90ySUH70nmOxpU0wCLH/CIkJ/zXhwOraM0ynRYOEB + YDEmFDMo58Nz6eTDu/vnEoDeH5f6/qDNpJ55VOPRnn/wyKLPY9Fwp8GiF5m1n3UOvSAjN/WOCq0S + qbV3WWTXclHnVq87aDOr22vyqtftr2RVC2rFGFi7QueZEpGHedS1yhfEIYNhh5czT7Mo/Nff/q6x + wCLLp14ksonUuSeBShovfI9moK3PU9oL0ngGcobeOEtjEFWbCcFokYEAoTfsdLtdz6525PCKzI7p + vhplqQDxWWDw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9UB4Sic5EwogJIkw3Cvb/C5RwV8ffHD/SsggH4OY++eT7Es + XnEr4L2zsDogAs4RjUisrYY6jsLbzqu+WA5cUzdfI2FjxIEry5l0XfZlGG0Pvjc6xspu+1hQGOGN + Uo7NFxAi4dHpG4KL9fF7itJp6upNo7pkpqteRmn9frWOm9IEHxTsdVyPHFW2sUdQzLFp1lDKmUxY + iOx4V+XPjAEUiF2iaHnuuvT0l0rI6923Y3M71jEVQy5npmZxV1nqH6yy56sgbxIhe09XQOO1Gz+q + 94BqVnAjKK6eH6QZXw0CknGlstzsSxD2kJDd+X8fB53wfBh/7H9+6Wwh2tTUZfoswdSdLY3tr+D/ + qS87TkM87ne7na0R/T5rjgzJJaIr/RrPf/nl/wAq9sve928AAA== + headers: + Cache-Control: + - max-age=0, no-cache, no-store + Connection: + - keep-alive + Content-Encoding: + - gzip + Content-Length: + - '5794' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 20 Oct 2022 18:40:22 GMT + Expires: + - Thu, 20 Oct 2022 18:40:22 GMT + Pragma: + - no-cache + Server: + - Kestrel + Set-Cookie: + - ak_bmsc=7D4B57D2F0D27B235FBB8B0E1106D41F~000000000000000000000000000000~YAAQRzorF2Rg7dODAQAARUmy9hFCq58WkszbHn8sP1m/5Scq55uaZpfb69hps7fkPZpgBAu7OvKNtHwLoe2fBeFO/FfBWG8oW/NueYLl59EqCHGkbRUMy331XdLpDHCH4wqbDEzAeisT02dK6V+YDt4C1CMHPNIgBwN1B6SrfHWBPyjAz7FE/M7EQUEZwrwvpyTHD7CKM0yQySbOW4ZUTaL3EJJr3nmONGiBAmyGWvOatInJWKpZxThgoKjpvOrgot92oHIx4zVgiyFGnAuRWruXHU/0bimPA9pRXXNltE4VbPFVxeH2hWauKP2wggQDBBwWVorXT566DgTloem4DV+10DX+LGMAfFofoziLfMq2xBXH4dmWe3dE9Ac=; + Domain=.nasdaq.com; Path=/; Expires=Thu, 20 Oct 2022 20:40:22 GMT; Max-Age=7200; + HttpOnly + Strict-Transport-Security: + - max-age=86400 + Vary: + - Accept-Encoding + X-EdgeConnect-MidMile-RTT: + - '21' + - '23' + X-EdgeConnect-Origin-MEX-Latency: + - '32' + - '32' + gid: + - '104' + lang: + - en + rid: + - 4663e294-866f-4eff-b17d-91f36a716833 + srctype: + - default + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, + like Gecko) Chrome/106.0.0.0 Safari/537.36 + method: GET + uri: https://api.nasdaq.com/api/calendar/economicevents?date=2022-10-21 + response: + body: + string: !!binary | + H4sIAAAAAAAAAO1da3PbNhb9KxjNJOvMqIwefqY7O2MpduKmdj12PNl2sx8gEZKwJgkWIO0qnfz3 + PRcg9aAoO0qYxo35TabIi4t7z7kvUOM/Gz5PeOPFn42J4L7Qhj6Ow6TxovFWhqLRbAxVGiV6igv9 + 7FOzIW5ElJxxfP+icUSfcY0Pk5QHuHDoPtCTkRGRSY19Nv/cbMRa3EhlL5/nH5sNX5ihlnEiVYQv + Xi789bHZ0OoWt/8nV63VedFqLel2FclE+OyNjMa+Cgsq9pUW7EIkXAbskgfCLKr7NBqY+MeCuj+0 + vO6TZVV/aHu7T1b0XJTKQsFNiqWSiWDDCY/GgsnI/pWohAfshgepYGqEq6OAk4QfuP+/1JDmxkrg + ib1dO6kBNhF47CRh0tjrI2wkVAZ/R74c8kRpkkaKp6HQzMQC16Nxk91O5HDC+NAayNBz9vmQ/09p + mUzpKXUjNA8CJvC4CuUQdyfyBl967C1utTaL0nAAueKPYZBi3+wwTVSuaeSz41QE+VoJlsY22UAw + CJ6yG0U7DITHngbJjwP9/Ok4+fGQTeR4IkgZHkFsLIa0dw3oQW1mJioNfBKR8GsRMW5YrIyEWuL5 + IA0CaSazrbzqndPKgWCcBep2E5mRGHMnU3BdkOkBbX8dyra9dhFlO16rRtnmKHss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GQhjKSaVgd5/a8nQfOuFXO1ayr + WfcXsq6v4jg7+64mzbV3vIMHTro6zdWE+4aE01F1dOt2drz2Kt2+UEVNr89Q+1SZnp2d0ur3y/R8 + pQK/OhUPtr2S99rqwFUHrjpwEdvOOIT8ztqtVnWc2y8r0L9UTYCPB+wVN1VWNbudsjj7oKJD3UvU + EeKbRojLp+dsp8rwANptP3ja1Um5pty3o5wMbqps3/fqGrimW023tXRT04Gg99crI9zOjrdfdQn8 + biJg2OqycMdrbahi+ZurdrZw+LJKzXa8vTpe1fHqkcary1uZfBCafvtYyrXXxxVyrZ7r11R7vFQ7 + pPdneLDywyd3dH1VZVLrtr1uzbSaaY+UaT3NP8igjGa9i58rPJHaffCTpaoGuuxbUY19h1xj3xXZ + fuJwcxnXfjr/tcKUtlfPleqU9nhTGnnvN8HX9Wlnv1VZPrYPysY1Nddqrj0Krl2kwHFpl3Zx1Vsy + aj0KqRlWM2xzhq39bSGR7OjqosK3Gx/+C/w10WqiVUS0/eLv514JTeYr0MxdZb10wFlP2D+iqn9Z + /N+PzUYojOFjrBilQdBsmIQnqf0nJLqvfFzutFrNxoA+ny7f6dOvfFUs9NL1jx//D7L5G2LSZAAA + headers: + Cache-Control: + - max-age=0, no-cache, no-store + Connection: + - keep-alive + Content-Encoding: + - gzip + Content-Length: + - '3363' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 20 Oct 2022 18:40:22 GMT + Expires: + - Thu, 20 Oct 2022 18:40:22 GMT + Pragma: + - no-cache + Server: + - Kestrel + Set-Cookie: + - ak_bmsc=D8CA8641C9A75B6F6E777A6D00821C43~000000000000000000000000000000~YAAQRzorF2pg7dODAQAAi0my9hGtcrJZLIRQQlICBOWbD4VRay8TkdMvwxfFBPTH4ohkFhgX5RjFuF0jvm/VRHiTFdA2uGhnj3ygLXHxCOcbydEd6Jt43PuINVHQrNPqNPFdeo57GBkFqHN+/ZQ3bWIh4UdA+TLlNzxtUsW5hXYuQX04wtvcoBf37Z2GUGRFZoSG7j7fJjRuxA5VjXrCOjpFxHLxLZj3Vq9T7rL0o2MBu/ffzz2KbbP8thklxKb+VuxsU8tjprtvI7LuKLe2E+IWlIIbrbRm6HuHpLDdz2mV35f318dTWcZhCp2bTFk8n99YZg6RV0MJ5evE7AhN0CUUaT9T9BGXKGjnhFfuhx8tlBFvCPqrJPW6nXA=; + Domain=.nasdaq.com; Path=/; Expires=Thu, 20 Oct 2022 20:40:22 GMT; Max-Age=7200; + HttpOnly + Strict-Transport-Security: + - max-age=86400 + Vary: + - Accept-Encoding + X-EdgeConnect-MidMile-RTT: + - '21' + - '23' + X-EdgeConnect-Origin-MEX-Latency: + - '17' + - '17' + gid: + - '204' + lang: + - en + rid: + - eee528ee-f540-453a-814a-1c8d985b4194 + srctype: + - default + status: + code: 200 + message: OK +version: 1 diff --git a/tests/openbb_terminal/economy/cassettes/test_nasdaq_view/test_display_economic_calendar.yaml b/tests/openbb_terminal/economy/cassettes/test_nasdaq_view/test_display_economic_calendar.yaml new file mode 100644 index 000000000000..a98b711a5c9d --- /dev/null +++ b/tests/openbb_terminal/economy/cassettes/test_nasdaq_view/test_display_economic_calendar.yaml @@ -0,0 +1,292 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, + like Gecko) Chrome/106.0.0.0 Safari/537.36 + method: GET + uri: https://api.nasdaq.com/api/calendar/economicevents?date=2022-10-20 + response: + body: + string: !!binary | + H4sIAAAAAAAAAO1dW3PbOJb+KyxvTVdSJbN18y15st1O4s7accVJ9U7v7ANEQhLGFKkmSCvqqa6a + /7BP+9av+zd6/sn8kv3OAcCbKNlO7Owk8UtKIcGDg3PDuQH+21YoMrH17G9bUylCmWr6OZllW8+2 + 3qmZ3OpsBUkeZ+kSD47tr86WvJZxdi7w/tnWCf3GMxFkuYjw4ND8oC9jLWOda/7W/e5sz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dN6UJPijY67j6ErVJYI+gmGPTrKGUcxmzENnxrmUkNQZQIHaJotW5 + q9LTX+lHWO/DHZur1o6pGHI5NzWLu8pS/6DNnrdB3iRC9tK3gMZrN35UbSjWrOBGUFxzSJCkfM8M + SMYV72KzL0DYE2d25/88zhjh+TD+2H/91tlCtKmpZflZjKk7WxrbX85/9jE9TkI87ne7na0R/T6r + jwzJJaL7IWvPf/vt/wApPGfcRHIAAA== + headers: + Cache-Control: + - max-age=0, no-cache, no-store + Connection: + - keep-alive + Content-Encoding: + - gzip + Content-Length: + - '5893' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 20 Oct 2022 18:46:33 GMT + Expires: + - Thu, 20 Oct 2022 18:46:33 GMT + Pragma: + - no-cache + Server: + - Kestrel + Set-Cookie: + - ak_bmsc=66E26B3D5354D35F69BB2A35FC384AAA~000000000000000000000000000000~YAAQRzorFwsI7tODAQAAUPK39hHbW+IGxqDjqtNWI4KmSqBZCh1ELCFBnk3gYUisgawlVssPoVKJo6SkeZnkTTishyH66GlpiU5aGwkFb0G7biS947dEyjo8mikwX11IVEcD5ekZCPZMsGob+youIlaYcVnbgi5tToA39ITWLqapllFxJDuWEZNjteH6FjBq0gN7WddOjIMmeLy2W5uMr+/998wZDd9c4dCyPbJ6ZX9n7x42lF9yUw+bUm32100+BgNgMtMGu5X2GTh1vfeM0FyWbNjGVaeK+R0exZuuuC/EBii2UqTPVfLIZ68jD33RBiSaNRUvhwj4g5Pex7VCMF+IlJrVcLOp288ep9cRVqyBJF3fOQk8zukLsQ0=; + Domain=.nasdaq.com; Path=/; Expires=Thu, 20 Oct 2022 20:46:33 GMT; Max-Age=7200; + HttpOnly + Strict-Transport-Security: + - max-age=86400 + Vary: + - Accept-Encoding + X-EdgeConnect-MidMile-RTT: + - '18' + - '18' + - '21' + X-EdgeConnect-Origin-MEX-Latency: + - '33' + - '33' + - '33' + gid: + - '103' + lang: + - en + rid: + - 0faf3d9c-d99d-4a72-9de4-e73ef54627bb + srctype: + - default + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, + like Gecko) Chrome/106.0.0.0 Safari/537.36 + method: GET + uri: https://api.nasdaq.com/api/calendar/economicevents?date=2022-10-21 + response: + body: + string: !!binary | + H4sIAAAAAAAAAO1da3PbNhb9KxjNJOvMqIwefqY7O2MpduKmdj12PNl2sx8gEZJQkwQLkHaVTv77 + nguQelCUHSVM4435TabIi4t7z7kvUOO/Gj5PeOPFX42J4L7Qhj6Ow6TxovFWhqLRbAxVGiV6igv9 + 7FOzIW5ElJxxfP+icUSfcY0Pk5QHuHDoPtCTkRGRSY19Nv/cbMRa3EhlL5/nH5sNX5ihlnEiVYQv + Xi789bHZ0OoWt/8nV63VedFqLel2FclE+OyNjMa+Cgsq9pUW7EIkXAbskgfCLKr7NBqY+MeCuj+0 + vO6TZVV/aHu7T1b0XJTKQsFNiqWSiWDDCY/GgsnI/pWohAfshgepYGqEq6OAk4QfuP97akhzYyXw + xN6undQAmwg8dpIwaez1ETYSKoO/I18OeaI0SSPF01BoZmKB69G4yW4ncjhhfGgNZOg5+3zIf1da + JlN6St0IzYOACTyuQjnE3Ym8wZcee4tbrc2iNBxArvhzGKTYNztME5VrGvnsOBVBvlaCpbFNNhAM + gqfsRtEOA+Gxp0Hy40A/fzpOfjxkEzmeCFKGRxAbiyHtXQN6UJuZiUoDn0Qk/FpEjBsWKyOhlng+ + SINAmslsK69657RyIBhngbrdRGYkxtzJFFwXZHpA29+Hsm2vXUTZjteqUbY5yh4LyM7TQQArXmJ9 + yDsTCespjeiIm++FW7vjdVu9Zby1215rt7cCuDuWyfHnsOLL0UhoEQ0tCB30BiK5FbBCDhTrRRkN + VWixxWInfKh0rLQFqGk6NGOfQAsbE2qiEH817bOBGi5dNcxPNQmmh/LNsFBFycRjhzN35sDKYExw + Yo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5dNztlNleADtth887eqkXFPu21FOBjdVtu97dQ1c062m21q6qelA0PvrlRFuZ8fbr7oE + fjcRMGx1WbjjtTZUsfzNVTtbOHxZpWY73l4dr+p49Ujj1eWtTD4ITb99LOXa6+MKuVbP9WuqPV6q + HdL7MzxY+eGTO7q+qjKpddtet2ZazbRHyrSe5h9kUEaz3sXPFZ5I7T74yVJVA132rajGvkOuse+K + bD9xuLmMaz+d/1phStur50p1Snu8KY2895vg6/q0s9+qLB/bB2XjmpprNdceBdcuUuC4tEu7uOot + GbUehdQMqxm2OcPW/raQSHZ0dVHh240P/wX+mmg10Soi2n7x93OvhCbzFWjmrrJeOuCsJ+wfUdW/ + LP7vx2YjFMbwMVaM0iBoNkzCk9T+ExLdVz4ud1qtZmNAn0+X7/TpV74qFnrp+seP/wNYmA6U0mQA + AA== + headers: + Cache-Control: + - max-age=0, no-cache, no-store + Connection: + - keep-alive + Content-Encoding: + - gzip + Content-Length: + - '3364' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 20 Oct 2022 18:46:34 GMT + Expires: + - Thu, 20 Oct 2022 18:46:34 GMT + Pragma: + - no-cache + Server: + - Kestrel + Set-Cookie: + - ak_bmsc=0719927B970E0245FD41673427C9C7DF~000000000000000000000000000000~YAAQRzorFygI7tODAQAAFPO39hFgIBnxZTS9GG0kfRhpb/bHKVouz3B0MFS4yZ9V8udt9yQY/FuHYd2ujPJENY82tIzzEAKOplA+/wUHR+eGK2T3Mqy6bO5XxQP8NCHUyZoKiSBdw8JYs2UlroPy8PyL+z+iU/tLZCD7Wb3qW4Ip2pe9TIO+BACjhRYaJJjIH6vMVezpxYatJnnfFS/ny4O0qPXB3BQqMU00EllC8zGnq/Ukkl9F/ZlYPJdmDtDf1HI3r6SO21/Qdw1V2DgyvNRyiVtCwxJPfDkOQdPo+kLBTSA2VbIezGXANL0qBrITj/W0AYP8SywQnx/8EXhvWrK+jeEZaliXOZ5fi8n5qbVsOIN8wNmRoNfaLQk=; + Domain=.nasdaq.com; Path=/; Expires=Thu, 20 Oct 2022 20:46:33 GMT; Max-Age=7199; + HttpOnly + Strict-Transport-Security: + - max-age=86400 + Vary: + - Accept-Encoding + X-EdgeConnect-MidMile-RTT: + - '0' + - '22' + - '5' + X-EdgeConnect-Origin-MEX-Latency: + - '30' + - '30' + - '30' + gid: + - '103' + lang: + - en + rid: + - c0badbdd-70b5-430c-93e0-f5dad03d815a + srctype: + - default + status: + code: 200 + message: OK +version: 1 diff --git a/tests/openbb_terminal/economy/cassettes/test_nasdaq_view/test_display_economic_calendar_bad_country.yaml b/tests/openbb_terminal/economy/cassettes/test_nasdaq_view/test_display_economic_calendar_bad_country.yaml new file mode 100644 index 000000000000..ba69742b3963 --- /dev/null +++ b/tests/openbb_terminal/economy/cassettes/test_nasdaq_view/test_display_economic_calendar_bad_country.yaml @@ -0,0 +1,292 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, + like Gecko) Chrome/106.0.0.0 Safari/537.36 + method: GET + uri: https://api.nasdaq.com/api/calendar/economicevents?date=2022-10-20 + response: + body: + string: !!binary | + H4sIAAAAAAAAAO1dW3PbOJb+KyxvTVdSJbN18y15st1O4s7accVJ9U7v7ANEQhLGFKkmSCvqqa6a + /7BP+9av+zd6/sn8kv3OAcCbKNlO7Owk8UtKIcGDg3PDuQH+21YoMrH17G9bUylCmWr6OZllW8+2 + 3qmZ3OpsBUkeZ+kSD47tr86WvJZxdi7w/tnWCf3GMxFkuYjw4ND8oC9jLWOda/7W/e5szVN5rRJ+ + fOF+drZCqYNUzTOVxHjxQ+V/v3W20mSB4f/pUOv2n3W7NdwuFyr7VaaRiMMGfu9SrMs7EngVyCqe + Q7/bHRw18Nyu4zfwB/3+0Qp276bSq8H1ZlLoPJXay/AqVOOxTCU9V7F3LaJceiOZLaSMPTWbJ2km + Qw+Y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Kk7WxrbX85/9jE9TkI87ne7na0R/T6r + jwzJJaL7IWvPf/vt/wApPGfcRHIAAA== + headers: + Cache-Control: + - max-age=0, no-cache, no-store + Connection: + - keep-alive + Content-Encoding: + - gzip + Content-Length: + - '5893' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 20 Oct 2022 18:48:13 GMT + Expires: + - Thu, 20 Oct 2022 18:48:13 GMT + Pragma: + - no-cache + Server: + - Kestrel + Set-Cookie: + - ak_bmsc=E1CB78867029094CF04C2736EB58D097~000000000000000000000000000000~YAAQRzorFxs47tODAQAARna59hGawq4xZLB4PODuC5LFcX3d+wZpFbergWOg8KfA4rh96msKtLbc9YpXAHZk/Zd7+C9qSc3+P0PEhR3wNGOJ0lPpQY7SUxPjouJmKaydpqyynwRhy27jMj/hxAZWBGIIRbST9uBXtos0RW5bHseMEQtOc4WF7bWCN4xe2rQ29BfcXbKLlryIQeN4p6FbLiF2Xn5grQJfAiD99Te9GZdHSW1pjRC0hnX/yzoHUk6URgetp6ldZhy81nqLkH5UYYtCAPFv7zoiyU91981uoSxPJcV8ywD6nXLob9Yv6H/A11kwP/JqR7+U6X3ayOsTQ3GsGqdcnSis93Lc99IeQx4kbFjKrzFLCSsnH/4=; + Domain=.nasdaq.com; Path=/; Expires=Thu, 20 Oct 2022 20:48:13 GMT; Max-Age=7200; + HttpOnly + Strict-Transport-Security: + - max-age=86400 + Vary: + - Accept-Encoding + X-EdgeConnect-MidMile-RTT: + - '18' + - '18' + - '21' + X-EdgeConnect-Origin-MEX-Latency: + - '33' + - '33' + - '33' + gid: + - '103' + lang: + - en + rid: + - 0faf3d9c-d99d-4a72-9de4-e73ef54627bb + srctype: + - default + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, + like Gecko) Chrome/106.0.0.0 Safari/537.36 + method: GET + uri: https://api.nasdaq.com/api/calendar/economicevents?date=2022-10-21 + response: + body: + string: !!binary | + H4sIAAAAAAAAAO1da3PbNhb9KxjNJOvMqIwefqY7O2MpduKmdj12PNl2sx8gEZJQkwQLkHaVTv77 + nguQelCUHSVM4435TabIi4t7z7kvUOO/Gj5PeOPFX42J4L7Qhj6Ow6TxovFWhqLRbAxVGiV6igv9 + 7FOzIW5ElJxxfP+icUSfcY0Pk5QHuHDoPtCTkRGRSY19Nv/cbMRa3EhlL5/nH5sNX5ihlnEiVYQv + Xi789bHZ0OoWt/8nV63VedFqLel2FclE+OyNjMa+Cgsq9pUW7EIkXAbskgfCLKr7NBqY+MeCuj+0 + vO6TZVV/aHu7T1b0XJTKQsFNiqWSiWDDCY/GgsnI/pWohAfshgepYGqEq6OAk4QfuP97akhzYyXw + xN6undQAmwg8dpIwaez1ETYSKoO/I18OeaI0SSPF01BoZmKB69G4yW4ncjhhfGgNZOg5+3zIf1da + JlN6St0IzYOACTyuQjnE3Ym8wZcee4tbrc2iNBxArvhzGKTYNztME5VrGvnsOBVBvlaCpbFNNhAM + gqfsRtEOA+Gxp0Hy40A/fzpOfjxkEzmeCFKGRxAbiyHtXQN6UJuZiUoDn0Qk/FpEjBsWKyOhlng+ + SINAmslsK69657RyIBhngbrdRGYkxtzJFFwXZHpA29+Hsm2vXUTZjteqUbY5yh4LyM7TQQArXmJ9 + yDsTCespjeiIm++FW7vjdVu9Zby1215rt7cCuDuWyfHnsOLL0UhoEQ0tCB30BiK5FbBCDhTrRRkN + VWixxWInfKh0rLQFqGk6NGOfQAsbE2qiEH817bOBGi5dNcxPNQmmh/LNsFBFycRjhzN35sDKYExw + YoPUH2M3vhjJoUyaM+/m7ip7BruNg9RU6rU+ByQuxB+pBNcKCbQ8Viz7bcfrdtqrfiNOZeY1bjGS + IQ1MRhQusa+zLU+TCXFWZpwrcZEjbATdh6S7nuu+jIil5YkHwjJWc4lL9GSiVTqe4AZwDT70xSBh + UFSnUWT/VrcRk1A4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rSe5h9kUEaz3sXPFZ5I7T74yVJVA132rajGvkOuse+K + bD9xuLmMaz+d/1phStur50p1Snu8KY2895vg6/q0s9+qLB/bB2XjmpprNdceBdcuUuC4tEu7uOot + GbUehdQMqxm2OcPW/raQSHZ0dVHh240P/wX+mmg10Soi2n7x93OvhCbzFWjmrrJeOuCsJ+wfUdW/ + LP7vx2YjFMbwMVaM0iBoNkzCk9T+ExLdVz4ud1qtZmNAn0+X7/TpV74qFnrp+seP/wNYmA6U0mQA + AA== + headers: + Cache-Control: + - max-age=0, no-cache, no-store + Connection: + - keep-alive + Content-Encoding: + - gzip + Content-Length: + - '3364' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 20 Oct 2022 18:48:13 GMT + Expires: + - Thu, 20 Oct 2022 18:48:13 GMT + Pragma: + - no-cache + Server: + - Kestrel + Set-Cookie: + - ak_bmsc=DBED92E8E5AFAD934662F06642534F17~000000000000000000000000000000~YAAQRzorFyc47tODAQAAlXa59hE3Mw3fKantgXjdf4/9TUoocPhMqVS2SUBu2XB0QqDlbgvi7WpkbAJKDBpSJn4sUZO418kGbxuUqRzywkDOaLvGkLSdlxKeAlMFkyJVIygTZNhgwSuhc6LF0WaNRGdGio+abYOAbNwuu4xgdKKZKj7rDbbhS7Ycs0eP78bLilhrlBoaTe0XNjOqR+lesLGp79047qBF3nGFVkxljATvjqzAGK9wKs9wB9zspmtdXFN3sJU6+Uqlr5cUaLnDKoNNOX+Bk/di4n7oGvOa333hx65Qk0c2iTIxf2O9W4n2NWt1ErgQnH73b83Uxv2D6RbR1a56KOhbcYq4BKXYnARpAkFSne9ECBqOcyw=; + Domain=.nasdaq.com; Path=/; Expires=Thu, 20 Oct 2022 20:48:13 GMT; Max-Age=7200; + HttpOnly + Strict-Transport-Security: + - max-age=86400 + Vary: + - Accept-Encoding + X-EdgeConnect-MidMile-RTT: + - '0' + - '22' + - '5' + X-EdgeConnect-Origin-MEX-Latency: + - '30' + - '30' + - '30' + gid: + - '103' + lang: + - en + rid: + - c0badbdd-70b5-430c-93e0-f5dad03d815a + srctype: + - default + status: + code: 200 + message: OK +version: 1 diff --git a/tests/openbb_terminal/economy/csv/test_nasdaq_model/test_get_economic_calendar.csv b/tests/openbb_terminal/economy/csv/test_nasdaq_model/test_get_economic_calendar.csv new file mode 100644 index 000000000000..912e2ad4df05 --- /dev/null +++ b/tests/openbb_terminal/economy/csv/test_nasdaq_model/test_get_economic_calendar.csv @@ -0,0 +1,35 @@ +,Time (GMT),Country,Event,actual,consensus,previous,Date +0,08:30,United States,Continuing Jobless Claims,"1,385K","1,375K","1,364K",2022-10-20 +1,08:30,United States,Initial Jobless Claims,214K,230K,226K,2022-10-20 +2,08:30,United States,Jobless Claims 4-Week Avg.,212.25K,-,211.00K,2022-10-20 +3,08:30,United States,Philadelphia Fed Manufacturing Index,-8.7,-5.0,-9.9,2022-10-20 +4,08:30,United States,Philly Fed Business Conditions,-14.9,-,-3.9,2022-10-20 +5,08:30,United States,Philly Fed CAPEX Index,4.40,-,4.60,2022-10-20 +6,08:30,United States,Philly Fed Employment,28.5,-,12.0,2022-10-20 +7,08:30,United States,Philly Fed New Orders,-15.9,-,-17.6,2022-10-20 +8,08:30,United States,Philly Fed Prices Paid,36.30,-,29.80,2022-10-20 +9,10:00,United States,Existing Home Sales,-1.5%,-,-0.8%,2022-10-20 +10,10:00,United States,Existing Home Sales,4.71M,4.70M,4.78M,2022-10-20 +11,10:00,United States,US Leading Index,-0.4%,-0.3%,-0.3%,2022-10-20 +12,10:30,United States,Natural Gas Storage,111B,105B,125B,2022-10-20 +13,11:30,United States,4-Week Bill Auction,3.430%,-,3.250%,2022-10-20 +14,11:30,United States,8-Week Bill Auction,3.690%,-,3.480%,2022-10-20 +15,12:00,United States,FOMC Member Harker Speaks,-,-,-,2022-10-20 +16,13:00,United States,5-Year TIPS Auction,-,-,0.362%,2022-10-20 +17,13:30,United States,Fed Governor Jefferson Speaks,-,-,-,2022-10-20 +18,13:45,United States,Fed Governor Cook Speaks,-,-,-,2022-10-20 +19,14:05,United States,FOMC Member Bowman Speaks,-,-,-,2022-10-20 +20,09:10,United States,FOMC Member Williams Speaks,-,-,-,2022-10-21 +21,13:00,United States,U.S. Baker Hughes Oil Rig Count,-,-,610,2022-10-21 +22,13:00,United States,U.S. Baker Hughes Total Rig Count,-,-,769,2022-10-21 +23,15:30,United States,CFTC Aluminium speculative net positions,-,-,7.5K,2022-10-21 +24,15:30,United States,CFTC Copper speculative net positions,-,-,-15.9K,2022-10-21 +25,15:30,United States,CFTC Corn speculative net positions,-,-,325.1K,2022-10-21 +26,15:30,United States,CFTC Crude Oil speculative net positions,-,-,259.2K,2022-10-21 +27,15:30,United States,CFTC Gold speculative net positions,-,-,94.4K,2022-10-21 +28,15:30,United States,CFTC Nasdaq 100 speculative net positions,-,-,8.5K,2022-10-21 +29,15:30,United States,CFTC Natural Gas speculative net positions,-,-,-162.1K,2022-10-21 +30,15:30,United States,CFTC S&P 500 speculative net positions,-,-,-164.1K,2022-10-21 +31,15:30,United States,CFTC Silver speculative net positions,-,-,7.4K,2022-10-21 +32,15:30,United States,CFTC Soybeans speculative net positions,-,-,55.8K,2022-10-21 +33,15:30,United States,CFTC Wheat speculative net positions,-,-,-2.0K,2022-10-21 diff --git a/tests/openbb_terminal/economy/csv/test_nasdaq_model/test_get_economic_calendar_bad_country_name.csv b/tests/openbb_terminal/economy/csv/test_nasdaq_model/test_get_economic_calendar_bad_country_name.csv new file mode 100644 index 000000000000..e16c76dff888 --- /dev/null +++ b/tests/openbb_terminal/economy/csv/test_nasdaq_model/test_get_economic_calendar_bad_country_name.csv @@ -0,0 +1 @@ +"" diff --git a/tests/openbb_terminal/economy/test_economy_controller.py b/tests/openbb_terminal/economy/test_economy_controller.py index 26f35b19d505..ca12f370b433 100644 --- a/tests/openbb_terminal/economy/test_economy_controller.py +++ b/tests/openbb_terminal/economy/test_economy_controller.py @@ -437,10 +437,7 @@ def test_call_func_expect_queue(expected_queue, func, queue): ), ( "call_ycrv", - [ - "--country=portugal", - "--export=csv", - ], + ["--country=portugal", "--export=csv", "--source=Investing"], "investingcom_view.display_yieldcurve", [], dict(country="portugal", export="csv", raw=False), @@ -476,6 +473,43 @@ def test_call_func_expect_queue(expected_queue, func, queue): export="", ), ), + ( + "call_events", + [ + "--export=csv", + "--country=united_states", + "--start=2022-10-20", + "--end=2022-10-21", + "--limit=10", + ], + "nasdaq_view.display_economic_calendar", + [], + dict( + country=["United States"], + start_date="2022-10-20", + end_date="2022-10-21", + export="csv", + limit=10, + ), + ), + ( + "call_events", + [ + "--export=csv", + "--country=united_states", + "--date=2023-10-20", + "--limit=10", + ], + "nasdaq_view.display_economic_calendar", + [], + dict( + country=["United States"], + start_date="2023-10-20", + end_date="2023-10-20", + export="csv", + limit=10, + ), + ), ], ) def test_call_func( diff --git a/tests/openbb_terminal/economy/test_nasdaq_model.py b/tests/openbb_terminal/economy/test_nasdaq_model.py index de4417f74011..808f85ab6d30 100644 --- a/tests/openbb_terminal/economy/test_nasdaq_model.py +++ b/tests/openbb_terminal/economy/test_nasdaq_model.py @@ -39,3 +39,21 @@ def test_get_big_mac_index_no_response(mocker): assert isinstance(result_df, pd.DataFrame) assert result_df.empty + + +@pytest.mark.vcr +def test_get_economic_calendar(recorder): + result_df = nasdaq_model.get_economic_calendar( + ["United States"], start_date="2022-10-20", end_date="2022-10-21" + ) + + recorder.capture(result_df) + + +@pytest.mark.vcr +def test_get_economic_calendar_bad_country_name(recorder): + result_df = nasdaq_model.get_economic_calendar( + "hidhf", start_date="2022-10-20", end_date="2022-10-21" + ) + + recorder.capture(result_df) diff --git a/tests/openbb_terminal/economy/test_nasdaq_view.py b/tests/openbb_terminal/economy/test_nasdaq_view.py index bc3c02350e68..f3444bd0e581 100644 --- a/tests/openbb_terminal/economy/test_nasdaq_view.py +++ b/tests/openbb_terminal/economy/test_nasdaq_view.py @@ -34,3 +34,19 @@ def test_display_big_mac_index(mocker, raw): raw=raw, export="", ) + + +@pytest.mark.vcr +@pytest.mark.record_stdout +def test_display_economic_calendar(): + nasdaq_view.display_economic_calendar( + "United States", start_date="2022-10-20", end_date="2022-10-21", limit=3 + ) + + +@pytest.mark.vcr +@pytest.mark.record_stdout +def test_display_economic_calendar_bad_country(): + nasdaq_view.display_economic_calendar( + "Usrgsthetjerawg", start_date="2022-10-20", end_date="2022-10-21", limit=3 + ) diff --git a/tests/openbb_terminal/economy/txt/test_economy_controller/test_print_help.txt b/tests/openbb_terminal/economy/txt/test_economy_controller/test_print_help.txt index 355bdb023b3e..3ae1b18cdf89 100644 --- a/tests/openbb_terminal/economy/txt/test_economy_controller/test_print_help.txt +++ b/tests/openbb_terminal/economy/txt/test_economy_controller/test_print_help.txt @@ -2,9 +2,9 @@ futures display a futures and commodities overview [WallStreetJournal, Finviz] map S&P500 index stocks map [Finviz] bigmac The Economist Big Mac index [Nasdaq] - ycrv show sovereign yield curves [Investing, FRED] + ycrv show sovereign yield curves [FRED, Investing] spread show bond spread matrix - events show economic calendar [Investing] + events show economic calendar [Nasdaq, Investing] edebt show external debt statistics for various countries [Wikipedia] rtps real-time performance sectors [AlphaVantage] diff --git a/tests/openbb_terminal/economy/txt/test_nasdaq_view/test_display_economic_calendar.txt b/tests/openbb_terminal/economy/txt/test_nasdaq_view/test_display_economic_calendar.txt new file mode 100644 index 000000000000..35a3fed88240 --- /dev/null +++ b/tests/openbb_terminal/economy/txt/test_nasdaq_view/test_display_economic_calendar.txt @@ -0,0 +1,5 @@ + Time (GMT) Country Event actual consensus previous Date +0 08:30 United States Continuing Jobless Claims 1,385K 1,375K 1,364K 2022-10-20 +1 08:30 United States Initial Jobless Claims 214K 230K 226K 2022-10-20 +2 08:30 United States Jobless Claims 4-Week Avg. 212.25K - 211.00K 2022-10-20 + diff --git a/tests/openbb_terminal/economy/txt/test_nasdaq_view/test_display_economic_calendar_bad_country.txt b/tests/openbb_terminal/economy/txt/test_nasdaq_view/test_display_economic_calendar_bad_country.txt new file mode 100644 index 000000000000..703ace79cf96 --- /dev/null +++ b/tests/openbb_terminal/economy/txt/test_nasdaq_view/test_display_economic_calendar_bad_country.txt @@ -0,0 +1 @@ +[red]No data found for Usrgsthetjerawg[/red] diff --git a/website/content/terminal/economy/events/_index.md b/website/content/terminal/economy/events/_index.md index eb02db9de83a..d6b2d1855d4a 100644 --- a/website/content/terminal/economy/events/_index.md +++ b/website/content/terminal/economy/events/_index.md @@ -1,46 +1,70 @@ ``` -usage: events [-c COUNTRY [COUNTRY ...]] [-i {high,medium,low,all}] [--cat {employment,credit,balance,economic_activity,central_banks,bonds,inflation,confidence_index}] - [-s START_DATE] [-e END_DATE] [-h] [--export EXPORT] [--raw] [-l LIMIT] -``` -Economic calendar. If no start or end dates, default is the current day high importance events. +usage: events [-c COUNTRY] [-s START_DATE] [-e END_DATE] [-d SPEC_DATE] [-i {high,medium,low,all}] + [--categories {employment,credit,balance,economic_activity,central_banks,bonds,inflation,confidence_index}] [-h] [--export EXPORT] [--raw] [-l LIMIT] + [--source {Nasdaq,Investing}] + +Economic calendar. If no start or end dates, default is the current day. +Note that using the Nasdaq flag is preferred due to issues with the investing.com api endpoints. ``` optional arguments: - -c COUNTRY [COUNTRY ...], --country COUNTRY [COUNTRY ...] - Display calendar for specific country. (default: united states) - -i {high,medium,low,all}, --importances {high,medium,low,all} - Event importance classified as high, medium, low or all. (default: all) - -cat {employment,credit,balance,economic activity,central banks,bonds,inflation,confidence index} [{employment,credit,balance,economic activity,central banks,bonds,inflation,confidence index} ...], --categories {employment,credit,balance,economic activity,central banks,bonds,inflation,confidence index} [{employment,credit,balance,economic activity,central banks,bonds,inflation,confidence index} ...] - Event category. (default: None) - -s START_DATE, --start_date START_DATE - The start date of the data (format: YEAR-MONTH-DAY, i.e. 2010-12-31) (default: None) - -e END_DATE, --end_date END_DATE - The start date of the data (format: YEAR-MONTH-DAY, i.e. 2010-12-31) (default: None) + -c COUNTRY, --country COUNTRY + Display calendar for specific country. Single countries should be separated with commas.(default: ) + -s START_DATE, --start START_DATE + The start date of the data (format: YEAR-MONTH-DAY, i.e. 2010-12-31) (default: 2022-10-20) + -e END_DATE, --end END_DATE + The start date of the data (format: YEAR-MONTH-DAY, i.e. 2010-12-31) (default: 2022-10-20) + -d SPEC_DATE, --date SPEC_DATE + Get a specific date for events. Overrides start and end dates. (default: None) + -i {high,medium,low,all}, --importance {high,medium,low,all} + [Investing only] Event importance classified as high, medium, low or all. (default: None) + --categories {employment,credit,balance,economic_activity,central_banks,bonds,inflation,confidence_index} + [INVESTING source only] Event category. (default: None) -h, --help show this help message (default: False) --export EXPORT Export raw data into csv, json, xlsx (default: ) --raw Flag to display raw data (default: False) -l LIMIT, --limit LIMIT - Number of entries to show in data. (default: 100) + Number of entries to show in data. (default: 100) + --source {Nasdaq,Investing} + Data source to select from (default: Nasdaq) ``` Example: ``` -2022 Aug 08, 09:41 (๐Ÿฆ‹) /economy/ $ events -c united states -i medium --cat inflation -s 2022-06-15 -e 2022-07-01 +2022 Oct 20, 15:19 (๐Ÿฆ‹) /economy/ $ events -c united_kingdom,spain -s 2022-10-20 -e 2022-11-05 -l 15 - United States economic calendar (GMT +1:00) -โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”ณโ”โ”โ”โ”โ”โ”โ”โ”ณโ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”ณโ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”ณโ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”ณโ”โ”โ”โ”โ”โ”โ”โ”โ”ณโ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”ณโ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”“ -โ”ƒ Date โ”ƒ Time โ”ƒ Currency โ”ƒ Importance โ”ƒ Event โ”ƒ Actual โ”ƒ Forecast โ”ƒ Previous โ”ƒ -โ”กโ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ•‡โ”โ”โ”โ”โ”โ”โ”โ•‡โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ•‡โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ•‡โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ•‡โ”โ”โ”โ”โ”โ”โ”โ”โ•‡โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ•‡โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”ฉ -โ”‚ 2022-06-15 โ”‚ 14:30 โ”‚ USD โ”‚ Medium โ”‚ Export Price Index (MoM) (May) โ”‚ 2.8% โ”‚ 1.3% โ”‚ 0.8% โ”‚ -โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค -โ”‚ 2022-06-15 โ”‚ 14:30 โ”‚ USD โ”‚ Medium โ”‚ Import Price Index (MoM) (May) โ”‚ 0.6% โ”‚ 1.1% โ”‚ 0.4% โ”‚ -โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค -โ”‚ 2022-06-29 โ”‚ 14:30 โ”‚ USD โ”‚ Medium โ”‚ GDP Price Index (QoQ) (Q1) โ”‚ 8.3% โ”‚ 8.1% โ”‚ 8.1% โ”‚ -โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค -โ”‚ 2022-06-30 โ”‚ 14:30 โ”‚ USD โ”‚ Medium โ”‚ Core PCE Price Index (YoY) (May) โ”‚ 4.7% โ”‚ 4.8% โ”‚ 4.9% โ”‚ -โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค -โ”‚ 2022-06-30 โ”‚ 14:30 โ”‚ USD โ”‚ Medium โ”‚ PCE Price index (YoY) (May) โ”‚ 6.3 โ”‚ โ”‚ 6.3 โ”‚ -โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค -โ”‚ 2022-06-30 โ”‚ 14:30 โ”‚ USD โ”‚ Medium โ”‚ PCE price index (MoM) (May) โ”‚ 0.6% โ”‚ โ”‚ 0.2% โ”‚ -โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ + Economic Calendar +โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”ณโ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”ณโ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”ณโ”โ”โ”โ”โ”โ”โ”โ”โ”ณโ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”ณโ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”ณโ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”“ +โ”ƒ Time (GMT) โ”ƒ Country โ”ƒ Event โ”ƒ actual โ”ƒ consensus โ”ƒ previous โ”ƒ Date โ”ƒ +โ”กโ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ•‡โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ•‡โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ•‡โ”โ”โ”โ”โ”โ”โ”โ”โ•‡โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ•‡โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ•‡โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”ฉ +โ”‚ 04:40 โ”‚ Spain โ”‚ Spanish 3-Year Bonos Auction โ”‚ 2.663% โ”‚ - โ”‚ 1.416% โ”‚ 2022-10-20 โ”‚ +โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค +โ”‚ 04:40 โ”‚ Spain โ”‚ Spanish 7-Year Obligacion Auction โ”‚ 3.247% โ”‚ - โ”‚ 1.550% โ”‚ 2022-10-20 โ”‚ +โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค +โ”‚ 19:01 โ”‚ United Kingdom โ”‚ GfK Consumer Confidence โ”‚ - โ”‚ -52 โ”‚ -49 โ”‚ 2022-10-20 โ”‚ +โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค +โ”‚ 02:00 โ”‚ United Kingdom โ”‚ Core Retail Sales โ”‚ - โ”‚ -0.3% โ”‚ -1.6% โ”‚ 2022-10-21 โ”‚ +โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค +โ”‚ 02:00 โ”‚ United Kingdom โ”‚ Core Retail Sales โ”‚ - โ”‚ -4.1% โ”‚ -5.0% โ”‚ 2022-10-21 โ”‚ +โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค +โ”‚ 02:00 โ”‚ United Kingdom โ”‚ Public Sector Net Borrowing โ”‚ - โ”‚ 12.30B โ”‚ 11.06B โ”‚ 2022-10-21 โ”‚ +โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค +โ”‚ 02:00 โ”‚ United Kingdom โ”‚ Public Sector Net Cash Requirement โ”‚ - โ”‚ - โ”‚ 5.321B โ”‚ 2022-10-21 โ”‚ +โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค +โ”‚ 02:00 โ”‚ United Kingdom โ”‚ Retail Sales โ”‚ - โ”‚ -5.0% โ”‚ -5.4% โ”‚ 2022-10-21 โ”‚ +โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค +โ”‚ 02:00 โ”‚ United Kingdom โ”‚ Retail Sales โ”‚ - โ”‚ -0.5% โ”‚ -1.6% โ”‚ 2022-10-21 โ”‚ +โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค +โ”‚ 04:30 โ”‚ United Kingdom โ”‚ BoE Consumer Credit โ”‚ - โ”‚ - โ”‚ 1.077B โ”‚ 2022-10-21 โ”‚ +โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค +โ”‚ 04:30 โ”‚ United Kingdom โ”‚ M4 Money Supply โ”‚ - โ”‚ - โ”‚ -0.2% โ”‚ 2022-10-21 โ”‚ +โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค +โ”‚ 04:30 โ”‚ United Kingdom โ”‚ Mortgage Approvals โ”‚ - โ”‚ 62.00K โ”‚ 74.34K โ”‚ 2022-10-21 โ”‚ +โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค +โ”‚ 04:30 โ”‚ United Kingdom โ”‚ Mortgage Lending โ”‚ - โ”‚ 4.90B โ”‚ 6.14B โ”‚ 2022-10-21 โ”‚ +โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค +โ”‚ 15:30 โ”‚ United Kingdom โ”‚ CFTC GBP speculative net positions โ”‚ - โ”‚ - โ”‚ -39.2K โ”‚ 2022-10-21 โ”‚ +โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค +โ”‚ 14:00 โ”‚ United Kingdom โ”‚ BoE MPC Member Mann โ”‚ - โ”‚ - โ”‚ - โ”‚ 2022-10-22 โ”‚ +โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ ``` From e4e176c2d1074f0e68431a27defff527227491ab Mon Sep 17 00:00:00 2001 From: james Date: Thu, 20 Oct 2022 15:59:28 -0400 Subject: [PATCH 3/4] Comment out 'spread' --- openbb_terminal/economy/economy_controller.py | 5 +++-- .../economy/txt/test_economy_controller/test_print_help.txt | 1 - 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/openbb_terminal/economy/economy_controller.py b/openbb_terminal/economy/economy_controller.py index 8bcf60381ee2..db409b83d768 100644 --- a/openbb_terminal/economy/economy_controller.py +++ b/openbb_terminal/economy/economy_controller.py @@ -69,7 +69,7 @@ class EconomyController(BaseController): "rtps", "bigmac", "ycrv", - "spread", + # "spread", "events", "edebt", ] @@ -388,7 +388,8 @@ def print_help(self): mt.add_cmd("map") mt.add_cmd("bigmac") mt.add_cmd("ycrv") - mt.add_cmd("spread") + # Comment out spread while investpy is donw :() + # mt.add_cmd("spread") mt.add_cmd("events") mt.add_cmd("edebt") mt.add_raw("\n") diff --git a/tests/openbb_terminal/economy/txt/test_economy_controller/test_print_help.txt b/tests/openbb_terminal/economy/txt/test_economy_controller/test_print_help.txt index 3ae1b18cdf89..ce9eefbbb525 100644 --- a/tests/openbb_terminal/economy/txt/test_economy_controller/test_print_help.txt +++ b/tests/openbb_terminal/economy/txt/test_economy_controller/test_print_help.txt @@ -3,7 +3,6 @@ map S&P500 index stocks map [Finviz] bigmac The Economist Big Mac index [Nasdaq] ycrv show sovereign yield curves [FRED, Investing] - spread show bond spread matrix events show economic calendar [Nasdaq, Investing] edebt show external debt statistics for various countries [Wikipedia] From 5ccd485e637cf80b973903178a672dbdd6899fd3 Mon Sep 17 00:00:00 2001 From: james Date: Fri, 21 Oct 2022 08:51:49 -0400 Subject: [PATCH 4/4] list to List --- openbb_terminal/economy/nasdaq_model.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/openbb_terminal/economy/nasdaq_model.py b/openbb_terminal/economy/nasdaq_model.py index be0ab68bf1f8..d0c1b5b22de2 100644 --- a/openbb_terminal/economy/nasdaq_model.py +++ b/openbb_terminal/economy/nasdaq_model.py @@ -84,7 +84,7 @@ def get_economic_calendar( @log_start_end(log=logger) -def check_country_code_type(list_of_codes: str) -> list[str]: +def check_country_code_type(list_of_codes: str) -> List[str]: """Check that codes are valid for NASDAQ API""" nasdaq_codes = list( pd.read_csv(os.path.join(os.path.dirname(__file__), "NASDAQ_CountryCodes.csv"))[ @@ -103,7 +103,7 @@ def check_country_code_type(list_of_codes: str) -> list[str]: @log_start_end(log=logger) -def get_country_codes() -> list[str]: +def get_country_codes() -> List[str]: """Get available country codes for Bigmac index Returns @@ -162,7 +162,7 @@ def get_big_mac_index(country_code: str = "USA") -> pd.DataFrame: @log_start_end(log=logger) @check_api_key(["API_KEY_QUANDL"]) -def get_big_mac_indices(country_codes: list[str] = None) -> pd.DataFrame: +def get_big_mac_indices(country_codes: List[str] = None) -> pd.DataFrame: """Display Big Mac Index for given countries Parameters