mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-30 05:52:23 +00:00
COMPARISON ANALYSIS
This menu aims to compare a pre-loaded stock with similar companies, and the usage of the following commands along with an example will be exploited below.
- get
- get similar companies [Polygon]
- select
- select similar companies
- historical
- historical data comparison [Yahoo Finance]
- corr
- correlation between similar companies [Yahoo Finance]
get
get
Get similar companies to compare with. [Source: Polygon]
select
usage: select [-s L_SIMILAR]
Select similar companies, e.g. NIO,XPEV,LI
- -s : similar companies to compare with
historical
usage: historical [-s L_SIMILAR] [-a L_ALSO] [-t TYPE_CANDLE]
Historical price comparison between similar companies [Source: Yahoo Finance]
- -s : similar companies to compare with. Default pre-loaded ones.
- -a : apart from loaded similar companies also compare with.
- -t : type of candles: o-open, h-high, l-low, c-close, a-adjusted close. Default 'a'.
corr
usage: corr [-s L_SIMILAR] [-a L_ALSO] [-t TYPE_CANDLE]
Historical price comparison between similar companies [Source: Yahoo Finance]
- -s : similar companies to compare with. Default pre-loaded ones.
- -a : apart from loaded similar companies also compare with.
- -t : type of candles: o-open, h-high, l-low, c-close, a-adjusted close. Default 'a'.

