mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-28 13:01:38 +00:00
* small changes - moving provider inside the core * uptade readme * lint * remove old provider readme * leftovers * refactor website examples * ruff * fix nox * relock * fix fails_to_deliver headers * fix for tests that have renamed endpoints * fix discovery * removed test for renamed endpoint * fix broken syntax - test_search_financial_attributes * fix cash/income/balance * fix derivatives tests * fix etf tests * fix news tests * fix regulators * black * wrong test param * sort equity gainers/losers by percent * platform markdown generation import * Hotfix/fix int tests core merge (#5779) * removing tests on old endpoint * removing visualization on old endpoint * fixing equity tests * fixing examples * fix news tests * fix index test * example * add comments * example --------- Co-authored-by: Diogo Sousa <montezdesousa@gmail.com> --------- Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com> Co-authored-by: Diogo Sousa <montezdesousa@gmail.com> Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com> Co-authored-by: Pratyush Shukla <ps4534@nyu.edu>
3.5 KiB
Vendored
3.5 KiB
Vendored
title, description
| title | description |
|---|---|
| Equity Info | OpenBB Platform Data Model |
import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem';
Implementation details
Class names
| Model name | Parameters class | Data class |
|---|---|---|
EquityInfo |
EquityInfoQueryParams |
EquityInfoData |
Import Statement
from openbb_core.provider.standard_models.equity_info import (
EquityInfoData,
EquityInfoQueryParams,
)
Parameters
| Name | Type | Description | Default | Optional |
|---|---|---|---|---|
| symbol | Union[str, List[str]] | Symbol to get data for. | False | |
| provider | Literal['cboe'] | The provider to use for the query, by default None. If None, the provider specified in defaults is selected or 'cboe' if there is no default. | cboe | True |
Data
| Name | Type | Description |
|---|---|---|
| symbol | str | Symbol representing the entity requested in the data. |
| name | str | Name associated with the ticker symbol. |
| price | float | Last transaction price. |
| open | float | The open price. |
| high | float | The high price. |
| low | float | The low price. |
| close | float | The close price. |
| change | float | Change in price over the current trading period. |
| change_percent | float | Percent change in price over the current trading period. |
| prev_close | float | Previous closing price. |
| Name | Type | Description |
|---|---|---|
| symbol | str | Symbol representing the entity requested in the data. |
| name | str | Name associated with the ticker symbol. |
| price | float | Last transaction price. |
| open | float | The open price. |
| high | float | The high price. |
| low | float | The low price. |
| close | float | The close price. |
| change | float | Change in price over the current trading period. |
| change_percent | float | Percent change in price over the current trading period. |
| prev_close | float | Previous closing price. |
| type | str | Type of asset. |
| exchange_id | int | The Exchange ID number. |
| tick | str | Whether the last sale was an up or down tick. |
| bid | float | Current bid price. |
| bid_size | float | Bid lot size. |
| ask | float | Current ask price. |
| ask_size | float | Ask lot size. |
| volume | float | Stock volume for the current trading day. |
| iv30 | float | The 30-day implied volatility of the stock. |
| iv30_change | float | Change in 30-day implied volatility of the stock. |
| last_trade_timestamp | datetime | Last trade timestamp for the stock. |
| iv30_annual_high | float | The 1-year high of implied volatility. |
| hv30_annual_high | float | The 1-year high of realized volatility. |
| iv30_annual_low | float | The 1-year low of implied volatility. |
| hv30_annual_low | float | The 1-year low of realized volatility. |
| iv60_annual_high | float | The 60-day high of implied volatility. |
| hv60_annual_high | float | The 60-day high of realized volatility. |
| iv60_annual_low | float | The 60-day low of implied volatility. |
| hv60_annual_low | float | The 60-day low of realized volatility. |
| iv90_annual_high | float | The 90-day high of implied volatility. |
| hv90_annual_high | float | The 90-day high of realized volatility. |