bank_of_thailand 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. checksums.yaml +7 -0
  2. data/.yardopts +8 -0
  3. data/CHANGELOG.md +15 -0
  4. data/LICENSE.txt +21 -0
  5. data/README.md +293 -0
  6. data/Rakefile +12 -0
  7. data/docs/openapi_spec/average-exchange-rate-thb--foreign-currency-2_0_2.json +778 -0
  8. data/docs/openapi_spec/botlicensecheckapi-1_0_2.json +122 -0
  9. data/docs/openapi_spec/debt-securities-auction-result-current-2_0_0.json +201 -0
  10. data/docs/openapi_spec/debt-securities-auction-result-current_2.0.0.json +201 -0
  11. data/docs/openapi_spec/deposit-interest-rates-for-individuals-of-commercial-banks-percent-per-annum-2_0_0.json +354 -0
  12. data/docs/openapi_spec/financial-institutions-holidays-1_0_1.json +98 -0
  13. data/docs/openapi_spec/interbank-transaction-rates-percent-per-annum-2_0_0.json +224 -0
  14. data/docs/openapi_spec/loan-interest-rates-of-commercial-banks-percent-per-annum-2_0_0.json +335 -0
  15. data/docs/openapi_spec/search-series_1.0.0.json +177 -0
  16. data/docs/openapi_spec/swap-point-onshore-in-satangs-2_0_0.json +196 -0
  17. data/docs/openapi_spec/thai-baht-implied-interest-rates-percent-per-annum-2_0_0.json +182 -0
  18. data/docs/openapi_spec/weighted-average-interbank-exchange-rate-thb--usd-2_0_1.json +546 -0
  19. data/lib/bank_of_thailand/client.rb +188 -0
  20. data/lib/bank_of_thailand/configuration.rb +88 -0
  21. data/lib/bank_of_thailand/errors.rb +46 -0
  22. data/lib/bank_of_thailand/resource.rb +34 -0
  23. data/lib/bank_of_thailand/resources/average_exchange_rate.rb +81 -0
  24. data/lib/bank_of_thailand/resources/deposit_rate.rb +46 -0
  25. data/lib/bank_of_thailand/resources/exchange_rate.rb +103 -0
  26. data/lib/bank_of_thailand/resources/financial_holidays.rb +30 -0
  27. data/lib/bank_of_thailand/resources/implied_rate.rb +39 -0
  28. data/lib/bank_of_thailand/resources/interbank_rate.rb +39 -0
  29. data/lib/bank_of_thailand/resources/interest_rate.rb +49 -0
  30. data/lib/bank_of_thailand/resources/loan_rate.rb +45 -0
  31. data/lib/bank_of_thailand/resources/search_series.rb +37 -0
  32. data/lib/bank_of_thailand/resources/statistics.rb +80 -0
  33. data/lib/bank_of_thailand/resources/swap_point.rb +38 -0
  34. data/lib/bank_of_thailand/version.rb +5 -0
  35. data/lib/bank_of_thailand.rb +56 -0
  36. data/sig/bank_of_thailand.rbs +4 -0
  37. metadata +211 -0
