kabustation_client 1.0.0 → 1.2.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.
data/docs/WalletApi.md CHANGED
@@ -16,7 +16,7 @@ All URIs are relative to *http://localhost:18080/kabusapi*
16
16
 
17
17
  ## wallet_cash_get
18
18
 
19
- > <WalletCashSuccess> wallet_cash_get(x_api_key)
19
+ > <WalletCashSuccess> wallet_cash_get
20
20
 
21
21
  取引余力(現物)
22
22
 
@@ -27,13 +27,19 @@ All URIs are relative to *http://localhost:18080/kabusapi*
27
27
  ```ruby
28
28
  require 'time'
29
29
  require 'kabustation_client'
30
+ # setup authorization
31
+ KabustationClient.configure do |config|
32
+ # Configure API key authorization: ApiKeyAuth
33
+ config.api_key['ApiKeyAuth'] = 'YOUR API KEY'
34
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
35
+ # config.api_key_prefix['ApiKeyAuth'] = 'Bearer'
36
+ end
30
37
 
31
38
  api_instance = KabustationClient::WalletApi.new
32
- x_api_key = 'x_api_key_example' # String | トークン発行メソッドで取得した文字列
33
39
 
34
40
  begin
35
41
  # 取引余力(現物)
36
- result = api_instance.wallet_cash_get(x_api_key)
42
+ result = api_instance.wallet_cash_get
37
43
  p result
38
44
  rescue KabustationClient::ApiError => e
39
45
  puts "Error when calling WalletApi->wallet_cash_get: #{e}"
@@ -44,12 +50,12 @@ end
44
50
 
45
51
  This returns an Array which contains the response data, status code and headers.
46
52
 
47
- > <Array(<WalletCashSuccess>, Integer, Hash)> wallet_cash_get_with_http_info(x_api_key)
53
+ > <Array(<WalletCashSuccess>, Integer, Hash)> wallet_cash_get_with_http_info
48
54
 
49
55
  ```ruby
50
56
  begin
51
57
  # 取引余力(現物)
52
- data, status_code, headers = api_instance.wallet_cash_get_with_http_info(x_api_key)
58
+ data, status_code, headers = api_instance.wallet_cash_get_with_http_info
53
59
  p status_code # => 2xx
54
60
  p headers # => { ... }
55
61
  p data # => <WalletCashSuccess>
@@ -60,9 +66,7 @@ end
60
66
 
61
67
  ### Parameters
62
68
 
63
- | Name | Type | Description | Notes |
64
- | ---- | ---- | ----------- | ----- |
65
- | **x_api_key** | **String** | トークン発行メソッドで取得した文字列 | |
69
+ This endpoint does not need any parameter.
66
70
 
67
71
  ### Return type
68
72
 
@@ -70,7 +74,7 @@ end
70
74
 
71
75
  ### Authorization
72
76
 
