From ac90547f9dca4a0e7c4073e5cedb49d2b6e524fe Mon Sep 17 00:00:00 2001 From: taiyeoguns Date: Wed, 2 Nov 2022 15:30:06 +0000 Subject: [PATCH] remove funds overview (#3209) * remove funds overview * remove fund overview from menu and choices Co-authored-by: Henrique Joaquim Co-authored-by: James Maslek --- openbb_terminal/miscellaneous/i18n/en.yml | 1 - openbb_terminal/mutual_funds/mutual_fund_controller.py | 2 -- website/content/terminal/funds/_index.md | 10 +++++----- website/data/menu/main.yml | 4 ---- 4 files changed, 5 insertions(+), 12 deletions(-) diff --git a/openbb_terminal/miscellaneous/i18n/en.yml b/openbb_terminal/miscellaneous/i18n/en.yml index 434e788027f..2e97954dcb8 100644 --- a/openbb_terminal/miscellaneous/i18n/en.yml +++ b/openbb_terminal/miscellaneous/i18n/en.yml @@ -851,7 +851,6 @@ en: forex/oanda/positionbook: print positionbook funds/country: set a country for filtering funds/_country: Current Country - funds/overview: overview of top funds by country funds/search: search for Mutual Funds funds/load: load historical fund data funds/_fund: Current Fund diff --git a/openbb_terminal/mutual_funds/mutual_fund_controller.py b/openbb_terminal/mutual_funds/mutual_fund_controller.py index b60a1a3d500..0ceb73c77ab 100644 --- a/openbb_terminal/mutual_funds/mutual_fund_controller.py +++ b/openbb_terminal/mutual_funds/mutual_fund_controller.py @@ -42,7 +42,6 @@ class FundController(BaseController): "resources", "country", "search", - "overview", "info", "load", "plot", @@ -133,7 +132,6 @@ class FundController(BaseController): mt.add_raw("\n") mt.add_param("_country", self.country.title()) mt.add_raw("\n") - mt.add_cmd("overview") mt.add_cmd("search") mt.add_cmd("load") mt.add_raw("\n") diff --git a/website/content/terminal/funds/_index.md b/website/content/terminal/funds/_index.md index ffdf5055dd3..274ad2f9905 100644 --- a/website/content/terminal/funds/_index.md +++ b/website/content/terminal/funds/_index.md @@ -1,12 +1,12 @@ --- title: Introduction to Funds keywords: "funds, mutual funds, fund, basket, retail, institutional" -excerpt: "The Introduction to Funds explains how to use the +excerpt: "The Introduction to Funds explains how to use the menu and provides a brief description of its sub-menus" geekdocCollapseSection: true --- The Funds menu enables you to lookup any fund based on the selected country by using -overview and search. Then, there is the ability to load in the symbol with load. +search. Then, there is the ability to load in the symbol with load. This opens up options to look into fund information, sector holdings and equity holdings as well as plot the historical data. @@ -16,7 +16,7 @@ The Funds menu is called upon by typing `funds` which opens the following menu: ![Funds Menu](https://user-images.githubusercontent.com/46355364/174990788-3b432068-f303-4548-b9b5-0cb158e62628.png) -You have the ability to look up any fund (overview or search). With the example below, the `search` command is used that searches the name and description of the fund. Then the search query is entered which is `total market`. Lastly, the `-l` argument is included which refers to `limit` and is maxed to `10` funds. +You have the ability to look up any fund (search). With the example below, the `search` command is used that searches the name and description of the fund. Then the search query is entered which is `total market`. Lastly, the `-l` argument is included which refers to `limit` and is maxed to `10` funds. ```` 2022 Jun 22, 04:20 (🦋) /funds/ $ search total market -l 10 @@ -59,7 +59,7 @@ which shows a chart for the defined period (by default set to a year by `load`): ![Plot](https://user-images.githubusercontent.com/46355364/174990848-8f0be3b3-945b-4e4d-801a-5a6a036b62c0.png) -By calling `?` or `help` the Funds menu re-appears. Here you can see that multiple commands have turned blue. Because of loading +By calling `?` or `help` the Funds menu re-appears. Here you can see that multiple commands have turned blue. Because of loading a symbol, these commands can now be used in combination with the chosen symbol as seen above. ![Funds Menu with Fund Loaded](https://user-images.githubusercontent.com/46355364/174990913-0a4e69bd-30d6-4a7f-adda-b921cfb21076.png) @@ -141,7 +141,7 @@ the `search` command where we specify with `-l` we wish to see `15` funds max. Here, we decide to grab a corporate bond fund, Western Asset Corporate Bond Fund Class A (SIGAX) by loading in the data with load. Also, a larger period is chosen by using `-s` as shown in the documentation: -```` +```` 2022 Jun 22, 04:58 (🦋) /funds/ $ load SIGAX -s 2015-01-01 Name: Western Asset Corporate Bond Fund Class A found for SIGAX in country: United States. ```` diff --git a/website/data/menu/main.yml b/website/data/menu/main.yml index 0caf48c2d0c..0ade561101b 100644 --- a/website/data/menu/main.yml +++ b/website/data/menu/main.yml @@ -848,8 +848,6 @@ main: ref: /terminal/funds/info - name: load ref: /terminal/funds/load - - name: overview - ref: /terminal/funds/overview - name: plot ref: /terminal/funds/plot - name: search @@ -2397,8 +2395,6 @@ main: sub: - name: info ref: /SDK/funds/info - - name: overview - ref: /SDK/funds/overview - name: search ref: /SDK/funds/search - name: futures