@@ -0,0 +1,354 @@
1
+ {
2
+ "openapi": "3.0.1",
3
+ "info": {
4
+ "title": "Deposit Interest Rates for Individuals of Commercial Banks (Percent per annum)",
5
+ "description": "",
6
+ "version": "2.0.0",
7
+ "x-ibm-name": "deposit-interest-rates-for-individuals-of-commercial-banks-percent-per-annum"
8
+ },
9
+ "servers": [
10
+ {
11
+ "url": "https://gateway.api.bot.or.th/DepositRate/v2"
12
+ }
13
+ ],
14
+ "security": [
15
+ {
16
+ "clientIdHeader": []
17
+ }
18
+ ],
19
+ "paths": {
20
+ "/deposit_rate/": {
21
+ "get": {
22
+ "description": "Deposit Interest Rates for Individuals of Commercial Banks (Percent per annum) <br> <br> Refers to the announced deposit interest rate for individual of commercial banks, classified by deposit type such as saving and fixed term deposit <br> Frequency : Daily <br> Lag time : -- <br> Release schedule : Every business day at 2.00 p.m. <br> Source of data : Commercial Banks registered in Thailand and Foreign Bank Branches <br> More detail [CLICK](https://www.bot.or.th/english/statistics/financialmarkets/interestrate/_layouts/application/interest_rate/in_rate.aspx)",
23
+ "parameters": [
24
+ {
25
+ "name": "start_period",
26
+ "in": "query",
27
+ "description": "Start Period Date (YYYY-MM-DD) EX. 2017-06-30",
28
+ "required": true,
29
+ "schema": {
30
+ "type": "string"
31
+ }
32
+ },
33
+ {
34
+ "name": "end_period",
35
+ "in": "query",
36
+ "description": "End Preiod Date (YYYY-MM-DD) EX. 2017-06-30",
37
+ "required": true,
38
+ "schema": {
39
+ "type": "string"
40
+ }
41
+ }
42
+ ],
43
+ "responses": {
44
+ "200": {
45
+ "description": "200 OK",
46
+ "content": {
47
+ "application/json": {
48
+ "schema": {
49
+ "$ref": "#/components/schemas/Deposit%20Interest%20Rates%20for%20Individuals%20of%20Commercial%20Banks%20(Percent%20per%20annum)%20Response%20Parameters"
50
+ }
51
+ }
52
+ }
53
+ }
54
+ }
55
+ }
56
+ },
57
+ "/avg_deposit_rate/": {
58
+ "get": {
59
+ "description": "Min-Max Deposit Interest Rates for Individuals of Commercial Banks (Percent per annum) <br> <br> Refers to the announced deposit interest rate for individual of commercial banks, classified by deposit type such as saving and fixed term deposit <br> Frequency : Daily <br> Lag time : -- <br> Release schedule : Every business day at 2.00 p.m. <br> Source of data : Commercial Banks registered in Thailand and Foreign Bank Branches <br> More detail [CLICK](https://www.bot.or.th/english/statistics/financialmarkets/interestrate/_layouts/application/interest_rate/in_rate.aspx)",
60
+ "parameters": [
61
+ {
62
+ "name": "start_period",
63
+ "in": "query",
64
+ "description": "Start Period Date (YYYY-MM-DD) EX. 2017-06-30",
65
+ "required": true,
66
+ "schema": {
67
+ "type": "string"
68
+ }
69
+ },
70
+ {
71
+ "name": "end_period",
72
+ "in": "query",
73
+ "description": "End Preiod Date (YYYY-MM-DD) EX. 2017-06-30",
74
+ "required": true,
75
+ "schema": {
76
+ "type": "string"
77
+ }
78
+ }
79
+ ],
80
+ "responses": {
81
+ "200": {
82
+ "description": "200 OK",
83
+ "content": {
84
+ "application/json": {
85
+ "schema": {
86
+ "$ref": "#/components/schemas/Min-Max%20Deposit%20Interest%20Rates%20for%20Individuals%20of%20Commercial%20Banks%20(Percent%20per%20annum)%20Response%20Parameters"
87
+ }
88
+ }
89
+ }
90
+ }
91
+ }
92
+ }
93
+ }
94
+ },
95
+ "components": {
96
+ "schemas": {
97
+ "Deposit Interest Rates for Individuals of Commercial Banks (Percent per annum) Response Parameters": {
98
+ "type": "object",
99
+ "properties": {
100
+ "result": {
101
+ "type": "object",
102
+ "properties": {
103
+ "api": {
104
+ "type": "string",
105
+ "example": "Deposit Interest Rates for Individuals of Commercial Banks (Percent per annum)"
106
+ },
107
+ "timestamp": {
108
+ "type": "string",
109
+ "example": "2017-07-12 11:05:13"
110
+ },
111
+ "data": {
112
+ "type": "object",
113
+ "properties": {
114
+ "data_detail": {
115
+ "type": "object",
116
+ "properties": {
117
+ "period": {
118
+ "type": "string"
119
+ },
120
+ "bank_type_name_th": {
121
+ "type": "string"
122
+ },
123
+ "bank_type_name_eng": {
124
+ "type": "string"
125
+ },
126
+ "bank_name_th": {
127
+ "type": "string"
128
+ },
129
+ "bank_name_eng": {
130
+ "type": "string"
131
+ },
132
+ "saving_min": {
133
+ "type": "string"
134
+ },
135
+ "saving_max": {
136
+ "type": "string"
137
+ },
138
+ "fix_3_mths_min": {
139
+ "type": "string"
140
+ },
141
+ "fix_3_mths_max": {
142
+ "type": "string"
143
+ },
144
+ "fix_6_mths_min": {
145
+ "type": "string"
146
+ },
147
+ "fix_6_mths_max": {
148
+ "type": "string"
149
+ },
150
+ "fix_12_mths_min": {
151
+ "type": "string"
152
+ },
153
+ "fix_12_mths_max": {
154
+ "type": "string"
155
+ },
156
+ "fix_24_mths_min": {
157
+ "type": "string"
158
+ },
159
+ "fix_24_mths_max": {
160
+ "type": "string"
161
+ }
162
+ },
163
+ "example": [
164
+ {
165
+ "period": "2015-02-13",
166
+ "bank_type_name_th": "ธนาคารพาณิชย์จดทะเบียนในประเทศ",
167
+ "bank_type_name_eng": "Commercial Banks registered in Thailand",
168
+ "bank_name_th": "ไทยพาณิชย์",
169
+ "bank_name_eng": "The Siam Commercial Bank",
170
+ "saving_min": "0.5000",
171
+ "saving_max": "0.5000",
172
+ "fix_3_mths_min": "1.1000",
173
+ "fix_3_mths_max": "1.9000",
174
+ "fix_6_mths_min": "1.3500",
175
+ "fix_6_mths_max": "1.4000",
176
+ "fix_12_mths_min": "1.7000",
177
+ "fix_12_mths_max": "1.7000",
178
+ "fix_24_mths_min": "1.9000",
179
+ "fix_24_mths_max": "1.9000"
180
+ },
181
+ {
182
+ "period": "2015-02-13",
183
+ "bank_type_name_th": "ธนาคารพาณิชย์จดทะเบียนในประเทศ",
184
+ "bank_type_name_eng": "Commercial Banks registered in Thailand",
185
+ "bank_name_th": "กรุงศรีอยุธยา",
186
+ "bank_name_eng": "Bank of Ayudhya",
187
+ "saving_min": "0.4000",
188
+ "saving_max": "0.4000",
189
+ "fix_3_mths_min": "1.1000",
190
+ "fix_3_mths_max": "1.2500",
191
+ "fix_6_mths_min": "1.3500",
192
+ "fix_6_mths_max": "1.5000",
193
+ "fix_12_mths_min": "1.7500",
194
+ "fix_12_mths_max": "1.7500",
195
+ "fix_24_mths_min": "1.9000",
196
+ "fix_24_mths_max": "1.9000"
197
+ },
198
+ {
199
+ "period": "2015-02-13",
200
+ "bank_type_name_th": "สาขาธนาคารต่างประเทศ",
201
+ "bank_type_name_eng": "Foreign Bank Branches",
202
+ "bank_name_th": "ซิตี้แบงก์",
203
+ "bank_name_eng": "Citibank",
204
+ "saving_min": "0.5000",
205
+ "saving_max": "0.5000",
206
+ "fix_3_mths_min": "1.1000",
207
+ "fix_3_mths_max": "1.1000",
208
+ "fix_6_mths_min": "1.2000",
209
+ "fix_6_mths_max": "1.2000",
210
+ "fix_12_mths_min": "1.3000",
211
+ "fix_12_mths_max": "1.3000",
212
+ "fix_24_mths_min": "1.4000",
213
+ "fix_24_mths_max": "1.4000"
214
+ }
215
+ ]
216
+ }
217
+ }
218
+ }
219
+ }
220
+ }
221
+ },
222
+ "description": ""
223
+ },
224
+ "Min-Max Deposit Interest Rates for Individuals of Commercial Banks (Percent per annum) Response Parameters": {
225
+ "type": "object",
226
+ "properties": {
227
+ "result": {
228
+ "type": "object",
229
+ "properties": {
230
+ "api": {
231
+ "type": "string",
232
+ "example": "Min-Max Deposit Interest Rates for Individuals of Commercial Banks (Percent per annum)"
233
+ },
234
+ "timestamp": {
235
+ "type": "string",
236
+ "example": "2017-07-24 16:41:36"
237
+ },
238
+ "data": {
239
+ "type": "object",
240
+ "properties": {
241
+ "data_detail": {
242
+ "type": "object",
243
+ "properties": {
244
+ "period": {
245
+ "type": "string"
246
+ },
247
+ "name_th": {
248
+ "type": "string"
249
+ },
250
+ "name_eng": {
251
+ "type": "string"
252
+ },
253
+ "saving_min": {
254
+ "type": "string"
255
+ },
256
+ "saving_max": {
257
+ "type": "string"
258
+ },
259
+ "fix_3_mths_min": {
260
+ "type": "string"
261
+ },
262
+ "fix_3_mths_max": {
263
+ "type": "string"
264
+ },
265
+ "fix_6_mths_min": {
266
+ "type": "string"
267
+ },
268
+ "fix_6_mths_max": {
269
+ "type": "string"
270
+ },
271
+ "fix_12_mths_min": {
272
+ "type": "string"
273
+ },
274
+ "fix_12_mths_max": {
275
+ "type": "string"
276
+ },
277
+ "fix_24_mths_min": {
278
+ "type": "string"
279
+ },
280
+ "fix_24_mths_max": {
281
+ "type": "string"
282
+ }
283
+ },
284
+ "example": [
285
+ {
286
+ "period": "2016-04-04",
287
+ "name_th": "ต่ำสุด - สูงสุดของ ธนาคารพาณิชย์จดทะเบียนในประเทศ",
288
+ "name_eng": "Min-Max of Commercial Banks registered in Thailand",
289
+ "saving_min": "0.0500",
290
+ "saving_max": "2.5000",
291
+ "fix_3_mths_min": "0.2500",
292
+ "fix_3_mths_max": "1.7500",
293
+ "fix_6_mths_min": "0.2500",
294
+ "fix_6_mths_max": "1.8000",
295
+ "fix_12_mths_min": "0.2500",
296
+ "fix_12_mths_max": "1.9000",
297
+ "fix_24_mths_min": "1.1000",
298
+ "fix_24_mths_max": "2.0000"
299
+ },
300
+ {
301
+ "period": "2016-04-04",
302
+ "name_th": "ต่ำสุด - สูงสุดของ สาขาธนาคารต่างประเทศ",
303
+ "name_eng": "Min-Max of Foreign Bank Branches",
304
+ "saving_min": "0.0000",
305
+ "saving_max": "1.1000",
306
+ "fix_3_mths_min": "0.0000",
307
+ "fix_3_mths_max": "1.8000",
308
+ "fix_6_mths_min": "0.0000",
309
+ "fix_6_mths_max": "1.9000",
310
+ "fix_12_mths_min": "0.0000",
311
+ "fix_12_mths_max": "2.0000",
312
+ "fix_24_mths_min": "0.9500",
313
+ "fix_24_mths_max": "2.0000"
314
+ }
315
+ ]
316
+ }
317
+ }
318
+ }
319
+ }
320
+ }
321
+ },
322
+ "description": ""
323
+ }
324
+ },
325
+ "parameters": {
326
+ "start_period": {
327
+ "name": "start_period",
328
+ "in": "query",
329
+ "description": "Start Period Date (YYYY-MM-DD) EX. 2017-06-30",
330
+ "required": true,
331
+ "schema": {
332
+ "type": "string"
333
+ }
334
+ },
335
+ "end_period": {
336
+ "name": "end_period",
337
+ "in": "query",
338
+ "description": "End Preiod Date (YYYY-MM-DD) EX. 2017-06-30",
339
+ "required": true,
340
+ "schema": {
341
+ "type": "string"
342
+ }
343
+ }
344
+ },
345
+ "securitySchemes": {
346
+ "clientIdHeader": {
347
+ "type": "apiKey",
348
+ "name": "Authorization",
349
+ "in": "header"
350
+ }
351
+ }
352
+ },
353
+ "x-original-swagger-version": "2.0"
354
+ }
@@ -0,0 +1,98 @@
1
+ {
2
+ "openapi": "3.0.1",
3
+ "info": {
4
+ "title": "Financial Institutions’ Holidays",
5
+ "version": "1.0.1",
6
+ "x-ibm-name": "financial-institutions-holidays"
7
+ },
8
+ "servers": [
9
+ {
10
+ "url": "https://gateway.api.bot.or.th/financial-institutions-holidays"
11
+ }
12
+ ],
13
+ "security": [
14
+ {
15
+ "X-IBM-Client-Id": []
16
+ }
17
+ ],
18
+ "tags": [],
19
+ "paths": {
20
+ "/": {
21
+ "get": {
22
+ "parameters": [
23
+ {
24
+ "name": "year",
25
+ "in": "query",
26
+ "description": "Year in format YYYY (eg. 2018)",
27
+ "required": true,
28
+ "schema": {
29
+ "type": "string"
30
+ }
31
+ }
32
+ ],
33
+ "responses": {
34
+ "200": {
35
+ "description": "200 OK",
36
+ "content": {
37
+ "application/json": {
38
+ "schema": {
39
+ "$ref": "#/components/schemas/Response%20Parameters"
40
+ }
41
+ }
42
+ }
43
+ }
44
+ }
45
+ }
46
+ }
47
+ },
48
+ "components": {
49
+ "schemas": {
50
+ "Response Parameters": {
51
+ "type": "array",
52
+ "items": {
53
+ "type": "object",
54
+ "properties": {
55
+ "HolidayWeekDay": {
56
+ "type": "string",
57
+ "description": "ชื่อวันของสัปดาห์",
58
+ "example": "Monday"
59
+ },
60
+ "HolidayWeekDayThai": {
61
+ "type": "string",
62
+ "description": "ชื่อวันของสัปดาห์(ภาษาไทย)",
63
+ "example": "วันจันทร์"
64
+ },
65
+ "Date": {
66
+ "type": "string",
67
+ "description": "วันที่",
68
+ "example": "2018-01-01"
69
+ },
70
+ "DateThai": {
71
+ "type": "string",
72
+ "description": "วันที่ภาษาไทย (รูปแบบ วว/ดด/ปป)",
73
+ "example": "01/01/2561"
74
+ },
75
+ "HolidayDescription": {
76
+ "type": "string",
77
+ "description": "คำอธิบายภาษาอังกฤษ",
78
+ "example": "New Year’s Day"
79
+ },
80
+ "HolidayDescriptionThai": {
81
+ "type": "string",
82
+ "description": "คำอธิบายภาษาไทย",
83
+ "example": "วันขึ้นปีใหม่"
84
+ }
85
+ }
86
+ }
87
+ }
88
+ },
89
+ "securitySchemes": {
90
+ "X-IBM-Client-Id": {
91
+ "type": "apiKey",
92
+ "name": "Authorization",
93
+ "in": "header"
94
+ }
95
+ }
96
+ },
97
+ "x-original-swagger-version": "2.0"
98
+ }
@@ -0,0 +1,224 @@
1
+ {
2
+ "openapi": "3.0.1",
3
+ "info": {
4
+ "title": "Interbank Transaction Rates (Percent per annum)",
5
+ "description": "Interbank transactions rates are classified by lending period (tenor) such as Overnight (O/N) , Tom/Next , Overnight Forward Start , At Call and Fixed Term. <br>\nLag time : 1 business day <br>\nRelease schedule : every business day at 10.00 a.m. <br> \nSource of data :\n1. All commercial banks\n2. Export-Import Bank of Thailand , The Government Savings Bank , Bank for Agricultue and Agricultural Cooperatives , Small and Medium Enterprise Development Bank of Thailand , The Government Housing Bank and Islamic Bank of Thailand <br>\n3. All finance companies <br>\nMore detail [CLICK](https://app.bot.or.th/BTWS_STAT/statistics/DownloadFile.aspx?file=FM_RT_007_ENG.PDF)",
6
+ "version": "2.0.0",
7
+ "x-ibm-name": "interbank-transaction-rates-percent-per-annum"
8
+ },
9
+ "servers": [
10
+ {
11
+ "url": "https://gateway.api.bot.or.th/Stat-InterbankTransactionRate/v2/INTRBNK_TXN_RATE"
12
+ }
13
+ ],
14
+ "security": [
15
+ {
16
+ "clientIdHeader": []
17
+ }
18
+ ],
19
+ "paths": {
20
+ "/": {
21
+ "get": {
22
+ "parameters": [
23
+ {
24
+ "name": "start_period",
25
+ "in": "query",
26
+ "description": "Start Period Date (YYYY-MM-DD) EX. 2017-06-30",
27
+ "required": true,
28
+ "schema": {
29
+ "type": "string"
30
+ }
31
+ },
32
+ {
33
+ "name": "end_period",
34
+ "in": "query",
35
+ "description": "End Preiod Date (YYYY-MM-DD) EX. 2017-06-30",
36
+ "required": true,
37
+ "schema": {
38
+ "type": "string"
39
+ }
40
+ },
41
+ {
42
+ "name": "term_type",
43
+ "in": "query",
44
+ "description": "term Type EX. O/N",
45
+ "schema": {
46
+ "type": "string"
47
+ }
48
+ }
49
+ ],
50
+ "responses": {
51
+ "200": {
52
+ "description": "200 OK",
53
+ "content": {
54
+ "application/json": {
55
+ "schema": {
56
+ "$ref": "#/components/schemas/Response%20Parameters"
57
+ }
58
+ }
59
+ }
60
+ }
61
+ }
62
+ }
63
+ }
64
+ },
65
+ "components": {
66
+ "schemas": {
67
+ "Response Parameters": {
68
+ "type": "object",
69
+ "properties": {
70
+ "result": {
71
+ "type": "object",
72
+ "properties": {
73
+ "api": {
74
+ "type": "string",
75
+ "example": "Interbank Transaction Rates (Percent per annum)"
76
+ },
77
+ "timestamp": {
78
+ "type": "string",
79
+ "example": "2017-07-24 16:37:42"
80
+ },
81
+ "data": {
82
+ "type": "object",
83
+ "properties": {
84
+ "data_header": {
85
+ "type": "object",
86
+ "properties": {
87
+ "report_name_eng": {
88
+ "type": "string",
89
+ "example": "Interbank Transactions"
90
+ },
91
+ "report_name_th": {
92
+ "type": "string",
93
+ "example": "ธุรกรรมการกู้ยืมระหว่างธนาคาร"
94
+ },
95
+ "report_uoq_name_eng": {
96
+ "type": "string",
97
+ "example": ""
98
+ },
99
+ "report_uoq_name_th": {
100
+ "type": "string",
101
+ "example": ""
102
+ },
103
+ "report_source_of_data": {
104
+ "type": "array",
105
+ "items": {
106
+ "type": "array",
107
+ "example": ""
108
+ }
109
+ },
110
+ "report_remark": {
111
+ "type": "object",
112
+ "properties": {
113
+ "report_remark_eng": {
114
+ "type": "string"
115
+ },
116
+ "report_remark_th": {
117
+ "type": "string"
118
+ }
119
+ },
120
+ "example": [
121
+ {
122
+ "report_remark_eng": "",
123
+ "report_remark_th": ""
124
+ },
125
+ {
126
+ "report_remark_eng": "",
127
+ "report_remark_th": ""
128
+ },
129
+ {
130
+ "report_remark_eng": "",
131
+ "report_remark_th": ""
132
+ },
133
+ {
134
+ "report_remark_eng": "",
135
+ "report_remark_th": ""
136
+ },
137
+ {
138
+ "report_remark_eng": "",
139
+ "report_remark_th": ""
140
+ },
141
+ {
142
+ "report_remark_eng": "",
143
+ "report_remark_th": ""
144
+ },
145
+ {
146
+ "report_remark_eng": "",
147
+ "report_remark_th": ""
148
+ },
149
+ {
150
+ "report_remark_eng": "Overnight Forward Start transaction data start on August,1 2016 onward",
151
+ "report_remark_th": "ธุรกรรม Overnight Forward Start เริ่มรายงานข้อมูลตั้งแต่วันที่ 1 สิงหาคม 2559 เป็นต้นไป "
152
+ }
153
+ ]
154
+ },
155
+ "last_updated": {
156
+ "type": "string",
157
+ "example": "2017-07-24"
158
+ }
159
+ }
160
+ },
161
+ "data_detail": {
162
+ "type": "object",
163
+ "properties": {
164
+ "period": {
165
+ "type": "string"
166
+ },
167
+ "term_type_name_th": {
168
+ "type": "string"
169
+ },
170
+ "term_type_name_eng": {
171
+ "type": "string"
172
+ },
173
+ "min_interest_rate": {
174
+ "type": "string"
175
+ },
176
+ "max_interest_rate": {
177
+ "type": "string"
178
+ },
179
+ "mode_interest_rate": {
180
+ "type": "string"
181
+ },
182
+ "weighted_average_interest_rate": {
183
+ "type": "string"
184
+ }
185
+ },
186
+ "example": [
187
+ {
188
+ "period": "2014-10-28",
189
+ "term_type_name_th": "O/N",
190
+ "term_type_name_eng": "O/N",
191
+ "min_interest_rate": "1.90000",
192
+ "max_interest_rate": "2.02000",
193
+ "mode_interest_rate": "1.90000",
194
+ "weighted_average_interest_rate": "1.94169"
195
+ },
196
+ {
197
+ "period": "2014-10-27",
198
+ "term_type_name_th": "O/N",
199
+ "term_type_name_eng": "O/N",
200
+ "min_interest_rate": "1.90000",
201
+ "max_interest_rate": "2.00000",
202
+ "mode_interest_rate": "1.90000",
203
+ "weighted_average_interest_rate": "1.94973"
204
+ }
205
+ ]
206
+ }
207
+ }
208
+ }
209
+ }
210
+ }
211
+ },
212
+ "description": ""
213
+ }
214
+ },
215
+ "securitySchemes": {
216
+ "clientIdHeader": {
217
+ "type": "apiKey",
218
+ "name": "Authorization",
219
+ "in": "header"
220
+ }
221
+ }
222
+ },
223
+ "x-original-swagger-version": "2.0"
224
+ }