Files
OpenBB/routines/comparison_demo.openbb
Jeroen Bouma f7f16b2597 Add in Portfolio Optimization, Dark Pools, Discovery and Comparison Guides (#1887)
* commit

* commit

* Corrected typo in the index list, and added Thailand, Philippines, Wilshire US Large Cap Growth and Value, MOVE Index

* update to index list

* commit

* commit

* Corrected typo in the index list, and added Thailand, Philippines, Wilshire US Large Cap Growth and Value, MOVE Index

* guides: behavioural anaylsis & trading hours

* linter

* Add in Portfolio Optimization, Dark Pools, Discovery and Comparison Guides

* Update _index.md

* Update _index.md

* Update _index.md

* Remove images

* Some small improvements

* Update _index.md

* Add GIF

* ABC

* Add files via upload

* Fix small mistake

* Remove installer explanation since it is better documented in Hugo

* Small fix

Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>
Co-authored-by: james <jmaslek11@gmail.com>
2022-05-31 18:20:12 +01:00

53 lines
1011 B
Plaintext
Vendored

# Select location folder to export data to (if doesn't exist, will be created by default)
# export didier_analysis_on_$ARGV[0]
# Go into the stocks context
stocks
# Load a ticker that's given as a first argument of the routine
load WMT
# Go into the Comparison Analysis Menu
ca
# Get similar companies
getfinnhub
getfinviz
getpoly
# Remove and add a ticker
rmv JCP
add SHOP
# Show a correlation matrix with different periods.
hcorr
hcorr -s 2022-01-01
# Compare valuations
valuation
# Compare performance
performance
# Sentiment of companaies over the last ten days
sentiment
# Chart the NASDAQ 100 Index with futures contracts
..
..
stocks
ca
set ^NDX,NQH23.CME,NQZ22.CME,NQ=F
historical -s 2022-01-01
# Show the price-normalized history of S&P, NASDAQ, and Bitcoin futures
set ES=F,NQ=F,BTC=F
historical -n
# Compare financial statements of the ten largest US Banks
set C,USB,WFC,JPM,TD,GS,PNC,TFC,BAC,COF
cashflow
income
# Take the list of similar companies to the Portfolio Optimization Menu
po