Class: BankOfThailand::Resources::DebtSecurities
- Inherits:
-
BankOfThailand::Resource
- Object
- BankOfThailand::Resource
- BankOfThailand::Resources::DebtSecurities
- Defined in:
- lib/bank_of_thailand/resources/interest_rate.rb
Overview
Debt Securities Auction Result (Current)
Provides the result of debt securities auctions including government bonds, corporate bonds, and other debt instruments.
Constant Summary collapse
- BASE_URL =
Base URL for this API (overrides the global base URL)
"https://gateway.api.bot.or.th/BondAuction/bond_auction_v2"
Instance Attribute Summary
Attributes inherited from BankOfThailand::Resource
Instance Method Summary collapse
-
#auction_results(start_period:, end_period:) ⇒ Hash
Get debt securities auction results.
Methods inherited from BankOfThailand::Resource
Constructor Details
This class inherits a constructor from BankOfThailand::Resource
Instance Method Details
#auction_results(start_period:, end_period:) ⇒ Hash
Note:
Response includes additional information since September 29, 2017:
- Classification of Financial Instrument code (cfi_code)
- Auction Status (auction_st)
Get debt securities auction results
30 31 32 33 34 35 36 |
# File 'lib/bank_of_thailand/resources/interest_rate.rb', line 30 def auction_results(start_period:, end_period:) get_with_base_url( "#{BASE_URL}/", start_period: start_period, end_period: end_period ) end |