mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-30 13:13:59 +00:00
* Name the documented parameters the signatures define Three Parameters entries name arguments the code does not accept. - OptionsChainsProperties.strategies takes `synthetic_longs` and `synthetic_shorts`; the entries called them `synthetic_long` and `synthetic_short`, so the documented keywords raise TypeError. The singular names belong to the sibling methods on the same class, which is likely where they came from. - ChartStyle.__init__ documented a `console_style` argument. It takes `plt_style` and `user_styles_directory` only. Docstrings only, no behaviour change. * Document the defaults the signatures actually use Three documented defaults in openbb_figure.py contradict the signature. - add_trend's `secondary_y` is `bool = False` and was documented as None, which is not a value it accepts. - add_inchart_volume's `row` defaults to 1, not 2. Its sibling `col` already documents 1 correctly. - add_corr_plot's `max_lag` defaults to 20, not 15. Docstrings only, no behaviour change. add_histplot also documents "by default 15" for `bins`, which is correct and is left alone. --------- Co-authored-by: dlee-bq <dlee@brightquery.com>