obv
Calculate the On Balance Volume (OBV).
Is a cumulative total of the up and down volume. When the close is higher than the previous close, the volume is added to the running total, and when the close is lower than the previous close, the volume is subtracted from the running total.
To interpret the OBV, look for the OBV to move with the price or precede price moves. If the price moves before the OBV, then it is a non-confirmed move. A series of rising peaks, or falling troughs, in the OBV indicates a strong trend. If the OBV is flat, then the market is not trending.
Parameters
- standard
data
: list[openbb_core.provider.abstract.data.Data]
list of data to apply the indicator to.
• Optional: False
index
: str
Index column name, by default 'date'
• Default: date
• Optional: True
offset
: int
How many periods to offset the result, by default 0.
• Optional: True
Returns
results
: list[Data]
Serializable results.
provider
: None
Provider name.
warnings
: Optional[list[Warning_]]
list of warnings.
chart
: Optional[Chart]
Chart object.
extra
: dict[str, Any]
Extra info.