Files
OpenBB/website/versioned_docs/version-v3/sdk/reference/ta/ema.md
Theodore Aptekarev f72bc8ccec Add Versioned Documentation (#5470)
* Adding versioning to docs

---------

Co-authored-by: andrewkenreich <andrew.kenreich@gmail.com>
Co-authored-by: tehcoderer <me@tehcoderer.com>
2023-09-29 11:49:05 +02:00

750 B
Vendored

title, description
title description
ema OpenBB SDK Function

ema

Gets exponential moving average (EMA) for stock

Source Code: [link]

openbb.ta.ema(data: pd.Series, length: int = 50, offset: int = 0)

Parameters

Name Type Description Default Optional
data pd.Series Dataframe of dates and prices None False
length int Length of EMA window 50 True
offset int Length of offset 0 True

Returns

Type Description
pd.DataFrame Dataframe containing prices and EMA