Skip to content

Commit

Permalink
Adds shroom command and removes old ones (#4246)
Browse files Browse the repository at this point in the history
* fix: remove old commands

* fix: ruff

* fix: ruff

* fix: james suggestions

* fix: added to csv

* fix: generate sdk cmds

* bump pywry

* fix rm command (#4890)

Co-authored-by: Henrique Joaquim <[email protected]>

* Fix `crypto/defi/anchor` (#4892)

* handle defi anchor exceptions

* reason

* mypy

---------

Co-authored-by: Henrique Joaquim <[email protected]>

* fix windows pyinstaller subprocess fail if space in path

* remove API_IEX_TOKEN

* remove API_SENTIMENTINVESTOR_TOKEN

* make -h actually work

* black ./

---------

Co-authored-by: James Maslek <[email protected]>
Co-authored-by: teh_coderer <[email protected]>
Co-authored-by: montezdesousa <[email protected]>
Co-authored-by: Henrique Joaquim <[email protected]>
  • Loading branch information
5 people authored Apr 28, 2023
1 parent 5f04749 commit c603a36
Show file tree
Hide file tree
Showing 33 changed files with 1,500 additions and 5,674 deletions.
2 changes: 2 additions & 0 deletions openbb_terminal/core/sdk/controllers/crypto_sdk_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,8 @@ def onchain(self):
`lt_chart`: Prints table showing Trades on Decentralized Exchanges aggregated by DEX or Month\n
`prices`: Get token historical prices with volume and market cap, and average price. [Source: Ethplorer]\n
`prices_chart`: Display token historical prices with volume and market cap, and average price.\n
`query`: Get query data\n
`query_chart`: Display query results from shroom\n
`query_graph`: Helper methods for querying graphql api. [Source: https://bitquery.io/]\n
`th`: Get info about token historical transactions. [Source: Ethplorer]\n
`th_chart`: Display info about token history. [Source: Ethplorer]\n
Expand Down
4 changes: 4 additions & 0 deletions openbb_terminal/core/sdk/models/crypto_sdk_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,8 @@ class CryptoOnChain(Category):
`lt_chart`: Prints table showing Trades on Decentralized Exchanges aggregated by DEX or Month\n
`prices`: Get token historical prices with volume and market cap, and average price. [Source: Ethplorer]\n
`prices_chart`: Display token historical prices with volume and market cap, and average price.\n
`query`: Get query data\n
`query_chart`: Display query results from shroom\n
`query_graph`: Helper methods for querying graphql api. [Source: https://bitquery.io/]\n
`th`: Get info about token historical transactions. [Source: Ethplorer]\n
`th_chart`: Display info about token history. [Source: Ethplorer]\n
Expand Down Expand Up @@ -497,6 +499,8 @@ def __init__(self):
self.prices_chart = (
lib.crypto_onchain_ethplorer_view.display_token_historical_prices
)
self.query = lib.crypto_onchain_shroom_model.get_query_data
self.query_chart = lib.crypto_onchain_shroom_view.display_query
self.query_graph = lib.crypto_onchain_bitquery_model.query_graph
self.th = lib.crypto_onchain_ethplorer_model.get_token_history
self.th_chart = lib.crypto_onchain_ethplorer_view.display_token_history
Expand Down
1 change: 1 addition & 0 deletions openbb_terminal/core/sdk/models/forecast_sdk_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ def __init__(self):

if not lib.FORECASTING_TOOLKIT_ENABLED:
# pylint: disable=C0415

from openbb_terminal.rich_config import console

console.print(lib.FORECASTING_TOOLKIT_WARNING)
Expand Down
1 change: 1 addition & 0 deletions openbb_terminal/core/sdk/models/portfolio_sdk_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ def __init__(self):

if not lib.OPTIMIZATION_TOOLKIT_ENABLED:
# pylint: disable=C0415

from openbb_terminal.rich_config import console

console.print(lib.OPTIMIZATION_TOOLKIT_WARNING)
Expand Down
Loading

0 comments on commit c603a36

Please sign in to comment.