Class: Brapi::Models::V2::TreasuryBond
- Inherits:
-
Brapi::Model
- Object
- Brapi::Model
- Brapi::Models::V2::TreasuryBond
- Defined in:
- lib/brapi/models/v2/treasury_bond.rb
Overview
Single Tesouro Direto bond as returned by /api/v2/treasury/list and /api/v2/treasury/indicators (both endpoints share the same shape).
buyRate / sellRate semantics depend on the bond’s indexer — see TreasuryRateInfo#rate_type / #description.
Instance Attribute Summary
Attributes inherited from Brapi::Model
Method Summary
Methods inherited from Brapi::Model
#==, #[], attribute, attribute_specs, camelize, from_h, #hash, #initialize, #to_h
Constructor Details
This class inherits a constructor from Brapi::Model