Skip to main content
Version: v5

trades

Every reported trade for a bond, across its full history.

Examples​

from openbb import obb
# Reported bond trades.
obb.tmx.fixedincome.trades(cusip='135087U28', provider='tmx')

Parameters​

country: str | None
The country to get data. Matches partial name.

isin: str | None
ISIN of the bond.

issuer_type: str | None
Type of bond issuer.

notional_currency: str | None

Description

Currency of the bond, which might differ from the currency of the trade.
Formatted as the 3-letter ISO 4217 code (e.g. GBP, EUR, USD).

start_date: date | str | None | str
Start date of the data, in YYYY-MM-DD format. YYYY-MM-DD or ISO-8601 format. E.g. 2023-01-14T10:55:00Z

end_date: date | str | None | str
End date of the data, in YYYY-MM-DD format. YYYY-MM-DD or ISO-8601 format. E.g. 2023-01-14T10:55:00Z


Returns​

results: TmxBondTrades

Serializable results.

provider: str | None

Provider name.

warnings: Optional[list[Warning_]]

List of warnings.

chart: Optional[Chart]

Chart object.

extra: dict[str, Any]

Extra info.


Data​

trade_date: date | datetime | None
Date of the transaction.

isin: str | None
ISIN of the bond.

figi: str | None
FIGI of the bond.

cusip: str | None
CUSIP of the bond.

price: float | None
Price of the bond.

current_yield: float | None
Current yield of the bond.

coupon_rate: float | None
Coupon rate of the bond.

volume: int | None
The trading volume.