diff --git a/gamestonk_terminal/oanda/fx_news.py b/gamestonk_terminal/oanda/fx_news.py deleted file mode 100644 index 4faf11dd54f..00000000000 --- a/gamestonk_terminal/oanda/fx_news.py +++ /dev/null @@ -1,19 +0,0 @@ -import requests -import pandas as pd -from bs4 import BeautifulSoup -from gamestonk_terminal.helper_funcs import get_user_agent - - -def daily_fx_news(): - daily_fx_url = "https://www.dailyfx.com/market-news/articles" - daily_fx_soup = BeautifulSoup( - requests.get(daily_fx_url, headers={"User-Agent": get_user_agent()}).text, - "lxml", - ) - daily_fx_news_header_list = list() - for daily_fx_news_header in daily_fx_soup.findAll("a", {"class": "dfx-articleListItem jsdfx-articleListItem d-flex mb-3"}): - daily_fx_news_header_list.append( - daily_fx_news_header.text.strip("\n").split("\n")) - print(daily_fx_news_header) - -