Files
OpenBB/website/content/api/forex/candle/_index.md
Colin Delahunty 0b33cb45f8 Adds auto yaml generation (#2587)
* Began working on docs creator

* Added fixes

* More

* More

* Adding autogen_try.py for OpenBB API doc generation

* OpenBB API docs gen try

* Fixed

* Added fixes

* Added fixes

* subs -> sub

* Updated docs

* Updated docs

Co-authored-by: Chavithra PARANA <chavithra@gmail.com>
2022-09-23 16:43:34 +01:00

550 B
Vendored

Get underlying data

forex.candle(data: pandas.core.frame.DataFrame, to_symbol: str = '', from_symbol: str = '', ma: Optional[Iterable[int]] = None, external_axes: Optional[List[matplotlib.axes._axes.Axes]] = None)

Show candle plot for fx data.

Parameters
----------
data : pd.DataFrame
    Loaded fx historical data
to_symbol : str
    To forex symbol
from_symbol : str
    From forex symbol
external_axes: Optional[List[plt.Axes]]
    External axes (1 axis is expected in the list), by default None