Skip to main content

otc

Get the weekly aggregate trade data for Over The Counter deals.

ATS and non-ATS trading data for each ATS/firm with trade reporting obligations under FINRA rules.

Example​

from openbb import obb
obb.equity.darkpool.otc()
# Get OTC data for a symbol
obb.equity.darkpool.otc(symbol='AAPL')

Parameters​

NameTypeDescriptionDefaultOptional
symbolstrSymbol to get data for.NoneTrue
providerLiteral['finra']The provider to use for the query, by default None. If None, the provider specified in defaults is selected or 'finra' if there is no default.finraTrue

Returns​

OBBject
results : List[OTCAggregate]
Serializable results.

provider : Optional[Literal['finra']]
Provider name.

warnings : Optional[List[Warning_]]
List of warnings.

chart : Optional[Chart]
Chart object.

extra : Dict[str, Any]
Extra info.

Data​

NameTypeDescription
update_datedateMost recent date on which total trades is updated based on data received from each ATS/OTC.
share_quantityfloatAggregate weekly total number of shares reported by each ATS for the Symbol.
trade_quantityfloatAggregate weekly total number of trades reported by each ATS for the Symbol