kabustation_client 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +9 -0
- data/README.md +188 -0
- data/Rakefile +10 -0
- data/docs/ApiSoftLimitResponse.md +32 -0
- data/docs/AuthApi.md +72 -0
- data/docs/BoardSuccess.md +142 -0
- data/docs/BoardSuccessBuy1.md +24 -0
- data/docs/BoardSuccessBuy10.md +20 -0
- data/docs/BoardSuccessBuy2.md +20 -0
- data/docs/BoardSuccessBuy3.md +20 -0
- data/docs/BoardSuccessBuy4.md +20 -0
- data/docs/BoardSuccessBuy5.md +20 -0
- data/docs/BoardSuccessBuy6.md +20 -0
- data/docs/BoardSuccessBuy7.md +20 -0
- data/docs/BoardSuccessBuy8.md +20 -0
- data/docs/BoardSuccessBuy9.md +20 -0
- data/docs/BoardSuccessSell1.md +24 -0
- data/docs/BoardSuccessSell10.md +20 -0
- data/docs/BoardSuccessSell2.md +20 -0
- data/docs/BoardSuccessSell3.md +20 -0
- data/docs/BoardSuccessSell4.md +20 -0
- data/docs/BoardSuccessSell5.md +20 -0
- data/docs/BoardSuccessSell6.md +20 -0
- data/docs/BoardSuccessSell7.md +20 -0
- data/docs/BoardSuccessSell8.md +20 -0
- data/docs/BoardSuccessSell9.md +20 -0
- data/docs/ErrorResponse.md +20 -0
- data/docs/ExchangeResponse.md +28 -0
- data/docs/InfoApi.md +924 -0
- data/docs/MarginPremiumResponse.md +22 -0
- data/docs/MarginPremiumResponseDayTrade.md +26 -0
- data/docs/MarginPremiumResponseGeneralMargin.md +26 -0
- data/docs/OrderApi.md +275 -0
- data/docs/OrderSuccess.md +20 -0
- data/docs/OrdersSuccess.md +58 -0
- data/docs/OrdersSuccessDetailsInner.md +44 -0
- data/docs/Positions.md +20 -0
- data/docs/PositionsDeriv.md +20 -0
- data/docs/PositionsSuccess.md +58 -0
- data/docs/PrimaryExchangeResponse.md +20 -0
- data/docs/RankingByCategoryResponse.md +22 -0
- data/docs/RankingByCategoryResponseRankingInner.md +34 -0
- data/docs/RankingByMarginResponse.md +22 -0
- data/docs/RankingByMarginResponseRankingInner.md +36 -0
- data/docs/RankingByTickCountResponse.md +22 -0
- data/docs/RankingByTickCountResponseRankingInner.md +46 -0
- data/docs/RankingByTradeValueResponse.md +22 -0
- data/docs/RankingByTradeValueResponseRankingInner.md +42 -0
- data/docs/RankingByTradeVolumeResponse.md +22 -0
- data/docs/RankingByTradeVolumeResponseRankingInner.md +42 -0
- data/docs/RankingDefaultResponse.md +22 -0
- data/docs/RankingDefaultResponseRankingInner.md +42 -0
- data/docs/RankingGet200Response.md +57 -0
- data/docs/RegistSuccess.md +18 -0
- data/docs/RegisterApi.md +206 -0
- data/docs/RegulationsResponse.md +20 -0
- data/docs/RegulationsResponseRegulationsInfoInner.md +30 -0
- data/docs/RequestCancelOrder.md +20 -0
- data/docs/RequestRegister.md +18 -0
- data/docs/RequestRegisterSymbolsInner.md +20 -0
- data/docs/RequestSendOrder.md +52 -0
- data/docs/RequestSendOrderDerivFuture.md +42 -0
- data/docs/RequestSendOrderDerivFutureReverseLimitOrder.md +24 -0
- data/docs/RequestSendOrderDerivOption.md +42 -0
- data/docs/RequestSendOrderReverseLimitOrder.md +26 -0
- data/docs/RequestToken.md +18 -0
- data/docs/RequestUnregister.md +18 -0
- data/docs/SymbolNameSuccess.md +20 -0
- data/docs/SymbolSuccess.md +64 -0
- data/docs/TokenSuccess.md +20 -0
- data/docs/UnregisterAllSuccess.md +18 -0
- data/docs/WalletApi.md +535 -0
- data/docs/WalletCashSuccess.md +22 -0
- data/docs/WalletFutureSuccess.md +22 -0
- data/docs/WalletMarginSuccess.md +24 -0
- data/docs/WalletOptionSuccess.md +22 -0
- data/git_push.sh +57 -0
- data/kabustation_client.gemspec +39 -0
- data/lib/kabustation_client/api/auth_api.rb +90 -0
- data/lib/kabustation_client/api/info_api.rb +1044 -0
- data/lib/kabustation_client/api/order_api.rb +322 -0
- data/lib/kabustation_client/api/register_api.rb +236 -0
- data/lib/kabustation_client/api/wallet_api.rb +558 -0
- data/lib/kabustation_client/api_client.rb +393 -0
- data/lib/kabustation_client/api_error.rb +58 -0
- data/lib/kabustation_client/configuration.rb +295 -0
- data/lib/kabustation_client/models/api_soft_limit_response.rb +285 -0
- data/lib/kabustation_client/models/board_success.rb +816 -0
- data/lib/kabustation_client/models/board_success_buy1.rb +246 -0
- data/lib/kabustation_client/models/board_success_buy10.rb +226 -0
- data/lib/kabustation_client/models/board_success_buy2.rb +226 -0
- data/lib/kabustation_client/models/board_success_buy3.rb +226 -0
- data/lib/kabustation_client/models/board_success_buy4.rb +226 -0
- data/lib/kabustation_client/models/board_success_buy5.rb +226 -0
- data/lib/kabustation_client/models/board_success_buy6.rb +226 -0
- data/lib/kabustation_client/models/board_success_buy7.rb +226 -0
- data/lib/kabustation_client/models/board_success_buy8.rb +226 -0
- data/lib/kabustation_client/models/board_success_buy9.rb +226 -0
- data/lib/kabustation_client/models/board_success_sell1.rb +246 -0
- data/lib/kabustation_client/models/board_success_sell10.rb +226 -0
- data/lib/kabustation_client/models/board_success_sell2.rb +226 -0
- data/lib/kabustation_client/models/board_success_sell3.rb +226 -0
- data/lib/kabustation_client/models/board_success_sell4.rb +226 -0
- data/lib/kabustation_client/models/board_success_sell5.rb +226 -0
- data/lib/kabustation_client/models/board_success_sell6.rb +226 -0
- data/lib/kabustation_client/models/board_success_sell7.rb +226 -0
- data/lib/kabustation_client/models/board_success_sell8.rb +226 -0
- data/lib/kabustation_client/models/board_success_sell9.rb +226 -0
- data/lib/kabustation_client/models/error_response.rb +225 -0
- data/lib/kabustation_client/models/exchange_response.rb +265 -0
- data/lib/kabustation_client/models/margin_premium_response.rb +233 -0
- data/lib/kabustation_client/models/margin_premium_response_day_trade.rb +256 -0
- data/lib/kabustation_client/models/margin_premium_response_general_margin.rb +256 -0
- data/lib/kabustation_client/models/order_success.rb +225 -0
- data/lib/kabustation_client/models/orders_success.rb +417 -0
- data/lib/kabustation_client/models/orders_success_details_inner.rb +345 -0
- data/lib/kabustation_client/models/positions.rb +225 -0
- data/lib/kabustation_client/models/positions_deriv.rb +225 -0
- data/lib/kabustation_client/models/positions_success.rb +415 -0
- data/lib/kabustation_client/models/primary_exchange_response.rb +225 -0
- data/lib/kabustation_client/models/ranking_by_category_response.rb +237 -0
- data/lib/kabustation_client/models/ranking_by_category_response_ranking_inner.rb +295 -0
- data/lib/kabustation_client/models/ranking_by_margin_response.rb +237 -0
- data/lib/kabustation_client/models/ranking_by_margin_response_ranking_inner.rb +305 -0
- data/lib/kabustation_client/models/ranking_by_tick_count_response.rb +237 -0
- data/lib/kabustation_client/models/ranking_by_tick_count_response_ranking_inner.rb +355 -0
- data/lib/kabustation_client/models/ranking_by_trade_value_response.rb +237 -0
- data/lib/kabustation_client/models/ranking_by_trade_value_response_ranking_inner.rb +335 -0
- data/lib/kabustation_client/models/ranking_by_trade_volume_response.rb +237 -0
- data/lib/kabustation_client/models/ranking_by_trade_volume_response_ranking_inner.rb +335 -0
- data/lib/kabustation_client/models/ranking_default_response.rb +237 -0
- data/lib/kabustation_client/models/ranking_default_response_ranking_inner.rb +335 -0
- data/lib/kabustation_client/models/ranking_get200_response.rb +109 -0
- data/lib/kabustation_client/models/regist_success.rb +217 -0
- data/lib/kabustation_client/models/regulations_response.rb +227 -0
- data/lib/kabustation_client/models/regulations_response_regulations_info_inner.rb +275 -0
- data/lib/kabustation_client/models/request_cancel_order.rb +239 -0
- data/lib/kabustation_client/models/request_register.rb +216 -0
- data/lib/kabustation_client/models/request_register_symbols_inner.rb +225 -0
- data/lib/kabustation_client/models/request_send_order.rb +470 -0
- data/lib/kabustation_client/models/request_send_order_deriv_future.rb +406 -0
- data/lib/kabustation_client/models/request_send_order_deriv_future_reverse_limit_order.rb +274 -0
- data/lib/kabustation_client/models/request_send_order_deriv_option.rb +406 -0
- data/lib/kabustation_client/models/request_send_order_reverse_limit_order.rb +291 -0
- data/lib/kabustation_client/models/request_token.rb +222 -0
- data/lib/kabustation_client/models/request_unregister.rb +217 -0
- data/lib/kabustation_client/models/symbol_name_success.rb +225 -0
- data/lib/kabustation_client/models/symbol_success.rb +445 -0
- data/lib/kabustation_client/models/token_success.rb +225 -0
- data/lib/kabustation_client/models/unregister_all_success.rb +215 -0
- data/lib/kabustation_client/models/wallet_cash_success.rb +235 -0
- data/lib/kabustation_client/models/wallet_future_success.rb +235 -0
- data/lib/kabustation_client/models/wallet_margin_success.rb +245 -0
- data/lib/kabustation_client/models/wallet_option_success.rb +235 -0
- data/lib/kabustation_client/version.rb +15 -0
- data/lib/kabustation_client.rb +112 -0
- data/spec/api/auth_api_spec.rb +47 -0
- data/spec/api/info_api_spec.rb +222 -0
- data/spec/api/order_api_spec.rb +87 -0
- data/spec/api/register_api_spec.rb +73 -0
- data/spec/api/wallet_api_spec.rb +135 -0
- data/spec/models/api_soft_limit_response_spec.rb +78 -0
- data/spec/models/board_success_buy10_spec.rb +42 -0
- data/spec/models/board_success_buy1_spec.rb +54 -0
- data/spec/models/board_success_buy2_spec.rb +42 -0
- data/spec/models/board_success_buy3_spec.rb +42 -0
- data/spec/models/board_success_buy4_spec.rb +42 -0
- data/spec/models/board_success_buy5_spec.rb +42 -0
- data/spec/models/board_success_buy6_spec.rb +42 -0
- data/spec/models/board_success_buy7_spec.rb +42 -0
- data/spec/models/board_success_buy8_spec.rb +42 -0
- data/spec/models/board_success_buy9_spec.rb +42 -0
- data/spec/models/board_success_sell10_spec.rb +42 -0
- data/spec/models/board_success_sell1_spec.rb +54 -0
- data/spec/models/board_success_sell2_spec.rb +42 -0
- data/spec/models/board_success_sell3_spec.rb +42 -0
- data/spec/models/board_success_sell4_spec.rb +42 -0
- data/spec/models/board_success_sell5_spec.rb +42 -0
- data/spec/models/board_success_sell6_spec.rb +42 -0
- data/spec/models/board_success_sell7_spec.rb +42 -0
- data/spec/models/board_success_sell8_spec.rb +42 -0
- data/spec/models/board_success_sell9_spec.rb +42 -0
- data/spec/models/board_success_spec.rb +408 -0
- data/spec/models/error_response_spec.rb +42 -0
- data/spec/models/exchange_response_spec.rb +66 -0
- data/spec/models/margin_premium_response_day_trade_spec.rb +60 -0
- data/spec/models/margin_premium_response_general_margin_spec.rb +60 -0
- data/spec/models/margin_premium_response_spec.rb +48 -0
- data/spec/models/order_success_spec.rb +42 -0
- data/spec/models/orders_success_details_inner_spec.rb +114 -0
- data/spec/models/orders_success_spec.rb +156 -0
- data/spec/models/positions_deriv_spec.rb +42 -0
- data/spec/models/positions_spec.rb +42 -0
- data/spec/models/positions_success_spec.rb +156 -0
- data/spec/models/primary_exchange_response_spec.rb +42 -0
- data/spec/models/ranking_by_category_response_ranking_inner_spec.rb +84 -0
- data/spec/models/ranking_by_category_response_spec.rb +48 -0
- data/spec/models/ranking_by_margin_response_ranking_inner_spec.rb +90 -0
- data/spec/models/ranking_by_margin_response_spec.rb +48 -0
- data/spec/models/ranking_by_tick_count_response_ranking_inner_spec.rb +120 -0
- data/spec/models/ranking_by_tick_count_response_spec.rb +48 -0
- data/spec/models/ranking_by_trade_value_response_ranking_inner_spec.rb +108 -0
- data/spec/models/ranking_by_trade_value_response_spec.rb +48 -0
- data/spec/models/ranking_by_trade_volume_response_ranking_inner_spec.rb +108 -0
- data/spec/models/ranking_by_trade_volume_response_spec.rb +48 -0
- data/spec/models/ranking_default_response_ranking_inner_spec.rb +108 -0
- data/spec/models/ranking_default_response_spec.rb +48 -0
- data/spec/models/ranking_get200_response_spec.rb +32 -0
- data/spec/models/regist_success_spec.rb +36 -0
- data/spec/models/regulations_response_regulations_info_inner_spec.rb +72 -0
- data/spec/models/regulations_response_spec.rb +42 -0
- data/spec/models/request_cancel_order_spec.rb +42 -0
- data/spec/models/request_register_spec.rb +36 -0
- data/spec/models/request_register_symbols_inner_spec.rb +42 -0
- data/spec/models/request_send_order_deriv_future_reverse_limit_order_spec.rb +54 -0
- data/spec/models/request_send_order_deriv_future_spec.rb +108 -0
- data/spec/models/request_send_order_deriv_option_spec.rb +108 -0
- data/spec/models/request_send_order_reverse_limit_order_spec.rb +60 -0
- data/spec/models/request_send_order_spec.rb +138 -0
- data/spec/models/request_token_spec.rb +36 -0
- data/spec/models/request_unregister_spec.rb +36 -0
- data/spec/models/symbol_name_success_spec.rb +42 -0
- data/spec/models/symbol_success_spec.rb +174 -0
- data/spec/models/token_success_spec.rb +42 -0
- data/spec/models/unregister_all_success_spec.rb +36 -0
- data/spec/models/wallet_cash_success_spec.rb +48 -0
- data/spec/models/wallet_future_success_spec.rb +48 -0
- data/spec/models/wallet_margin_success_spec.rb +54 -0
- data/spec/models/wallet_option_success_spec.rb +48 -0
- data/spec/spec_helper.rb +111 -0
- metadata +387 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 2c33a5cc757b28ab04c421de1dd15f43420cd8d07998502c3ca08ecd063842c1
|
4
|
+
data.tar.gz: 84fa537a1535baeeced0893df2f9ff74942d3d5270c716a05b81dabb389e4510
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 2ddb78fc1356d5a51850f3481aab09d7f39988d16a3979a26eb43529be07bd673e832cc27cc992691fb0db8cd6ad7ce9dd3a19c7fff69d4b646abee98a9613c5
|
7
|
+
data.tar.gz: 8e4a36e824359417ee20ab54788d940b214d35dbe1b7bd6d84003fd5ef078cb5b3e821ab0117e1895a545a60ff082d8ceb0d3ba43f7da384a588a77c6b2c04ef
|
data/Gemfile
ADDED
data/README.md
ADDED
@@ -0,0 +1,188 @@
|
|
1
|
+
# kabustation_client
|
2
|
+
|
3
|
+
KabustationClient - the Ruby gem for the kabuステーションAPI
|
4
|
+
|
5
|
+
# 定義情報
|
6
|
+
REST APIのコード一覧、エンドポイントは下記リンク参照
|
7
|
+
- [REST APIコード一覧](../ptal/error.html)
|
8
|
+
|
9
|
+
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
10
|
+
|
11
|
+
- API version: 1.5
|
12
|
+
- Package version: 1.0.0
|
13
|
+
- Generator version: 7.4.0
|
14
|
+
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
15
|
+
For more information, please visit [https://kabucom.github.io/kabusapi/ptal/index.html](https://kabucom.github.io/kabusapi/ptal/index.html)
|
16
|
+
|
17
|
+
## Installation
|
18
|
+
|
19
|
+
### Build a gem
|
20
|
+
|
21
|
+
To build the Ruby code into a gem:
|
22
|
+
|
23
|
+
```shell
|
24
|
+
gem build kabustation_client.gemspec
|
25
|
+
```
|
26
|
+
|
27
|
+
Then either install the gem locally:
|
28
|
+
|
29
|
+
```shell
|
30
|
+
gem install ./kabustation_client-1.0.0.gem
|
31
|
+
```
|
32
|
+
|
33
|
+
(for development, run `gem install --dev ./kabustation_client-1.0.0.gem` to install the development dependencies)
|
34
|
+
|
35
|
+
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
36
|
+
|
37
|
+
Finally add this to the Gemfile:
|
38
|
+
|
39
|
+
gem 'kabustation_client', '~> 1.0.0'
|
40
|
+
|
41
|
+
### Install from Git
|
42
|
+
|
43
|
+
If the Ruby gem is hosted at a git repository: https://github.com/GIT_USER_ID/GIT_REPO_ID, then add the following in the Gemfile:
|
44
|
+
|
45
|
+
gem 'kabustation_client', :git => 'https://github.com/GIT_USER_ID/GIT_REPO_ID.git'
|
46
|
+
|
47
|
+
### Include the Ruby code directly
|
48
|
+
|
49
|
+
Include the Ruby code directly using `-I` as follows:
|
50
|
+
|
51
|
+
```shell
|
52
|
+
ruby -Ilib script.rb
|
53
|
+
```
|
54
|
+
|
55
|
+
## Getting Started
|
56
|
+
|
57
|
+
Please follow the [installation](#installation) procedure and then run the following code:
|
58
|
+
|
59
|
+
```ruby
|
60
|
+
# Load the gem
|
61
|
+
require 'kabustation_client'
|
62
|
+
|
63
|
+
api_instance = KabustationClient::AuthApi.new
|
64
|
+
request_token = KabustationClient::RequestToken.new({api_password: 'xxxxxx'}) # RequestToken |
|
65
|
+
|
66
|
+
begin
|
67
|
+
#トークン発行
|
68
|
+
result = api_instance.token_post(request_token)
|
69
|
+
p result
|
70
|
+
rescue KabustationClient::ApiError => e
|
71
|
+
puts "Exception when calling AuthApi->token_post: #{e}"
|
72
|
+
end
|
73
|
+
|
74
|
+
```
|
75
|
+
|
76
|
+
## Documentation for API Endpoints
|
77
|
+
|
78
|
+
All URIs are relative to *http://localhost:18080/kabusapi*
|
79
|
+
|
80
|
+
Class | Method | HTTP request | Description
|
81
|
+
------------ | ------------- | ------------- | -------------
|
82
|
+
*KabustationClient::AuthApi* | [**token_post**](docs/AuthApi.md#token_post) | **POST** /token | トークン発行
|
83
|
+
*KabustationClient::InfoApi* | [**apisoftlimit_get**](docs/InfoApi.md#apisoftlimit_get) | **GET** /apisoftlimit | ソフトリミット
|
84
|
+
*KabustationClient::InfoApi* | [**board_get**](docs/InfoApi.md#board_get) | **GET** /board/{symbol} | 時価情報・板情報
|
85
|
+
*KabustationClient::InfoApi* | [**exchange_get**](docs/InfoApi.md#exchange_get) | **GET** /exchange/{symbol} | 為替情報
|
86
|
+
*KabustationClient::InfoApi* | [**marginpremium_get**](docs/InfoApi.md#marginpremium_get) | **GET** /margin/marginpremium/{symbol} | プレミアム料取得
|
87
|
+
*KabustationClient::InfoApi* | [**orders_get**](docs/InfoApi.md#orders_get) | **GET** /orders | 注文約定照会
|
88
|
+
*KabustationClient::InfoApi* | [**positions_get**](docs/InfoApi.md#positions_get) | **GET** /positions | 残高照会
|
89
|
+
*KabustationClient::InfoApi* | [**primary_exchange_get**](docs/InfoApi.md#primary_exchange_get) | **GET** /primaryexchange/{symbol} | 優先市場
|
90
|
+
*KabustationClient::InfoApi* | [**ranking_get**](docs/InfoApi.md#ranking_get) | **GET** /ranking | 詳細ランキング
|
91
|
+
*KabustationClient::InfoApi* | [**regulations_get**](docs/InfoApi.md#regulations_get) | **GET** /regulations/{symbol} | 規制情報
|
92
|
+
*KabustationClient::InfoApi* | [**symbol_get**](docs/InfoApi.md#symbol_get) | **GET** /symbol/{symbol} | 銘柄情報
|
93
|
+
*KabustationClient::InfoApi* | [**symbolname_future_get**](docs/InfoApi.md#symbolname_future_get) | **GET** /symbolname/future | 先物銘柄コード取得
|
94
|
+
*KabustationClient::InfoApi* | [**symbolname_option_get**](docs/InfoApi.md#symbolname_option_get) | **GET** /symbolname/option | オプション銘柄コード取得
|
95
|
+
*KabustationClient::InfoApi* | [**symbolname_option_mini_get**](docs/InfoApi.md#symbolname_option_mini_get) | **GET** /symbolname/minioptionweekly | ミニオプション(限週)銘柄コード取得
|
96
|
+
*KabustationClient::OrderApi* | [**cancelorder_put**](docs/OrderApi.md#cancelorder_put) | **PUT** /cancelorder | 注文取消
|
97
|
+
*KabustationClient::OrderApi* | [**sendoder_future_post**](docs/OrderApi.md#sendoder_future_post) | **POST** /sendorder/future | 注文発注(先物)
|
98
|
+
*KabustationClient::OrderApi* | [**sendorder_option_post**](docs/OrderApi.md#sendorder_option_post) | **POST** /sendorder/option | 注文発注(オプション)
|
99
|
+
*KabustationClient::OrderApi* | [**sendorder_post**](docs/OrderApi.md#sendorder_post) | **POST** /sendorder | 注文発注(現物・信用)
|
100
|
+
*KabustationClient::RegisterApi* | [**register_put**](docs/RegisterApi.md#register_put) | **PUT** /register | 銘柄登録
|
101
|
+
*KabustationClient::RegisterApi* | [**unregister_all_put**](docs/RegisterApi.md#unregister_all_put) | **PUT** /unregister/all | 銘柄登録全解除
|
102
|
+
*KabustationClient::RegisterApi* | [**unregister_put**](docs/RegisterApi.md#unregister_put) | **PUT** /unregister | 銘柄登録解除
|
103
|
+
*KabustationClient::WalletApi* | [**wallet_cash_get**](docs/WalletApi.md#wallet_cash_get) | **GET** /wallet/cash | 取引余力(現物)
|
104
|
+
*KabustationClient::WalletApi* | [**wallet_cash_symbol_get**](docs/WalletApi.md#wallet_cash_symbol_get) | **GET** /wallet/cash/{symbol} | 取引余力(現物)(銘柄指定)
|
105
|
+
*KabustationClient::WalletApi* | [**wallet_future_get**](docs/WalletApi.md#wallet_future_get) | **GET** /wallet/future | 取引余力(先物)
|
106
|
+
*KabustationClient::WalletApi* | [**wallet_future_symbol_get**](docs/WalletApi.md#wallet_future_symbol_get) | **GET** /wallet/future/{symbol} | 取引余力(先物)(銘柄指定)
|
107
|
+
*KabustationClient::WalletApi* | [**wallet_margin_get**](docs/WalletApi.md#wallet_margin_get) | **GET** /wallet/margin | 取引余力(信用)
|
108
|
+
*KabustationClient::WalletApi* | [**wallet_margin_symbol_get**](docs/WalletApi.md#wallet_margin_symbol_get) | **GET** /wallet/margin/{symbol} | 取引余力(信用)(銘柄指定)
|
109
|
+
*KabustationClient::WalletApi* | [**wallet_option_get**](docs/WalletApi.md#wallet_option_get) | **GET** /wallet/option | 取引余力(オプション)
|
110
|
+
*KabustationClient::WalletApi* | [**wallet_option_symbol_get**](docs/WalletApi.md#wallet_option_symbol_get) | **GET** /wallet/option/{symbol} | 取引余力(オプション)(銘柄指定)
|
111
|
+
|
112
|
+
|
113
|
+
## Documentation for Models
|
114
|
+
|
115
|
+
- [KabustationClient::ApiSoftLimitResponse](docs/ApiSoftLimitResponse.md)
|
116
|
+
- [KabustationClient::BoardSuccess](docs/BoardSuccess.md)
|
117
|
+
- [KabustationClient::BoardSuccessBuy1](docs/BoardSuccessBuy1.md)
|
118
|
+
- [KabustationClient::BoardSuccessBuy10](docs/BoardSuccessBuy10.md)
|
119
|
+
- [KabustationClient::BoardSuccessBuy2](docs/BoardSuccessBuy2.md)
|
120
|
+
- [KabustationClient::BoardSuccessBuy3](docs/BoardSuccessBuy3.md)
|
121
|
+
- [KabustationClient::BoardSuccessBuy4](docs/BoardSuccessBuy4.md)
|
122
|
+
- [KabustationClient::BoardSuccessBuy5](docs/BoardSuccessBuy5.md)
|
123
|
+
- [KabustationClient::BoardSuccessBuy6](docs/BoardSuccessBuy6.md)
|
124
|
+
- [KabustationClient::BoardSuccessBuy7](docs/BoardSuccessBuy7.md)
|
125
|
+
- [KabustationClient::BoardSuccessBuy8](docs/BoardSuccessBuy8.md)
|
126
|
+
- [KabustationClient::BoardSuccessBuy9](docs/BoardSuccessBuy9.md)
|
127
|
+
- [KabustationClient::BoardSuccessSell1](docs/BoardSuccessSell1.md)
|
128
|
+
- [KabustationClient::BoardSuccessSell10](docs/BoardSuccessSell10.md)
|
129
|
+
- [KabustationClient::BoardSuccessSell2](docs/BoardSuccessSell2.md)
|
130
|
+
- [KabustationClient::BoardSuccessSell3](docs/BoardSuccessSell3.md)
|
131
|
+
- [KabustationClient::BoardSuccessSell4](docs/BoardSuccessSell4.md)
|
132
|
+
- [KabustationClient::BoardSuccessSell5](docs/BoardSuccessSell5.md)
|
133
|
+
- [KabustationClient::BoardSuccessSell6](docs/BoardSuccessSell6.md)
|
134
|
+
- [KabustationClient::BoardSuccessSell7](docs/BoardSuccessSell7.md)
|
135
|
+
- [KabustationClient::BoardSuccessSell8](docs/BoardSuccessSell8.md)
|
136
|
+
- [KabustationClient::BoardSuccessSell9](docs/BoardSuccessSell9.md)
|
137
|
+
- [KabustationClient::ErrorResponse](docs/ErrorResponse.md)
|
138
|
+
- [KabustationClient::ExchangeResponse](docs/ExchangeResponse.md)
|
139
|
+
- [KabustationClient::MarginPremiumResponse](docs/MarginPremiumResponse.md)
|
140
|
+
- [KabustationClient::MarginPremiumResponseDayTrade](docs/MarginPremiumResponseDayTrade.md)
|
141
|
+
- [KabustationClient::MarginPremiumResponseGeneralMargin](docs/MarginPremiumResponseGeneralMargin.md)
|
142
|
+
- [KabustationClient::OrderSuccess](docs/OrderSuccess.md)
|
143
|
+
- [KabustationClient::OrdersSuccess](docs/OrdersSuccess.md)
|
144
|
+
- [KabustationClient::OrdersSuccessDetailsInner](docs/OrdersSuccessDetailsInner.md)
|
145
|
+
- [KabustationClient::Positions](docs/Positions.md)
|
146
|
+
- [KabustationClient::PositionsDeriv](docs/PositionsDeriv.md)
|
147
|
+
- [KabustationClient::PositionsSuccess](docs/PositionsSuccess.md)
|
148
|
+
- [KabustationClient::PrimaryExchangeResponse](docs/PrimaryExchangeResponse.md)
|
149
|
+
- [KabustationClient::RankingByCategoryResponse](docs/RankingByCategoryResponse.md)
|
150
|
+
- [KabustationClient::RankingByCategoryResponseRankingInner](docs/RankingByCategoryResponseRankingInner.md)
|
151
|
+
- [KabustationClient::RankingByMarginResponse](docs/RankingByMarginResponse.md)
|
152
|
+
- [KabustationClient::RankingByMarginResponseRankingInner](docs/RankingByMarginResponseRankingInner.md)
|
153
|
+
- [KabustationClient::RankingByTickCountResponse](docs/RankingByTickCountResponse.md)
|
154
|
+
- [KabustationClient::RankingByTickCountResponseRankingInner](docs/RankingByTickCountResponseRankingInner.md)
|
155
|
+
- [KabustationClient::RankingByTradeValueResponse](docs/RankingByTradeValueResponse.md)
|
156
|
+
- [KabustationClient::RankingByTradeValueResponseRankingInner](docs/RankingByTradeValueResponseRankingInner.md)
|
157
|
+
- [KabustationClient::RankingByTradeVolumeResponse](docs/RankingByTradeVolumeResponse.md)
|
158
|
+
- [KabustationClient::RankingByTradeVolumeResponseRankingInner](docs/RankingByTradeVolumeResponseRankingInner.md)
|
159
|
+
- [KabustationClient::RankingDefaultResponse](docs/RankingDefaultResponse.md)
|
160
|
+
- [KabustationClient::RankingDefaultResponseRankingInner](docs/RankingDefaultResponseRankingInner.md)
|
161
|
+
- [KabustationClient::RankingGet200Response](docs/RankingGet200Response.md)
|
162
|
+
- [KabustationClient::RegistSuccess](docs/RegistSuccess.md)
|
163
|
+
- [KabustationClient::RegulationsResponse](docs/RegulationsResponse.md)
|
164
|
+
- [KabustationClient::RegulationsResponseRegulationsInfoInner](docs/RegulationsResponseRegulationsInfoInner.md)
|
165
|
+
- [KabustationClient::RequestCancelOrder](docs/RequestCancelOrder.md)
|
166
|
+
- [KabustationClient::RequestRegister](docs/RequestRegister.md)
|
167
|
+
- [KabustationClient::RequestRegisterSymbolsInner](docs/RequestRegisterSymbolsInner.md)
|
168
|
+
- [KabustationClient::RequestSendOrder](docs/RequestSendOrder.md)
|
169
|
+
- [KabustationClient::RequestSendOrderDerivFuture](docs/RequestSendOrderDerivFuture.md)
|
170
|
+
- [KabustationClient::RequestSendOrderDerivFutureReverseLimitOrder](docs/RequestSendOrderDerivFutureReverseLimitOrder.md)
|
171
|
+
- [KabustationClient::RequestSendOrderDerivOption](docs/RequestSendOrderDerivOption.md)
|
172
|
+
- [KabustationClient::RequestSendOrderReverseLimitOrder](docs/RequestSendOrderReverseLimitOrder.md)
|
173
|
+
- [KabustationClient::RequestToken](docs/RequestToken.md)
|
174
|
+
- [KabustationClient::RequestUnregister](docs/RequestUnregister.md)
|
175
|
+
- [KabustationClient::SymbolNameSuccess](docs/SymbolNameSuccess.md)
|
176
|
+
- [KabustationClient::SymbolSuccess](docs/SymbolSuccess.md)
|
177
|
+
- [KabustationClient::TokenSuccess](docs/TokenSuccess.md)
|
178
|
+
- [KabustationClient::UnregisterAllSuccess](docs/UnregisterAllSuccess.md)
|
179
|
+
- [KabustationClient::WalletCashSuccess](docs/WalletCashSuccess.md)
|
180
|
+
- [KabustationClient::WalletFutureSuccess](docs/WalletFutureSuccess.md)
|
181
|
+
- [KabustationClient::WalletMarginSuccess](docs/WalletMarginSuccess.md)
|
182
|
+
- [KabustationClient::WalletOptionSuccess](docs/WalletOptionSuccess.md)
|
183
|
+
|
184
|
+
|
185
|
+
## Documentation for Authorization
|
186
|
+
|
187
|
+
Endpoints do not require authorization.
|
188
|
+
|
data/Rakefile
ADDED
@@ -0,0 +1,32 @@
|
|
1
|
+
# KabustationClient::ApiSoftLimitResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **stock** | **Float** | 現物のワンショット上限<br>※単位は万円 | [optional] |
|
8
|
+
| **margin** | **Float** | 信用のワンショット上限<br>※単位は万円 | [optional] |
|
9
|
+
| **future** | **Float** | 先物のワンショット上限<br>※単位は枚 | [optional] |
|
10
|
+
| **future_mini** | **Float** | ミニ先物のワンショット上限<br>※単位は枚 | [optional] |
|
11
|
+
| **future_micro** | **Float** | マイクロ先物のワンショット上限<br>※単位は枚 | [optional] |
|
12
|
+
| **option** | **Float** | オプションのワンショット上限<br>※単位は枚 | [optional] |
|
13
|
+
| **mini_option** | **Float** | ミニオプションのワンショット上限<br>※単位は枚 | [optional] |
|
14
|
+
| **kabu_s_version** | **String** | kabuステーションのバージョン | [optional] |
|
15
|
+
|
16
|
+
## Example
|
17
|
+
|
18
|
+
```ruby
|
19
|
+
require 'kabustation_client'
|
20
|
+
|
21
|
+
instance = KabustationClient::ApiSoftLimitResponse.new(
|
22
|
+
stock: null,
|
23
|
+
margin: null,
|
24
|
+
future: null,
|
25
|
+
future_mini: null,
|
26
|
+
future_micro: null,
|
27
|
+
option: null,
|
28
|
+
mini_option: null,
|
29
|
+
kabu_s_version: null
|
30
|
+
)
|
31
|
+
```
|
32
|
+
|
data/docs/AuthApi.md
ADDED
@@ -0,0 +1,72 @@
|
|
1
|
+
# KabustationClient::AuthApi
|
2
|
+
|
3
|
+
All URIs are relative to *http://localhost:18080/kabusapi*
|
4
|
+
|
5
|
+
| Method | HTTP request | Description |
|
6
|
+
| ------ | ------------ | ----------- |
|
7
|
+
| [**token_post**](AuthApi.md#token_post) | **POST** /token | トークン発行 |
|
8
|
+
|
9
|
+
|
10
|
+
## token_post
|
11
|
+
|
12
|
+
> <TokenSuccess> token_post(request_token)
|
13
|
+
|
14
|
+
トークン発行
|
15
|
+
|
16
|
+
APIトークンを発行します。<br> 発行したトークンは有効である限り使用することができ、リクエストごとに発行する必要はありません。<br> 発行されたAPIトークンは以下のタイミングで無効となります。<br> ・kabuステーションを終了した時<br> ・kabuステーションからログアウトした時<br> ・別のトークンが新たに発行された時<br> ※kabuステーションは早朝、強制的にログアウトいたしますのでご留意ください。<br>
|
17
|
+
|
18
|
+
### Examples
|
19
|
+
|
20
|
+
```ruby
|
21
|
+
require 'time'
|
22
|
+
require 'kabustation_client'
|
23
|
+
|
24
|
+
api_instance = KabustationClient::AuthApi.new
|
25
|
+
request_token = KabustationClient::RequestToken.new({api_password: 'xxxxxx'}) # RequestToken |
|
26
|
+
|
27
|
+
begin
|
28
|
+
# トークン発行
|
29
|
+
result = api_instance.token_post(request_token)
|
30
|
+
p result
|
31
|
+
rescue KabustationClient::ApiError => e
|
32
|
+
puts "Error when calling AuthApi->token_post: #{e}"
|
33
|
+
end
|
34
|
+
```
|
35
|
+
|
36
|
+
#### Using the token_post_with_http_info variant
|
37
|
+
|
38
|
+
This returns an Array which contains the response data, status code and headers.
|
39
|
+
|
40
|
+
> <Array(<TokenSuccess>, Integer, Hash)> token_post_with_http_info(request_token)
|
41
|
+
|
42
|
+
```ruby
|
43
|
+
begin
|
44
|
+
# トークン発行
|
45
|
+
data, status_code, headers = api_instance.token_post_with_http_info(request_token)
|
46
|
+
p status_code # => 2xx
|
47
|
+
p headers # => { ... }
|
48
|
+
p data # => <TokenSuccess>
|
49
|
+
rescue KabustationClient::ApiError => e
|
50
|
+
puts "Error when calling AuthApi->token_post_with_http_info: #{e}"
|
51
|
+
end
|
52
|
+
```
|
53
|
+
|
54
|
+
### Parameters
|
55
|
+
|
56
|
+
| Name | Type | Description | Notes |
|
57
|
+
| ---- | ---- | ----------- | ----- |
|
58
|
+
| **request_token** | [**RequestToken**](RequestToken.md) | | |
|
59
|
+
|
60
|
+
### Return type
|
61
|
+
|
62
|
+
[**TokenSuccess**](TokenSuccess.md)
|
63
|
+
|
64
|
+
### Authorization
|
65
|
+
|
66
|
+
No authorization required
|
67
|
+
|
68
|
+
### HTTP request headers
|
69
|
+
|
70
|
+
- **Content-Type**: application/json
|
71
|
+
- **Accept**: application/json
|
72
|
+
|
@@ -0,0 +1,142 @@
|
|
1
|
+
# KabustationClient::BoardSuccess
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **symbol** | **String** | 銘柄コード | [optional] |
|
8
|
+
| **symbol_name** | **String** | 銘柄名 | [optional] |
|
9
|
+
| **exchange** | **Integer** | 市場コード<br>※株式・先物・オプション銘柄の場合のみ <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> <tr> <td>2</td> <td>日通し</td> </tr> <tr> <td>23</td> <td>日中</td> </tr> <tr> <td>24</td> <td>夜間</td> </tr> </tbody> </table> | [optional] |
|
10
|
+
| **exchange_name** | **String** | 市場名称<br>※株式・先物・オプション銘柄の場合のみ | [optional] |
|
11
|
+
| **current_price** | **Float** | 現値 | [optional] |
|
12
|
+
| **current_price_time** | **Time** | 現値時刻 | [optional] |
|
13
|
+
| **current_price_change_status** | **String** | 現値前値比較 <table> <thead> <tr> <th>定義値</th> <th>説明</th> </tr> </thead> <tbody> <tr> <td>0000</td> <td>事象なし</td> </tr> <tr> <td>0056</td> <td>変わらず</td> </tr> <tr> <td>0057</td> <td>UP</td> </tr> <tr> <td>0058</td> <td>DOWN</td> </tr> <tr> <td>0059</td> <td>中断板寄り後の初値</td> </tr> <tr> <td>0060</td> <td>ザラバ引け</td> </tr> <tr> <td>0061</td> <td>板寄り引け</td> </tr> <tr> <td>0062</td> <td>中断引け</td> </tr> <tr> <td>0063</td> <td>ダウン引け</td> </tr> <tr> <td>0064</td> <td>逆転終値</td> </tr> <tr> <td>0066</td> <td>特別気配引け</td> </tr> <tr> <td>0067</td> <td>一時留保引け</td> </tr> <tr> <td>0068</td> <td>売買停止引け</td> </tr> <tr> <td>0069</td> <td>サーキットブレーカ引け</td> </tr> <tr> <td>0431</td> <td>ダイナミックサーキットブレーカ引け</td> </tr> </tbody> </table> | [optional] |
|
14
|
+
| **current_price_status** | **Integer** | 現値ステータス <table> <thead> <tr> <th>定義値</th> <th>説明</th> </tr> </thead> <tbody> <tr> <td>1</td> <td>現値</td> </tr> <tr> <td>2</td> <td>不連続歩み</td> </tr> <tr> <td>3</td> <td>板寄せ</td> </tr> <tr> <td>4</td> <td>システム障害</td> </tr> <tr> <td>5</td> <td>中断</td> </tr> <tr> <td>6</td> <td>売買停止</td> </tr> <tr> <td>7</td> <td>売買停止・システム停止解除</td> </tr> <tr> <td>8</td> <td>終値</td> </tr> <tr> <td>9</td> <td>システム停止</td> </tr> <tr> <td>10</td> <td>概算値</td> </tr> <tr> <td>11</td> <td>参考値</td> </tr> <tr> <td>12</td> <td>サーキットブレイク実施中</td> </tr> <tr> <td>13</td> <td>システム障害解除</td> </tr> <tr> <td>14</td> <td>サーキットブレイク解除</td> </tr> <tr> <td>15</td> <td>中断解除</td> </tr> <tr> <td>16</td> <td>一時留保中</td> </tr> <tr> <td>17</td> <td>一時留保解除</td> </tr> <tr> <td>18</td> <td>ファイル障害</td> </tr> <tr> <td>19</td> <td>ファイル障害解除</td> </tr> <tr> <td>20</td> <td>Spread/Strategy</td> </tr> <tr> <td>21</td> <td>ダイナミックサーキットブレイク発動</td> </tr> <tr> <td>22</td> <td>ダイナミックサーキットブレイク解除</td> </tr> <tr> <td>23</td> <td>板寄せ約定</td> </tr> </tbody> </table> | [optional] |
|
15
|
+
| **calc_price** | **Float** | 計算用現値 | [optional] |
|
16
|
+
| **previous_close** | **Float** | 前日終値 | [optional] |
|
17
|
+
| **previous_close_time** | **Time** | 前日終値日付 | [optional] |
|
18
|
+
| **change_previous_close** | **Float** | 前日比 | [optional] |
|
19
|
+
| **change_previous_close_per** | **Float** | 騰落率 | [optional] |
|
20
|
+
| **opening_price** | **Float** | 始値 | [optional] |
|
21
|
+
| **opening_price_time** | **Time** | 始値時刻 | [optional] |
|
22
|
+
| **high_price** | **Float** | 高値 | [optional] |
|
23
|
+
| **high_price_time** | **Time** | 高値時刻 | [optional] |
|
24
|
+
| **low_price** | **Float** | 安値 | [optional] |
|
25
|
+
| **low_price_time** | **Time** | 安値時刻 | [optional] |
|
26
|
+
| **trading_volume** | **Float** | 売買高<br>※株式・先物・オプション銘柄の場合のみ | [optional] |
|
27
|
+
| **trading_volume_time** | **Time** | 売買高時刻<br>※株式・先物・オプション銘柄の場合のみ | [optional] |
|
28
|
+
| **vwap** | **Float** | 売買高加重平均価格(VWAP)<br>※株式・先物・オプション銘柄の場合のみ | [optional] |
|
29
|
+
| **trading_value** | **Float** | 売買代金<br>※株式・先物・オプション銘柄の場合のみ | [optional] |
|
30
|
+
| **bid_qty** | **Float** | 最良売気配数量 ※①<br>※株式・先物・オプション銘柄の場合のみ | [optional] |
|
31
|
+
| **bid_price** | **Float** | 最良売気配値段 ※①<br>※株式・先物・オプション銘柄の場合のみ | [optional] |
|
32
|
+
| **bid_time** | **Time** | 最良売気配時刻 ※①<br>※株式銘柄の場合のみ | [optional] |
|
33
|
+
| **bid_sign** | **String** | 最良売気配フラグ ※①<br>※株式・先物・オプション銘柄の場合のみ <table> <thead> <tr> <th>定義値</th> <th>説明</th> </tr> </thead> <tbody> <tr> <td>0000</td> <td>事象なし</td> </tr> <tr> <td>0101</td> <td>一般気配</td> </tr> <tr> <td>0102</td> <td>特別気配</td> </tr> <tr> <td>0103</td> <td>注意気配</td> </tr> <tr> <td>0107</td> <td>寄前気配</td> </tr> <tr> <td>0108</td> <td>停止前特別気配</td> </tr> <tr> <td>0109</td> <td>引け後気配</td> </tr> <tr> <td>0116</td> <td>寄前気配約定成立ポイントなし</td> </tr> <tr> <td>0117</td> <td>寄前気配約定成立ポイントあり</td> </tr> <tr> <td>0118</td> <td>連続約定気配</td> </tr> <tr> <td>0119</td> <td>停止前の連続約定気配</td> </tr> <tr> <td>0120</td> <td>買い上がり売り下がり中</td> </tr> </tbody> </table> | [optional] |
|
34
|
+
| **market_order_sell_qty** | **Float** | 売成行数量<br>※株式銘柄の場合のみ | [optional] |
|
35
|
+
| **sell1** | [**BoardSuccessSell1**](BoardSuccessSell1.md) | | [optional] |
|
36
|
+
| **sell2** | [**BoardSuccessSell2**](BoardSuccessSell2.md) | | [optional] |
|
37
|
+
| **sell3** | [**BoardSuccessSell3**](BoardSuccessSell3.md) | | [optional] |
|
38
|
+
| **sell4** | [**BoardSuccessSell4**](BoardSuccessSell4.md) | | [optional] |
|
39
|
+
| **sell5** | [**BoardSuccessSell5**](BoardSuccessSell5.md) | | [optional] |
|
40
|
+
| **sell6** | [**BoardSuccessSell6**](BoardSuccessSell6.md) | | [optional] |
|
41
|
+
| **sell7** | [**BoardSuccessSell7**](BoardSuccessSell7.md) | | [optional] |
|
42
|
+
| **sell8** | [**BoardSuccessSell8**](BoardSuccessSell8.md) | | [optional] |
|
43
|
+
| **sell9** | [**BoardSuccessSell9**](BoardSuccessSell9.md) | | [optional] |
|
44
|
+
| **sell10** | [**BoardSuccessSell10**](BoardSuccessSell10.md) | | [optional] |
|
45
|
+
| **ask_qty** | **Float** | 最良買気配数量 ※①<br>※株式・先物・オプション銘柄の場合のみ | [optional] |
|
46
|
+
| **ask_price** | **Float** | 最良買気配値段 ※①<br>※株式・先物・オプション銘柄の場合のみ | [optional] |
|
47
|
+
| **ask_time** | **Time** | 最良買気配時刻 ※①<br>※株式銘柄の場合のみ | [optional] |
|
48
|
+
| **ask_sign** | **String** | 最良買気配フラグ ※①<br>※株式・先物・オプション銘柄の場合のみ <table> <thead> <tr> <th>定義値</th> <th>説明</th> </tr> </thead> <tbody> <tr> <td>0000</td> <td>事象なし</td> </tr> <tr> <td>0101</td> <td>一般気配</td> </tr> <tr> <td>0102</td> <td>特別気配</td> </tr> <tr> <td>0103</td> <td>注意気配</td> </tr> <tr> <td>0107</td> <td>寄前気配</td> </tr> <tr> <td>0108</td> <td>停止前特別気配</td> </tr> <tr> <td>0109</td> <td>引け後気配</td> </tr> <tr> <td>0116</td> <td>寄前気配約定成立ポイントなし</td> </tr> <tr> <td>0117</td> <td>寄前気配約定成立ポイントあり</td> </tr> <tr> <td>0118</td> <td>連続約定気配</td> </tr> <tr> <td>0119</td> <td>停止前の連続約定気配</td> </tr> <tr> <td>0120</td> <td>買い上がり売り下がり中</td> </tr> </tbody> </table> | [optional] |
|
49
|
+
| **market_order_buy_qty** | **Float** | 買成行数量<br>※株式銘柄の場合のみ | [optional] |
|
50
|
+
| **buy1** | [**BoardSuccessBuy1**](BoardSuccessBuy1.md) | | [optional] |
|
51
|
+
| **buy2** | [**BoardSuccessBuy2**](BoardSuccessBuy2.md) | | [optional] |
|
52
|
+
| **buy3** | [**BoardSuccessBuy3**](BoardSuccessBuy3.md) | | [optional] |
|
53
|
+
| **buy4** | [**BoardSuccessBuy4**](BoardSuccessBuy4.md) | | [optional] |
|
54
|
+
| **buy5** | [**BoardSuccessBuy5**](BoardSuccessBuy5.md) | | [optional] |
|
55
|
+
| **buy6** | [**BoardSuccessBuy6**](BoardSuccessBuy6.md) | | [optional] |
|
56
|
+
| **buy7** | [**BoardSuccessBuy7**](BoardSuccessBuy7.md) | | [optional] |
|
57
|
+
| **buy8** | [**BoardSuccessBuy8**](BoardSuccessBuy8.md) | | [optional] |
|
58
|
+
| **buy9** | [**BoardSuccessBuy9**](BoardSuccessBuy9.md) | | [optional] |
|
59
|
+
| **buy10** | [**BoardSuccessBuy10**](BoardSuccessBuy10.md) | | [optional] |
|
60
|
+
| **over_sell_qty** | **Float** | OVER気配数量<br>※株式銘柄の場合のみ | [optional] |
|
61
|
+
| **under_buy_qty** | **Float** | UNDER気配数量<br>※株式銘柄の場合のみ | [optional] |
|
62
|
+
| **total_market_value** | **Float** | 時価総額<br>※株式銘柄の場合のみ | [optional] |
|
63
|
+
| **clearing_price** | **Float** | 清算値<br>※先物銘柄の場合のみ | [optional] |
|
64
|
+
| **iv** | **Float** | インプライド・ボラティリティ<br>※オプション銘柄かつ日通しの場合のみ | [optional] |
|
65
|
+
| **gamma** | **Float** | ガンマ<br>※オプション銘柄かつ日通しの場合のみ | [optional] |
|
66
|
+
| **theta** | **Float** | セータ<br>※オプション銘柄かつ日通しの場合のみ | [optional] |
|
67
|
+
| **vega** | **Float** | ベガ<br>※オプション銘柄かつ日通しの場合のみ | [optional] |
|
68
|
+
| **delta** | **Float** | デルタ<br>※オプション銘柄かつ日通しの場合のみ | [optional] |
|
69
|
+
| **security_type** | **Integer** | 銘柄種別 <table> <thead> <tr> <th>定義値</th> <th>説明</th> </tr> </thead> <tbody> <tr> <td>0</td> <td>指数</td> </tr> <tr> <td>1</td> <td>現物</td> </tr> <tr> <td>101</td> <td>日経225先物</td> </tr> <tr> <td>103</td> <td>日経225OP</td> </tr> <tr> <td>107</td> <td>TOPIX先物</td> </tr> <tr> <td>121</td> <td>JPX400先物</td> </tr> <tr> <td>144</td> <td>NYダウ</td> </tr> <tr> <td>145</td> <td>日経平均VI</td> </tr> <tr> <td>154</td> <td>グロース250先物</td> </tr> <tr> <td>155</td> <td>TOPIX_REIT</td> </tr> <tr> <td>171</td> <td>TOPIX CORE30</td> </tr> <tr> <td>901</td> <td>日経平均225ミニ先物</td> </tr> <tr> <td>907</td> <td>TOPIXミニ先物</td> </tr> </tbody> </table> | [optional] |
|
70
|
+
|
71
|
+
## Example
|
72
|
+
|
73
|
+
```ruby
|
74
|
+
require 'kabustation_client'
|
75
|
+
|
76
|
+
instance = KabustationClient::BoardSuccess.new(
|
77
|
+
symbol: null,
|
78
|
+
symbol_name: null,
|
79
|
+
exchange: 1,
|
80
|
+
exchange_name: null,
|
81
|
+
current_price: null,
|
82
|
+
current_price_time: null,
|
83
|
+
current_price_change_status: null,
|
84
|
+
current_price_status: null,
|
85
|
+
calc_price: null,
|
86
|
+
previous_close: null,
|
87
|
+
previous_close_time: null,
|
88
|
+
change_previous_close: null,
|
89
|
+
change_previous_close_per: null,
|
90
|
+
opening_price: null,
|
91
|
+
opening_price_time: null,
|
92
|
+
high_price: null,
|
93
|
+
high_price_time: null,
|
94
|
+
low_price: null,
|
95
|
+
low_price_time: null,
|
96
|
+
trading_volume: null,
|
97
|
+
trading_volume_time: null,
|
98
|
+
vwap: null,
|
99
|
+
trading_value: null,
|
100
|
+
bid_qty: null,
|
101
|
+
bid_price: null,
|
102
|
+
bid_time: null,
|
103
|
+
bid_sign: null,
|
104
|
+
market_order_sell_qty: null,
|
105
|
+
sell1: null,
|
106
|
+
sell2: null,
|
107
|
+
sell3: null,
|
108
|
+
sell4: null,
|
109
|
+
sell5: null,
|
110
|
+
sell6: null,
|
111
|
+
sell7: null,
|
112
|
+
sell8: null,
|
113
|
+
sell9: null,
|
114
|
+
sell10: null,
|
115
|
+
ask_qty: null,
|
116
|
+
ask_price: null,
|
117
|
+
ask_time: null,
|
118
|
+
ask_sign: null,
|
119
|
+
market_order_buy_qty: null,
|
120
|
+
buy1: null,
|
121
|
+
buy2: null,
|
122
|
+
buy3: null,
|
123
|
+
buy4: null,
|
124
|
+
buy5: null,
|
125
|
+
buy6: null,
|
126
|
+
buy7: null,
|
127
|
+
buy8: null,
|
128
|
+
buy9: null,
|
129
|
+
buy10: null,
|
130
|
+
over_sell_qty: null,
|
131
|
+
under_buy_qty: null,
|
132
|
+
total_market_value: null,
|
133
|
+
clearing_price: null,
|
134
|
+
iv: null,
|
135
|
+
gamma: null,
|
136
|
+
theta: null,
|
137
|
+
vega: null,
|
138
|
+
delta: null,
|
139
|
+
security_type: null
|
140
|
+
)
|
141
|
+
```
|
142
|
+
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# KabustationClient::BoardSuccessBuy1
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **time** | **Time** | 時刻<br>※株式銘柄の場合のみ | [optional] |
|
8
|
+
| **sign** | **String** | 気配フラグ<br>※株式・先物・オプション銘柄の場合のみ <table> <thead> <tr> <th>定義値</th> <th>説明</th> </tr> </thead> <tbody> <tr> <td>0000</td> <td>事象なし</td> </tr> <tr> <td>0101</td> <td>一般気配</td> </tr> <tr> <td>0102</td> <td>特別気配</td> </tr> <tr> <td>0103</td> <td>注意気配</td> </tr> <tr> <td>0107</td> <td>寄前気配</td> </tr> <tr> <td>0108</td> <td>停止前特別気配</td> </tr> <tr> <td>0109</td> <td>引け後気配</td> </tr> <tr> <td>0116</td> <td>寄前気配約定成立ポイントなし</td> </tr> <tr> <td>0117</td> <td>寄前気配約定成立ポイントあり</td> </tr> <tr> <td>0118</td> <td>連続約定気配</td> </tr> <tr> <td>0119</td> <td>停止前の連続約定気配</td> </tr> <tr> <td>0120</td> <td>買い上がり売り下がり中</td> </tr> </tbody> </table> | [optional] |
|
9
|
+
| **price** | **Float** | 値段<br>※株式・先物・オプション銘柄の場合のみ | [optional] |
|
10
|
+
| **qty** | **Float** | 数量<br>※株式・先物・オプション銘柄の場合のみ | [optional] |
|
11
|
+
|
12
|
+
## Example
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'kabustation_client'
|
16
|
+
|
17
|
+
instance = KabustationClient::BoardSuccessBuy1.new(
|
18
|
+
time: null,
|
19
|
+
sign: null,
|
20
|
+
price: null,
|
21
|
+
qty: null
|
22
|
+
)
|
23
|
+
```
|
24
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# KabustationClient::BoardSuccessBuy10
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **price** | **Float** | 値段<br>※株式・先物・オプション銘柄の場合のみ | [optional] |
|
8
|
+
| **qty** | **Float** | 数量<br>※株式・先物・オプション銘柄の場合のみ | [optional] |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'kabustation_client'
|
14
|
+
|
15
|
+
instance = KabustationClient::BoardSuccessBuy10.new(
|
16
|
+
price: null,
|
17
|
+
qty: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# KabustationClient::BoardSuccessBuy2
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **price** | **Float** | 値段<br>※株式・先物・オプション銘柄の場合のみ | [optional] |
|
8
|
+
| **qty** | **Float** | 数量<br>※株式・先物・オプション銘柄の場合のみ | [optional] |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'kabustation_client'
|
14
|
+
|
15
|
+
instance = KabustationClient::BoardSuccessBuy2.new(
|
16
|
+
price: null,
|
17
|
+
qty: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# KabustationClient::BoardSuccessBuy3
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **price** | **Float** | 値段<br>※株式・先物・オプション銘柄の場合のみ | [optional] |
|
8
|
+
| **qty** | **Float** | 数量<br>※株式・先物・オプション銘柄の場合のみ | [optional] |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'kabustation_client'
|
14
|
+
|
15
|
+
instance = KabustationClient::BoardSuccessBuy3.new(
|
16
|
+
price: null,
|
17
|
+
qty: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# KabustationClient::BoardSuccessBuy4
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **price** | **Float** | 値段<br>※株式・先物・オプション銘柄の場合のみ | [optional] |
|
8
|
+
| **qty** | **Float** | 数量<br>※株式・先物・オプション銘柄の場合のみ | [optional] |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'kabustation_client'
|
14
|
+
|
15
|
+
instance = KabustationClient::BoardSuccessBuy4.new(
|
16
|
+
price: null,
|
17
|
+
qty: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# KabustationClient::BoardSuccessBuy5
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **price** | **Float** | 値段<br>※株式・先物・オプション銘柄の場合のみ | [optional] |
|
8
|
+
| **qty** | **Float** | 数量<br>※株式・先物・オプション銘柄の場合のみ | [optional] |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'kabustation_client'
|
14
|
+
|
15
|
+
instance = KabustationClient::BoardSuccessBuy5.new(
|
16
|
+
price: null,
|
17
|
+
qty: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# KabustationClient::BoardSuccessBuy6
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **price** | **Float** | 値段<br>※株式・先物・オプション銘柄の場合のみ | [optional] |
|
8
|
+
| **qty** | **Float** | 数量<br>※株式・先物・オプション銘柄の場合のみ | [optional] |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'kabustation_client'
|
14
|
+
|
15
|
+
instance = KabustationClient::BoardSuccessBuy6.new(
|
16
|
+
price: null,
|
17
|
+
qty: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|