mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-28 13:01:38 +00:00
Interest rates and spread matrix command - economy menu (#2799)
* add matrix command * start heatmap * connect to investpy * add heatmap to command * add title * finetune decimals * add maturity and change options * 1 decimal on change matrix * be explicit about images location * colorize warning * add docs to website * prettify * specify decimal places * fix issue with controller * remove frame * remove comments * add more groups * wrong group name fix * change command name to spread * missed website * add docstrings * change api path to spread * ignore flake8 * add some colors * codespell * func name * rewrite expected * website help * add unit tests * flake8 * fix tests * mypy * rewrite test * pylint * fix integration tests * fix integration tests * fix ycrv website info * add doctring to create matrix * openbb to default * clean warning * update defaults * add spread to main yml * forgot openbb here Co-authored-by: James Maslek <jmaslek11@gmail.com>
This commit is contained in:
15
scripts/test_economy.openbb
vendored
15
scripts/test_economy.openbb
vendored
@@ -12,17 +12,22 @@ futures -c grains --source Finviz
|
||||
futures -c softs --source Finviz
|
||||
map
|
||||
bigmac -c USA,ESP,LVA,DEU,FRA,FIN
|
||||
ycrv
|
||||
ycrv --source FRED --date 2022-10-03 --raw
|
||||
events
|
||||
events --country united states -i high --cat employment -s 2022-07-07 -e 2022-07-08
|
||||
spread
|
||||
spread --group PIIGS --color binary
|
||||
spread --countries portugal,spain,italy,united states --maturity 5Y --change=True --color openbb
|
||||
macro
|
||||
macro -sp
|
||||
macro -sc
|
||||
macro -p RGDP CPI
|
||||
macro -p URATE -c Netherlands Germany
|
||||
fred -q treasury
|
||||
fred -p T10Y2Y FII10 -s 2005-01-01
|
||||
index -i nasdaq dowjones sp500 -s 2005-01-01
|
||||
macro -p URATE -c Netherlands Germany -s 2005-01-01 -st
|
||||
index -i stoxx50 -s 2005-01-01 -st
|
||||
plot -y1 Netherlands_URATE Germany_URATE -y2 stoxx50
|
||||
macro -p URATE -c Netherlands Germany -s 2005-01-01
|
||||
index -i sp500 -s 2005-01-01
|
||||
plot --y1 Netherlands_URATE Germany_URATE --y2 sp500
|
||||
rtps
|
||||
valuation
|
||||
performance
|
||||
|
||||
Reference in New Issue
Block a user