73
- No authorization required
77
+ [ApiKeyAuth](../README.md#ApiKeyAuth)
74
78
 
75
79
  ### HTTP request headers
76
80
 
@@ -80,7 +84,7 @@ No authorization required
80
84
 
81
85
  ## wallet_cash_symbol_get
82
86
 
83
- > <WalletCashSuccess> wallet_cash_symbol_get(x_api_key, symbol)
87
+ > <WalletCashSuccess> wallet_cash_symbol_get(symbol)
84
88
 
85
89
  取引余力(現物)(銘柄指定)
86
90
 
@@ -91,14 +95,20 @@ No authorization required
91
95
  ```ruby
92
96
  require 'time'
93
97
  require 'kabustation_client'
98
+ # setup authorization
99
+ KabustationClient.configure do |config|
100
+ # Configure API key authorization: ApiKeyAuth
101
+ config.api_key['ApiKeyAuth'] = 'YOUR API KEY'
102
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
103
+ # config.api_key_prefix['ApiKeyAuth'] = 'Bearer'
104
+ end
94
105
 
95
106
  api_instance = KabustationClient::WalletApi.new
96
- x_api_key = 'x_api_key_example' # String | トークン発行メソッドで取得した文字列
97
107
  symbol = 'symbol_example' # String | 銘柄コード <br> ※次の形式で入力してください。<br> [銘柄コード]@[市場コード]<br> ※市場コードは下記の定義値から選択してください。 <b>市場コード</b> <table> <thead> <tr> <th>定義値</th> <th>説明</th> </tr> </thead> <tbody> <tr> <td>1</td> <td>東証</td> </tr> <tr> <td>3</td> <td>名証</td> </tr> <tr> <td>5</td> <td>福証</td> </tr> <tr> <td>6</td> <td>札証</td> </tr> </tbody> </table>
98
108
 
99
109
  begin
100
110
  # 取引余力(現物)(銘柄指定)
101
- result = api_instance.wallet_cash_symbol_get(x_api_key, symbol)
111
+ result = api_instance.wallet_cash_symbol_get(symbol)
102
112
  p result
103
113
  rescue KabustationClient::ApiError => e
104
114
  puts "Error when calling WalletApi->wallet_cash_symbol_get: #{e}"
@@ -109,12 +119,12 @@ end
109
119
 
110
120
  This returns an Array which contains the response data, status code and headers.
111
121
 
112
- > <Array(<WalletCashSuccess>, Integer, Hash)> wallet_cash_symbol_get_with_http_info(x_api_key, symbol)
122
+ > <Array(<WalletCashSuccess>, Integer, Hash)> wallet_cash_symbol_get_with_http_info(symbol)
113
123
 
114
124
  ```ruby
115
125
  begin
116
126
  # 取引余力(現物)(銘柄指定)
117
- data, status_code, headers = api_instance.wallet_cash_symbol_get_with_http_info(x_api_key, symbol)
127
+ data, status_code, headers = api_instance.wallet_cash_symbol_get_with_http_info(symbol)
118
128
  p status_code # => 2xx
119
129
  p headers # => { ... }
120
130
  p data # => <WalletCashSuccess>
@@ -127,7 +137,6 @@ end
127
137
 
128
138
  | Name | Type | Description | Notes |
129
139
  | ---- | ---- | ----------- | ----- |
130
- | **x_api_key** | **String** | トークン発行メソッドで取得した文字列 | |
131
140
  | **symbol** | **String** | 銘柄コード &lt;br&gt; ※次の形式で入力してください。&lt;br&gt; [銘柄コード]@[市場コード]&lt;br&gt; ※市場コードは下記の定義値から選択してください。 &lt;b&gt;市場コード&lt;/b&gt; &lt;table&gt; &lt;thead&gt; &lt;tr&gt; &lt;th&gt;定義値&lt;/th&gt; &lt;th&gt;説明&lt;/th&gt; &lt;/tr&gt; &lt;/thead&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td&gt;1&lt;/td&gt; &lt;td&gt;東証&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;3&lt;/td&gt; &lt;td&gt;名証&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;5&lt;/td&gt; &lt;td&gt;福証&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;6&lt;/td&gt; &lt;td&gt;札証&lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt; | |
132
141
 
133
142
  ### Return type
@@ -136,7 +145,7 @@ end
136
145
 
137
146
  ### Authorization
138
147
 
139
- No authorization required
148
+ [ApiKeyAuth](../README.md#ApiKeyAuth)
140
149
 
141
150
  ### HTTP request headers
142
151
 
@@ -146,7 +155,7 @@ No authorization required
146
155
 
147
156
  ## wallet_future_get
148
157
 
149
- > <WalletFutureSuccess> wallet_future_get(x_api_key)
158
+ > <WalletFutureSuccess> wallet_future_get
150
159
 
151
160
  取引余力(先物)
152
161
 
@@ -157,13 +166,19 @@ No authorization required
157
166
  ```ruby
158
167
  require 'time'
159
168
  require 'kabustation_client'
169
+ # setup authorization
170
+ KabustationClient.configure do |config|
171
+ # Configure API key authorization: ApiKeyAuth
172
+ config.api_key['ApiKeyAuth'] = 'YOUR API KEY'
173
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
174
+ # config.api_key_prefix['ApiKeyAuth'] = 'Bearer'
175
+ end
160
176
 
161
177
  api_instance = KabustationClient::WalletApi.new
162
- x_api_key = 'x_api_key_example' # String | トークン発行メソッドで取得した文字列
163
178
 
164
179
  begin
165
180
  # 取引余力(先物)
166
- result = api_instance.wallet_future_get(x_api_key)
181
+ result = api_instance.wallet_future_get
167
182
  p result
168
183
  rescue KabustationClient::ApiError => e
169
184
  puts "Error when calling WalletApi->wallet_future_get: #{e}"
@@ -174,12 +189,12 @@ end
174
189
 
175
190
  This returns an Array which contains the response data, status code and headers.
176
191
 
177
- > <Array(<WalletFutureSuccess>, Integer, Hash)> wallet_future_get_with_http_info(x_api_key)
192
+ > <Array(<WalletFutureSuccess>, Integer, Hash)> wallet_future_get_with_http_info
178
193
 
179
194
  ```ruby
180
195
  begin
181
196
  # 取引余力(先物)
182
- data, status_code, headers = api_instance.wallet_future_get_with_http_info(x_api_key)
197
+ data, status_code, headers = api_instance.wallet_future_get_with_http_info
183
198
  p status_code # => 2xx
184
199
  p headers # => { ... }
185
200
  p data # => <WalletFutureSuccess>
@@ -190,9 +205,7 @@ end
190
205
 
191
206
  ### Parameters
192
207
 
193
- | Name | Type | Description | Notes |
194
- | ---- | ---- | ----------- | ----- |
195
- | **x_api_key** | **String** | トークン発行メソッドで取得した文字列 | |
208
+ This endpoint does not need any parameter.
196
209
 
197
210
  ### Return type
198
211
 
@@ -200,7 +213,7 @@ end
200
213
 
201
214
  ### Authorization
202
215
 
203
- No authorization required
216
+ [ApiKeyAuth](../README.md#ApiKeyAuth)
204
217
 
205
218
  ### HTTP request headers
206
219
 
@@ -210,7 +223,7 @@ No authorization required
210
223
 
211
224
  ## wallet_future_symbol_get
212
225
 
213
- > <WalletFutureSuccess> wallet_future_symbol_get(x_api_key, symbol)
226
+ > <WalletFutureSuccess> wallet_future_symbol_get(symbol)
214
227
 
215
228
  取引余力(先物)(銘柄指定)
216
229
 
@@ -221,14 +234,20 @@ No authorization required
221
234
  ```ruby
222
235
  require 'time'
223
236
  require 'kabustation_client'
237
+ # setup authorization
238
+ KabustationClient.configure do |config|
239
+ # Configure API key authorization: ApiKeyAuth
240
+ config.api_key['ApiKeyAuth'] = 'YOUR API KEY'
241
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
242
+ # config.api_key_prefix['ApiKeyAuth'] = 'Bearer'
243
+ end
224
244
 
225
245
  api_instance = KabustationClient::WalletApi.new
226
- x_api_key = 'x_api_key_example' # String | トークン発行メソッドで取得した文字列
227
246
  symbol = 'symbol_example' # String | 銘柄コード <br> ※次の形式で入力してください。<br> [銘柄コード]@[市場コード]<br> ※市場コードは下記の定義値から選択してください。 ※SOR市場は取扱っておりませんのでご注意ください。<b>市場コード</b><br> <table> <thead> <tr> <th>定義値</th> <th>説明</th> </tr> </thead> <tbody> <tr> <td>2</td> <td>日通し</td> </tr> <tr> <td>23</td> <td>日中</td> </tr> <tr> <td>24</td> <td>夜間</td> </tr> </tbody> </table>
228
247
 
229
248
  begin
230
249
  # 取引余力(先物)(銘柄指定)
231
- result = api_instance.wallet_future_symbol_get(x_api_key, symbol)
250
+ result = api_instance.wallet_future_symbol_get(symbol)
232
251
  p result
233
252
  rescue KabustationClient::ApiError => e
234
253
  puts "Error when calling WalletApi->wallet_future_symbol_get: #{e}"
@@ -239,12 +258,12 @@ end
239
258
 
240
259
  This returns an Array which contains the response data, status code and headers.
241
260
 
242
- > <Array(<WalletFutureSuccess>, Integer, Hash)> wallet_future_symbol_get_with_http_info(x_api_key, symbol)
261
+ > <Array(<WalletFutureSuccess>, Integer, Hash)> wallet_future_symbol_get_with_http_info(symbol)
243
262
 
244
263
  ```ruby
245
264
  begin
246
265
  # 取引余力(先物)(銘柄指定)
247
- data, status_code, headers = api_instance.wallet_future_symbol_get_with_http_info(x_api_key, symbol)
266
+ data, status_code, headers = api_instance.wallet_future_symbol_get_with_http_info(symbol)
248
267
  p status_code # => 2xx
249
268
  p headers # => { ... }
250
269
  p data # => <WalletFutureSuccess>
@@ -257,7 +276,6 @@ end
257
276
 
258
277
  | Name | Type | Description | Notes |
259
278
  | ---- | ---- | ----------- | ----- |
260
- | **x_api_key** | **String** | トークン発行メソッドで取得した文字列 | |
261
279
  | **symbol** | **String** | 銘柄コード &lt;br&gt; ※次の形式で入力してください。&lt;br&gt; [銘柄コード]@[市場コード]&lt;br&gt; ※市場コードは下記の定義値から選択してください。 ※SOR市場は取扱っておりませんのでご注意ください。&lt;b&gt;市場コード&lt;/b&gt;&lt;br&gt; &lt;table&gt; &lt;thead&gt; &lt;tr&gt; &lt;th&gt;定義値&lt;/th&gt; &lt;th&gt;説明&lt;/th&gt; &lt;/tr&gt; &lt;/thead&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td&gt;2&lt;/td&gt; &lt;td&gt;日通し&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;23&lt;/td&gt; &lt;td&gt;日中&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;24&lt;/td&gt; &lt;td&gt;夜間&lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt; | |
262
280
 
263
281
  ### Return type
@@ -266,7 +284,7 @@ end
266
284
 
267
285
  ### Authorization
268
286
 
269
- No authorization required
287
+ [ApiKeyAuth](../README.md#ApiKeyAuth)
270
288
 
271
289
  ### HTTP request headers
272
290
 
@@ -276,7 +294,7 @@ No authorization required
276
294
 
277
295
  ## wallet_margin_get
278
296
 
279
- > <WalletMarginSuccess> wallet_margin_get(x_api_key)
297
+ > <WalletMarginSuccess> wallet_margin_get
280
298
 
281
299
  取引余力(信用)
282
300
 
@@ -287,13 +305,19 @@ No authorization required
287
305
  ```ruby
288
306
  require 'time'
289
307
  require 'kabustation_client'
308
+ # setup authorization
309
+ KabustationClient.configure do |config|
310
+ # Configure API key authorization: ApiKeyAuth
311
+ config.api_key['ApiKeyAuth'] = 'YOUR API KEY'
312
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
313
+ # config.api_key_prefix['ApiKeyAuth'] = 'Bearer'
314
+ end
290
315
 
291
316
  api_instance = KabustationClient::WalletApi.new
292
- x_api_key = 'x_api_key_example' # String | トークン発行メソッドで取得した文字列
293
317
 
294
318
  begin
295
319
  # 取引余力(信用)
296
- result = api_instance.wallet_margin_get(x_api_key)
320
+ result = api_instance.wallet_margin_get
297
321
  p result
298
322
  rescue KabustationClient::ApiError => e
299
323
  puts "Error when calling WalletApi->wallet_margin_get: #{e}"
@@ -304,12 +328,12 @@ end
304
328
 
305
329
  This returns an Array which contains the response data, status code and headers.
306
330
 
307
- > <Array(<WalletMarginSuccess>, Integer, Hash)> wallet_margin_get_with_http_info(x_api_key)
331
+ > <Array(<WalletMarginSuccess>, Integer, Hash)> wallet_margin_get_with_http_info
308
332
 
309
333
  ```ruby
310
334
  begin
311
335
  # 取引余力(信用)
312
- data, status_code, headers = api_instance.wallet_margin_get_with_http_info(x_api_key)
336
+ data, status_code, headers = api_instance.wallet_margin_get_with_http_info
313
337
  p status_code # => 2xx
314
338
  p headers # => { ... }
315
339
  p data # => <WalletMarginSuccess>
@@ -320,9 +344,7 @@ end
320
344
 
321
345
  ### Parameters
322
346
 
323
- | Name | Type | Description | Notes |
324
- | ---- | ---- | ----------- | ----- |
325
- | **x_api_key** | **String** | トークン発行メソッドで取得した文字列 | |
347
+ This endpoint does not need any parameter.
326
348
 
327
349
  ### Return type
328
350
 
@@ -330,7 +352,7 @@ end
330
352
 
331
353
  ### Authorization
332
354
 
333
- No authorization required
355
+ [ApiKeyAuth](../README.md#ApiKeyAuth)
334
356
 
335
357
  ### HTTP request headers
336
358
 
@@ -340,7 +362,7 @@ No authorization required
340
362
 
341
363
  ## wallet_margin_symbol_get
342
364
 
343
- > <WalletMarginSuccess> wallet_margin_symbol_get(x_api_key, symbol)
365
+ > <WalletMarginSuccess> wallet_margin_symbol_get(symbol)
344
366
 
345
367
  取引余力(信用)(銘柄指定)
346
368
 
@@ -351,14 +373,20 @@ No authorization required
351
373
  ```ruby
352
374
  require 'time'
353
375
  require 'kabustation_client'
376
+ # setup authorization
377
+ KabustationClient.configure do |config|
378
+ # Configure API key authorization: ApiKeyAuth
379
+ config.api_key['ApiKeyAuth'] = 'YOUR API KEY'
380
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
381
+ # config.api_key_prefix['ApiKeyAuth'] = 'Bearer'
382
+ end
354
383
 
355
384
  api_instance = KabustationClient::WalletApi.new
356
- x_api_key = 'x_api_key_example' # String | トークン発行メソッドで取得した文字列
357
385
  symbol = 'symbol_example' # String | 銘柄コード <br> ※次の形式で入力してください。<br> [銘柄コード]@[市場コード]<br> ※市場コードは下記の定義値から選択してください。 <b>市場コード</b> <table> <thead> <tr> <th>定義値</th> <th>説明</th> </tr> </thead> <tbody> <tr> <td>1</td> <td>東証</td> </tr> <tr> <td>3</td> <td>名証</td> </tr> </tbody> </table>
358
386
 
359
387
  begin
360
388
  # 取引余力(信用)(銘柄指定)
361
- result = api_instance.wallet_margin_symbol_get(x_api_key, symbol)
389
+ result = api_instance.wallet_margin_symbol_get(symbol)
362
390
  p result
363
391
  rescue KabustationClient::ApiError => e
364
392
  puts "Error when calling WalletApi->wallet_margin_symbol_get: #{e}"
@@ -369,12 +397,12 @@ end
369
397
 
370
398
  This returns an Array which contains the response data, status code and headers.
371
399
 
372
- > <Array(<WalletMarginSuccess>, Integer, Hash)> wallet_margin_symbol_get_with_http_info(x_api_key, symbol)
400
+ > <Array(<WalletMarginSuccess>, Integer, Hash)> wallet_margin_symbol_get_with_http_info(symbol)
373
401
 
374
402
  ```ruby
375
403
  begin
376
404
  # 取引余力(信用)(銘柄指定)
377
- data, status_code, headers = api_instance.wallet_margin_symbol_get_with_http_info(x_api_key, symbol)
405
+ data, status_code, headers = api_instance.wallet_margin_symbol_get_with_http_info(symbol)
378
406
  p status_code # => 2xx
379
407
  p headers # => { ... }
380
408
  p data # => <WalletMarginSuccess>
@@ -387,7 +415,6 @@ end
387
415
 
388
416
  | Name | Type | Description | Notes |
389
417
  | ---- | ---- | ----------- | ----- |
390
- | **x_api_key** | **String** | トークン発行メソッドで取得した文字列 | |
391
418
  | **symbol** | **String** | 銘柄コード &lt;br&gt; ※次の形式で入力してください。&lt;br&gt; [銘柄コード]@[市場コード]&lt;br&gt; ※市場コードは下記の定義値から選択してください。 &lt;b&gt;市場コード&lt;/b&gt; &lt;table&gt; &lt;thead&gt; &lt;tr&gt; &lt;th&gt;定義値&lt;/th&gt; &lt;th&gt;説明&lt;/th&gt; &lt;/tr&gt; &lt;/thead&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td&gt;1&lt;/td&gt; &lt;td&gt;東証&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;3&lt;/td&gt; &lt;td&gt;名証&lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt; | |
392
419
 
393
420
  ### Return type
@@ -396,7 +423,7 @@ end
396
423
 
397
424
  ### Authorization
398
425
 
399
- No authorization required
426
+ [ApiKeyAuth](../README.md#ApiKeyAuth)
400
427
 
401
428
  ### HTTP request headers
402
429
 
@@ -406,7 +433,7 @@ No authorization required
406
433
 
407
434
  ## wallet_option_get
408
435
 
409
- > <WalletOptionSuccess> wallet_option_get(x_api_key)
436
+ > <WalletOptionSuccess> wallet_option_get
410
437
 
411
438
  取引余力(オプション)
412
439
 
@@ -417,13 +444,19 @@ No authorization required
417
444
  ```ruby
418
445
  require 'time'
419
446
  require 'kabustation_client'
447
+ # setup authorization
448
+ KabustationClient.configure do |config|
449
+ # Configure API key authorization: ApiKeyAuth
450
+ config.api_key['ApiKeyAuth'] = 'YOUR API KEY'
451
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
452
+ # config.api_key_prefix['ApiKeyAuth'] = 'Bearer'
453
+ end
420
454
 
421
455
  api_instance = KabustationClient::WalletApi.new
422
- x_api_key = 'x_api_key_example' # String | トークン発行メソッドで取得した文字列
423
456
 
424
457
  begin
425
458
  # 取引余力(オプション)
426
- result = api_instance.wallet_option_get(x_api_key)
459
+ result = api_instance.wallet_option_get
427
460
  p result
428
461
  rescue KabustationClient::ApiError => e
429
462
  puts "Error when calling WalletApi->wallet_option_get: #{e}"
@@ -434,12 +467,12 @@ end
434
467
 
435
468
  This returns an Array which contains the response data, status code and headers.
436
469
 
437
- > <Array(<WalletOptionSuccess>, Integer, Hash)> wallet_option_get_with_http_info(x_api_key)
470
+ > <Array(<WalletOptionSuccess>, Integer, Hash)> wallet_option_get_with_http_info
438
471
 
439
472
  ```ruby
440
473
  begin
441
474
  # 取引余力(オプション)
442
- data, status_code, headers = api_instance.wallet_option_get_with_http_info(x_api_key)
475
+ data, status_code, headers = api_instance.wallet_option_get_with_http_info
443
476
  p status_code # => 2xx
444
477
  p headers # => { ... }
445
478
  p data # => <WalletOptionSuccess>
@@ -450,9 +483,7 @@ end
450
483
 
451
484
  ### Parameters
452
485
 
453
- | Name | Type | Description | Notes |
454
- | ---- | ---- | ----------- | ----- |
455
- | **x_api_key** | **String** | トークン発行メソッドで取得した文字列 | |
486
+ This endpoint does not need any parameter.
456
487
 
457
488
  ### Return type
458
489
 
@@ -460,7 +491,7 @@ end
460
491
 
461
492
  ### Authorization
462
493
 
463
- No authorization required
494
+ [ApiKeyAuth](../README.md#ApiKeyAuth)
464
495
 
465
496
  ### HTTP request headers
466
497
 
@@ -470,7 +501,7 @@ No authorization required
470
501
 
471
502
  ## wallet_option_symbol_get
472
503
 
473
- > <WalletOptionSuccess> wallet_option_symbol_get(x_api_key, symbol)
504
+ > <WalletOptionSuccess> wallet_option_symbol_get(symbol)
474
505
 
475
506
  取引余力(オプション)(銘柄指定)
476
507
 
@@ -481,14 +512,20 @@ No authorization required
481
512
  ```ruby
482
513
  require 'time'
483
514
  require 'kabustation_client'
515
+ # setup authorization
516
+ KabustationClient.configure do |config|
517
+ # Configure API key authorization: ApiKeyAuth
518
+ config.api_key['ApiKeyAuth'] = 'YOUR API KEY'
519
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
520
+ # config.api_key_prefix['ApiKeyAuth'] = 'Bearer'
521
+ end
484
522
 
485
523
  api_instance = KabustationClient::WalletApi.new
486
- x_api_key = 'x_api_key_example' # String | トークン発行メソッドで取得した文字列
487
524
  symbol = 'symbol_example' # String | 銘柄コード <br> ※次の形式で入力してください。<br> [銘柄コード]@[市場コード]<br> ※市場コードは下記の定義値から選択してください。 <b>市場コード</b> <table> <thead> <tr> <th>定義値</th> <th>説明</th> </tr> </thead> <tbody> <tr> <td>2</td> <td>日通し</td> </tr> <tr> <td>23</td> <td>日中</td> </tr> <tr> <td>24</td> <td>夜間</td> </tr> </tbody> </table>
488
525
 
489
526
  begin
490
527
  # 取引余力(オプション)(銘柄指定)
491
- result = api_instance.wallet_option_symbol_get(x_api_key, symbol)
528
+ result = api_instance.wallet_option_symbol_get(symbol)
492
529
  p result
493
530
  rescue KabustationClient::ApiError => e
494
531
  puts "Error when calling WalletApi->wallet_option_symbol_get: #{e}"
@@ -499,12 +536,12 @@ end
499
536
 
500
537
  This returns an Array which contains the response data, status code and headers.
501
538
 
502
- > <Array(<WalletOptionSuccess>, Integer, Hash)> wallet_option_symbol_get_with_http_info(x_api_key, symbol)
539
+ > <Array(<WalletOptionSuccess>, Integer, Hash)> wallet_option_symbol_get_with_http_info(symbol)
503
540
 
504
541
  ```ruby
505
542
  begin
506
543
  # 取引余力(オプション)(銘柄指定)
507
- data, status_code, headers = api_instance.wallet_option_symbol_get_with_http_info(x_api_key, symbol)
544
+ data, status_code, headers = api_instance.wallet_option_symbol_get_with_http_info(symbol)
508
545
  p status_code # => 2xx
509
546
  p headers # => { ... }
510
547
  p data # => <WalletOptionSuccess>
@@ -517,7 +554,6 @@ end
517
554
 
518
555
  | Name | Type | Description | Notes |
519
556
  | ---- | ---- | ----------- | ----- |
520
- | **x_api_key** | **String** | トークン発行メソッドで取得した文字列 | |
521
557
  | **symbol** | **String** | 銘柄コード &lt;br&gt; ※次の形式で入力してください。&lt;br&gt; [銘柄コード]@[市場コード]&lt;br&gt; ※市場コードは下記の定義値から選択してください。 &lt;b&gt;市場コード&lt;/b&gt; &lt;table&gt; &lt;thead&gt; &lt;tr&gt; &lt;th&gt;定義値&lt;/th&gt; &lt;th&gt;説明&lt;/th&gt; &lt;/tr&gt; &lt;/thead&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td&gt;2&lt;/td&gt; &lt;td&gt;日通し&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;23&lt;/td&gt; &lt;td&gt;日中&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;24&lt;/td&gt; &lt;td&gt;夜間&lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt; | |
522
558
 
523
559
  ### Return type
@@ -526,7 +562,7 @@ end
526
562
 
527
563
  ### Authorization
528
564
 
529
- No authorization required
565
+ [ApiKeyAuth](../README.md#ApiKeyAuth)
530
566
 
531
567
  ### HTTP request headers
532
568