-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add mutual funds to sdk * add docstring returns * mypy * remove avanza * add historical chart * split funcs * revert po controller * revert forecast sdk controller * revert forecsat * revert changes to forecast * redo po * remove .md files * pylint * why these md gone? * pagesize to limit * missed this one * country default US * default on load not on search --------- Co-authored-by: James Maslek <jmaslek11@gmail.com>
- Loading branch information
1 parent
aa8bc16
commit b01dbf1
Showing
10 changed files
with
313 additions
and
113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# ######### THIS FILE IS AUTO GENERATED - ANY CHANGES WILL BE VOID ######### # | ||
# flake8: noqa | ||
# pylint: disable=C0301,R0902,R0903 | ||
from openbb_terminal.core.sdk.sdk_helpers import Category | ||
import openbb_terminal.core.sdk.sdk_init as lib | ||
|
||
|
||
class FundsRoot(Category): | ||
"""Mutual Funds Module | ||
Attributes: | ||
`carbon`: Search mstarpy for carbon metrics\n | ||
`exclusion`: Search mstarpy exclusion policy in esgData\n | ||
`historical`: Get historical fund, category, index price\n | ||
`historical_chart`: Display historical fund, category, index price\n | ||
`holdings`: Search mstarpy for holdings\n | ||
`load`: Search mstarpy for matching funds\n | ||
`search`: Search mstarpy for matching funds\n | ||
`sector`: Get fund, category, index sector breakdown\n | ||
`sector_chart`: Display fund, category, index sector breakdown\n | ||
""" | ||
|
||
_location_path = "funds" | ||
|
||
def __init__(self): | ||
super().__init__() | ||
self.carbon = lib.funds_mstarpy_model.load_carbon_metrics | ||
self.exclusion = lib.funds_mstarpy_model.load_exclusion_policy | ||
self.historical = lib.funds_mstarpy_model.get_historical | ||
self.historical_chart = lib.funds_mstarpy_view.display_historical | ||
self.holdings = lib.funds_mstarpy_model.load_holdings | ||
self.load = lib.funds_mstarpy_model.load_funds | ||
self.search = lib.funds_mstarpy_model.search_funds | ||
self.sector = lib.funds_mstarpy_model.get_sector | ||
self.sector_chart = lib.funds_mstarpy_view.display_sector |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.