Primary Dealer Fails
Implementation details
Class names
| Model name | Parameters class | Data class |
|---|---|---|
PrimaryDealerFails | PrimaryDealerFailsQueryParams | PrimaryDealerFailsData |
Import Statement
from openbb_core.provider.standard_models.primary_dealer_fails import (
PrimaryDealerFailsData,
PrimaryDealerFailsQueryParams,
)
Parameters
- standard
- federal_reserve
start_date: date | str
Start date of the data, in YYYY-MM-DD format.
end_date: date | str
End date of the data, in YYYY-MM-DD format.
start_date: date | str
Start date of the data, in YYYY-MM-DD format.
end_date: date | str
End date of the data, in YYYY-MM-DD format.
asset_class: Literal['all', 'treasuries', 'tips', 'agency', 'mbs', 'corporate']
Default: all
Asset class to return, default is 'all'.
unit: Literal['value', 'percent']
Default: value
Unit of the data returned to the 'value' field. Default is 'value', which represents millions of USD. 'percent' returns data as the percentage of the total fails-to-receive and fails-to-deliver, by asset class.
Data
- standard
- federal_reserve
date: date | str
The date of the data.
symbol: str
Symbol representing the entity requested in the data.
date: date | str
The date of the data.
symbol: str
Symbol representing the entity requested in the data.
title: str
Title of the series' symbol.
value: Union[int, float]
Value of the data returned, in millions of USD if the unit parameter is 'value' else a normalized percent.