-
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.
feature/usd-liquidity-index: Adds USD Liquidity Index to Economy menu (…
…#5174) * add USD Liquidity Index to Economy menu * mypy * add screenshots to Terminal Economy Intro * add test to test_fred_model * add Broad US Dollar Index to list of comparables * docs pages update * fix test_nasdaq_model * ask obb indexing * return just the calculated series by default * a grid for Squares * raw table output --------- Co-authored-by: James Maslek <[email protected]> Co-authored-by: martinb-bb <[email protected]>
- Loading branch information
1 parent
be2af59
commit 8df31f8
Showing
24 changed files
with
15,949 additions
and
1,450 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
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
30 changes: 30 additions & 0 deletions
30
openbb_terminal/miscellaneous/gpt_index/data/economy_usdli.txt
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,30 @@ | ||
parent_command:economy | ||
usage: usdli [-o {SP500,CBBTCUSD,CBETHUSD,DJCA,DJIA,DJTA,DJUA,NASDAQCOM,NASDAQ100,WILL2500PR,WILL2500PRGR,WILL2500INDGR,WILL2500PRVAL,WILL2500INDVAL,WILL4500PR,WILL5000PR,WILL5000PRFC,WILLLRGCAP,WILLLRGCAPPR,WILLLRGCAPGRPR,WILLLRGCAPVALPR,WILLMIDCAP,WILLMIDCAPPR,WILLMIDCAPGRPR,WILLMIDCAPVALPR,WILLSMLCAP,WILLSMLCAPPR,WILLSMLCAPGR,WILLSMLCAPVAL,WILLMICROCAP,WILLREITIND,WILLRESIPR,DTWEXBGS}] | ||
[-s] [-h] [--export EXPORT] [--sheet-name SHEET_NAME [SHEET_NAME ...]] [--raw] | ||
|
||
The USD Liquidity Index is defined as: [WALCL - WLRRAL - WDTGAL]. It is expressed in billions of USD. | ||
|
||
options: | ||
-o {SP500,CBBTCUSD,CBETHUSD,DJCA,DJIA,DJTA,DJUA,NASDAQCOM,NASDAQ100,WILL2500PR,WILL2500PRGR,WILL2500INDGR,WILL2500PRVAL,WILL2500INDVAL,WILL4500PR,WILL5000PR,WILL5000PRFC,WILLLRGCAP,WILLLRGCAPPR,WILLLRGCAPGRPR,WILLLRGCAPVALPR,WILLMIDCAP,WILLMIDCAPPR,WILLMIDCAPGRPR,WILLMIDCAPVALPR,WILLSMLCAP,WILLSMLCAPPR,WILLSMLCAPGR,WILLSMLCAPVAL,WILLMICROCAP,WILLREITIND,WILLRESIPR,DTWEXBGS}, --overlay {SP500,CBBTCUSD,CBETHUSD,DJCA,DJIA,DJTA,DJUA,NASDAQCOM,NASDAQ100,WILL2500PR,WILL2500PRGR,WILL2500INDGR,WILL2500PRVAL,WILL2500INDVAL,WILL4500PR,WILL5000PR,WILL5000PRFC,WILLLRGCAP,WILLLRGCAPPR,WILLLRGCAPGRPR,WILLLRGCAPVALPR,WILLMIDCAP,WILLMIDCAPPR,WILLMIDCAPGRPR,WILLMIDCAPVALPR,WILLSMLCAP,WILLSMLCAPPR,WILLSMLCAPGR,WILLSMLCAPVAL,WILLMICROCAP,WILLREITIND,WILLRESIPR,DTWEXBGS} | ||
The equity index to compare against. Set `show = True` for the list of choices. (default: SP500) | ||
-s, --show Show the list of available equity indices to overlay. (default: False) | ||
-h, --help show this help message (default: False) | ||
--export EXPORT Export raw data into csv, json, xlsx and figure into png, jpg, pdf, svg (default: ) | ||
--sheet-name SHEET_NAME [SHEET_NAME ...] | ||
Name of excel sheet to save data to. Only valid for .xlsx files. (default: None) | ||
--raw Flag to display raw data (default: False) | ||
|
||
For more information and examples, use 'about usdli' to access the related guide. | ||
|
||
|
||
Examples: | ||
- display the USD Liquidity Index along with the S&P 500 Index:economy/usdli -o SP500 | ||
- show the list of available equity indices to overlay with the USD Liquidity Index:economy/usdli --show | ||
- display the USD Liquidity Index along with the NASDAQ Composite Index:economy/usdli -o NASDAQCOM | ||
- display the USD Liquidity Index along with the Dow Jones Industrial Average (DJIA):economy/usdli --overlay DJIA | ||
- export raw data of the USD Liquidity Index to a JSON file:economy/usdli --export data.json --raw | ||
- export raw data of the USD Liquidity Index and overlay with NASDAQ 100 Index into an Excel file with a custom sheet name:economy/usdli -o NASDAQ100 --export data.xlsx --sheet-name LiquidityData --raw | ||
- display the USD Liquidity Index compared against the Dow Jones Composite Average (DJCA) Index:economy/usdli --overlay DJCA | ||
- export a graph of the USD Liquidity Index and overlay with the Wilshire 5000 Index to a PNG image:economy/usdli -o WILL5000PR --export graph.png | ||
- display raw data of the USD Liquidity Index:economy/usdli --raw | ||
- export raw data of the USD Liquidity Index with an overlay of the Coinbase Bitcoin to USD (CBBTCUSD) index into a CSV file:economy/usdli -o CBBTCUSD --export data.csv --raw |
2 changes: 1 addition & 1 deletion
2
openbb_terminal/miscellaneous/gpt_index/index_0.3.json/docstore.json
Large diffs are not rendered by default.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
openbb_terminal/miscellaneous/gpt_index/index_0.3.json/index_store.json
Large diffs are not rendered by default.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
openbb_terminal/miscellaneous/gpt_index/index_0.3.json/vector_store.json
Large diffs are not rendered by default.
Oops, something went wrong.
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.