Class: KabustationClient::WalletApi
- Inherits:
-
Object
- Object
- KabustationClient::WalletApi
- Defined in:
- lib/kabustation_client/api/wallet_api.rb
Instance Attribute Summary collapse
-
#api_client ⇒ Object
Returns the value of attribute api_client.
Instance Method Summary collapse
-
#initialize(api_client = ApiClient.default) ⇒ WalletApi
constructor
A new instance of WalletApi.
-
#wallet_cash_get(opts = {}) ⇒ WalletCashSuccess
取引余力(現物) 口座の取引余力(現物)を取得します.
-
#wallet_cash_get_with_http_info(opts = {}) ⇒ Array<(WalletCashSuccess, Integer, Hash)>
取引余力(現物) 口座の取引余力(現物)を取得します.
-
#wallet_cash_symbol_get(symbol, opts = {}) ⇒ WalletCashSuccess
取引余力(現物)(銘柄指定) 指定した銘柄の取引余力(現物)を取得します.
-
#wallet_cash_symbol_get_with_http_info(symbol, opts = {}) ⇒ Array<(WalletCashSuccess, Integer, Hash)>
取引余力(現物)(銘柄指定) 指定した銘柄の取引余力(現物)を取得します.
-
#wallet_future_get(opts = {}) ⇒ WalletFutureSuccess
取引余力(先物) 口座の取引余力(先物)を取得します.
-
#wallet_future_get_with_http_info(opts = {}) ⇒ Array<(WalletFutureSuccess, Integer, Hash)>
取引余力(先物) 口座の取引余力(先物)を取得します.
-
#wallet_future_symbol_get(symbol, opts = {}) ⇒ WalletFutureSuccess
取引余力(先物)(銘柄指定) 指定した銘柄の取引余力(先物)を取得します.
-
#wallet_future_symbol_get_with_http_info(symbol, opts = {}) ⇒ Array<(WalletFutureSuccess, Integer, Hash)>
取引余力(先物)(銘柄指定) 指定した銘柄の取引余力(先物)を取得します.
-
#wallet_margin_get(opts = {}) ⇒ WalletMarginSuccess
取引余力(信用) 口座の取引余力(信用)を取得します.
-
#wallet_margin_get_with_http_info(opts = {}) ⇒ Array<(WalletMarginSuccess, Integer, Hash)>
取引余力(信用) 口座の取引余力(信用)を取得します.
-
#wallet_margin_symbol_get(symbol, opts = {}) ⇒ WalletMarginSuccess
取引余力(信用)(銘柄指定) 指定した銘柄の取引余力(信用)を取得します.
-
#wallet_margin_symbol_get_with_http_info(symbol, opts = {}) ⇒ Array<(WalletMarginSuccess, Integer, Hash)>
取引余力(信用)(銘柄指定) 指定した銘柄の取引余力(信用)を取得します.
-
#wallet_option_get(opts = {}) ⇒ WalletOptionSuccess
取引余力(オプション) 口座の取引余力(オプション)を取得します.
-
#wallet_option_get_with_http_info(opts = {}) ⇒ Array<(WalletOptionSuccess, Integer, Hash)>
取引余力(オプション) 口座の取引余力(オプション)を取得します.
-
#wallet_option_symbol_get(symbol, opts = {}) ⇒ WalletOptionSuccess
取引余力(オプション)(銘柄指定) 指定した銘柄の取引余力(オプション)を取得します.
-
#wallet_option_symbol_get_with_http_info(symbol, opts = {}) ⇒ Array<(WalletOptionSuccess, Integer, Hash)>
取引余力(オプション)(銘柄指定) 指定した銘柄の取引余力(オプション)を取得します.
Constructor Details
Instance Attribute Details
#api_client ⇒ Object
Returns the value of attribute api_client.
17 18 19 |
# File 'lib/kabustation_client/api/wallet_api.rb', line 17 def api_client @api_client end |
Instance Method Details
#wallet_cash_get(opts = {}) ⇒ WalletCashSuccess
取引余力(現物) 口座の取引余力(現物)を取得します
26 27 28 29 |
# File 'lib/kabustation_client/api/wallet_api.rb', line 26 def wallet_cash_get(opts = {}) data, _status_code, _headers = wallet_cash_get_with_http_info(opts) data end |
#wallet_cash_get_with_http_info(opts = {}) ⇒ Array<(WalletCashSuccess, Integer, Hash)>
取引余力(現物) 口座の取引余力(現物)を取得します
35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 |
# File 'lib/kabustation_client/api/wallet_api.rb', line 35 def wallet_cash_get_with_http_info(opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: WalletApi.wallet_cash_get ...' end # resource path local_var_path = '/wallet/cash' # query parameters query_params = opts[:query_params] || {} # header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # form parameters form_params = opts[:form_params] || {} # http body (model) post_body = opts[:debug_body] # return_type return_type = opts[:debug_return_type] || 'WalletCashSuccess' # auth_names auth_names = opts[:debug_auth_names] || ['ApiKeyAuth'] = opts.merge( :operation => :"WalletApi.wallet_cash_get", :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => return_type ) data, status_code, headers = @api_client.call_api(:GET, local_var_path, ) if @api_client.config.debugging @api_client.config.logger.debug "API called: WalletApi#wallet_cash_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#wallet_cash_symbol_get(symbol, opts = {}) ⇒ WalletCashSuccess
取引余力(現物)(銘柄指定) 指定した銘柄の取引余力(現物)を取得します
84 85 86 87 |
# File 'lib/kabustation_client/api/wallet_api.rb', line 84 def wallet_cash_symbol_get(symbol, opts = {}) data, _status_code, _headers = wallet_cash_symbol_get_with_http_info(symbol, opts) data end |
#wallet_cash_symbol_get_with_http_info(symbol, opts = {}) ⇒ Array<(WalletCashSuccess, Integer, Hash)>
取引余力(現物)(銘柄指定) 指定した銘柄の取引余力(現物)を取得します
94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 |
# File 'lib/kabustation_client/api/wallet_api.rb', line 94 def wallet_cash_symbol_get_with_http_info(symbol, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: WalletApi.wallet_cash_symbol_get ...' end # verify the required parameter 'symbol' is set if @api_client.config.client_side_validation && symbol.nil? fail ArgumentError, "Missing the required parameter 'symbol' when calling WalletApi.wallet_cash_symbol_get" end # resource path local_var_path = '/wallet/cash/{symbol}'.sub('{' + 'symbol' + '}', CGI.escape(symbol.to_s)) # query parameters query_params = opts[:query_params] || {} # header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # form parameters form_params = opts[:form_params] || {} # http body (model) post_body = opts[:debug_body] # return_type return_type = opts[:debug_return_type] || 'WalletCashSuccess' # auth_names auth_names = opts[:debug_auth_names] || ['ApiKeyAuth'] = opts.merge( :operation => :"WalletApi.wallet_cash_symbol_get", :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => return_type ) data, status_code, headers = @api_client.call_api(:GET, local_var_path, ) if @api_client.config.debugging @api_client.config.logger.debug "API called: WalletApi#wallet_cash_symbol_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#wallet_future_get(opts = {}) ⇒ WalletFutureSuccess
取引余力(先物) 口座の取引余力(先物)を取得します
146 147 148 149 |
# File 'lib/kabustation_client/api/wallet_api.rb', line 146 def wallet_future_get(opts = {}) data, _status_code, _headers = wallet_future_get_with_http_info(opts) data end |
#wallet_future_get_with_http_info(opts = {}) ⇒ Array<(WalletFutureSuccess, Integer, Hash)>
取引余力(先物) 口座の取引余力(先物)を取得します
155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 |
# File 'lib/kabustation_client/api/wallet_api.rb', line 155 def wallet_future_get_with_http_info(opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: WalletApi.wallet_future_get ...' end # resource path local_var_path = '/wallet/future' # query parameters query_params = opts[:query_params] || {} # header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # form parameters form_params = opts[:form_params] || {} # http body (model) post_body = opts[:debug_body] # return_type return_type = opts[:debug_return_type] || 'WalletFutureSuccess' # auth_names auth_names = opts[:debug_auth_names] || ['ApiKeyAuth'] = opts.merge( :operation => :"WalletApi.wallet_future_get", :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => return_type ) data, status_code, headers = @api_client.call_api(:GET, local_var_path, ) if @api_client.config.debugging @api_client.config.logger.debug "API called: WalletApi#wallet_future_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#wallet_future_symbol_get(symbol, opts = {}) ⇒ WalletFutureSuccess
取引余力(先物)(銘柄指定) 指定した銘柄の取引余力(先物)を取得します
204 205 206 207 |
# File 'lib/kabustation_client/api/wallet_api.rb', line 204 def wallet_future_symbol_get(symbol, opts = {}) data, _status_code, _headers = wallet_future_symbol_get_with_http_info(symbol, opts) data end |
#wallet_future_symbol_get_with_http_info(symbol, opts = {}) ⇒ Array<(WalletFutureSuccess, Integer, Hash)>
取引余力(先物)(銘柄指定) 指定した銘柄の取引余力(先物)を取得します
214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 |
# File 'lib/kabustation_client/api/wallet_api.rb', line 214 def wallet_future_symbol_get_with_http_info(symbol, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: WalletApi.wallet_future_symbol_get ...' end # verify the required parameter 'symbol' is set if @api_client.config.client_side_validation && symbol.nil? fail ArgumentError, "Missing the required parameter 'symbol' when calling WalletApi.wallet_future_symbol_get" end # resource path local_var_path = '/wallet/future/{symbol}'.sub('{' + 'symbol' + '}', CGI.escape(symbol.to_s)) # query parameters query_params = opts[:query_params] || {} # header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # form parameters form_params = opts[:form_params] || {} # http body (model) post_body = opts[:debug_body] # return_type return_type = opts[:debug_return_type] || 'WalletFutureSuccess' # auth_names auth_names = opts[:debug_auth_names] || ['ApiKeyAuth'] = opts.merge( :operation => :"WalletApi.wallet_future_symbol_get", :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => return_type ) data, status_code, headers = @api_client.call_api(:GET, local_var_path, ) if @api_client.config.debugging @api_client.config.logger.debug "API called: WalletApi#wallet_future_symbol_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#wallet_margin_get(opts = {}) ⇒ WalletMarginSuccess
取引余力(信用) 口座の取引余力(信用)を取得します
266 267 268 269 |
# File 'lib/kabustation_client/api/wallet_api.rb', line 266 def wallet_margin_get(opts = {}) data, _status_code, _headers = wallet_margin_get_with_http_info(opts) data end |
#wallet_margin_get_with_http_info(opts = {}) ⇒ Array<(WalletMarginSuccess, Integer, Hash)>
取引余力(信用) 口座の取引余力(信用)を取得します
275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 |
# File 'lib/kabustation_client/api/wallet_api.rb', line 275 def wallet_margin_get_with_http_info(opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: WalletApi.wallet_margin_get ...' end # resource path local_var_path = '/wallet/margin' # query parameters query_params = opts[:query_params] || {} # header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # form parameters form_params = opts[:form_params] || {} # http body (model) post_body = opts[:debug_body] # return_type return_type = opts[:debug_return_type] || 'WalletMarginSuccess' # auth_names auth_names = opts[:debug_auth_names] || ['ApiKeyAuth'] = opts.merge( :operation => :"WalletApi.wallet_margin_get", :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => return_type ) data, status_code, headers = @api_client.call_api(:GET, local_var_path, ) if @api_client.config.debugging @api_client.config.logger.debug "API called: WalletApi#wallet_margin_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#wallet_margin_symbol_get(symbol, opts = {}) ⇒ WalletMarginSuccess
取引余力(信用)(銘柄指定) 指定した銘柄の取引余力(信用)を取得します
324 325 326 327 |
# File 'lib/kabustation_client/api/wallet_api.rb', line 324 def wallet_margin_symbol_get(symbol, opts = {}) data, _status_code, _headers = wallet_margin_symbol_get_with_http_info(symbol, opts) data end |
#wallet_margin_symbol_get_with_http_info(symbol, opts = {}) ⇒ Array<(WalletMarginSuccess, Integer, Hash)>
取引余力(信用)(銘柄指定) 指定した銘柄の取引余力(信用)を取得します
334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 |
# File 'lib/kabustation_client/api/wallet_api.rb', line 334 def wallet_margin_symbol_get_with_http_info(symbol, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: WalletApi.wallet_margin_symbol_get ...' end # verify the required parameter 'symbol' is set if @api_client.config.client_side_validation && symbol.nil? fail ArgumentError, "Missing the required parameter 'symbol' when calling WalletApi.wallet_margin_symbol_get" end # resource path local_var_path = '/wallet/margin/{symbol}'.sub('{' + 'symbol' + '}', CGI.escape(symbol.to_s)) # query parameters query_params = opts[:query_params] || {} # header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # form parameters form_params = opts[:form_params] || {} # http body (model) post_body = opts[:debug_body] # return_type return_type = opts[:debug_return_type] || 'WalletMarginSuccess' # auth_names auth_names = opts[:debug_auth_names] || ['ApiKeyAuth'] = opts.merge( :operation => :"WalletApi.wallet_margin_symbol_get", :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => return_type ) data, status_code, headers = @api_client.call_api(:GET, local_var_path, ) if @api_client.config.debugging @api_client.config.logger.debug "API called: WalletApi#wallet_margin_symbol_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#wallet_option_get(opts = {}) ⇒ WalletOptionSuccess
取引余力(オプション) 口座の取引余力(オプション)を取得します
386 387 388 389 |
# File 'lib/kabustation_client/api/wallet_api.rb', line 386 def wallet_option_get(opts = {}) data, _status_code, _headers = wallet_option_get_with_http_info(opts) data end |
#wallet_option_get_with_http_info(opts = {}) ⇒ Array<(WalletOptionSuccess, Integer, Hash)>
取引余力(オプション) 口座の取引余力(オプション)を取得します
395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 |
# File 'lib/kabustation_client/api/wallet_api.rb', line 395 def wallet_option_get_with_http_info(opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: WalletApi.wallet_option_get ...' end # resource path local_var_path = '/wallet/option' # query parameters query_params = opts[:query_params] || {} # header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # form parameters form_params = opts[:form_params] || {} # http body (model) post_body = opts[:debug_body] # return_type return_type = opts[:debug_return_type] || 'WalletOptionSuccess' # auth_names auth_names = opts[:debug_auth_names] || ['ApiKeyAuth'] = opts.merge( :operation => :"WalletApi.wallet_option_get", :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => return_type ) data, status_code, headers = @api_client.call_api(:GET, local_var_path, ) if @api_client.config.debugging @api_client.config.logger.debug "API called: WalletApi#wallet_option_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#wallet_option_symbol_get(symbol, opts = {}) ⇒ WalletOptionSuccess
取引余力(オプション)(銘柄指定) 指定した銘柄の取引余力(オプション)を取得します
444 445 446 447 |
# File 'lib/kabustation_client/api/wallet_api.rb', line 444 def wallet_option_symbol_get(symbol, opts = {}) data, _status_code, _headers = wallet_option_symbol_get_with_http_info(symbol, opts) data end |
#wallet_option_symbol_get_with_http_info(symbol, opts = {}) ⇒ Array<(WalletOptionSuccess, Integer, Hash)>
取引余力(オプション)(銘柄指定) 指定した銘柄の取引余力(オプション)を取得します
454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 |
# File 'lib/kabustation_client/api/wallet_api.rb', line 454 def wallet_option_symbol_get_with_http_info(symbol, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: WalletApi.wallet_option_symbol_get ...' end # verify the required parameter 'symbol' is set if @api_client.config.client_side_validation && symbol.nil? fail ArgumentError, "Missing the required parameter 'symbol' when calling WalletApi.wallet_option_symbol_get" end # resource path local_var_path = '/wallet/option/{symbol}'.sub('{' + 'symbol' + '}', CGI.escape(symbol.to_s)) # query parameters query_params = opts[:query_params] || {} # header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # form parameters form_params = opts[:form_params] || {} # http body (model) post_body = opts[:debug_body] # return_type return_type = opts[:debug_return_type] || 'WalletOptionSuccess' # auth_names auth_names = opts[:debug_auth_names] || ['ApiKeyAuth'] = opts.merge( :operation => :"WalletApi.wallet_option_symbol_get", :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => return_type ) data, status_code, headers = @api_client.call_api(:GET, local_var_path, ) if @api_client.config.debugging @api_client.config.logger.debug "API called: WalletApi#wallet_option_symbol_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |