--- title: beta description: OpenBB Terminal Function --- # beta Displays a scatter plot demonstrating the beta of two stocks or ETFs. ### Usage ```python beta [-r REF] ``` --- ## Parameters | Name | Description | Default | Optional | Choices | | ---- | ----------- | ------- | -------- | ------- | | ref | Reference ticker used for beta calculation. | SPY | True | None | ![beta](https://user-images.githubusercontent.com/62662248/180587175-5e548915-0d3e-44cf-bbff-3655d51e1d64.png) ---