kabustation_client 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (232) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +9 -0
  3. data/README.md +188 -0
  4. data/Rakefile +10 -0
  5. data/docs/ApiSoftLimitResponse.md +32 -0
  6. data/docs/AuthApi.md +72 -0
  7. data/docs/BoardSuccess.md +142 -0
  8. data/docs/BoardSuccessBuy1.md +24 -0
  9. data/docs/BoardSuccessBuy10.md +20 -0
  10. data/docs/BoardSuccessBuy2.md +20 -0
  11. data/docs/BoardSuccessBuy3.md +20 -0
  12. data/docs/BoardSuccessBuy4.md +20 -0
  13. data/docs/BoardSuccessBuy5.md +20 -0
  14. data/docs/BoardSuccessBuy6.md +20 -0
  15. data/docs/BoardSuccessBuy7.md +20 -0
  16. data/docs/BoardSuccessBuy8.md +20 -0
  17. data/docs/BoardSuccessBuy9.md +20 -0
  18. data/docs/BoardSuccessSell1.md +24 -0
  19. data/docs/BoardSuccessSell10.md +20 -0
  20. data/docs/BoardSuccessSell2.md +20 -0
  21. data/docs/BoardSuccessSell3.md +20 -0
  22. data/docs/BoardSuccessSell4.md +20 -0
  23. data/docs/BoardSuccessSell5.md +20 -0
  24. data/docs/BoardSuccessSell6.md +20 -0
  25. data/docs/BoardSuccessSell7.md +20 -0
  26. data/docs/BoardSuccessSell8.md +20 -0
  27. data/docs/BoardSuccessSell9.md +20 -0
  28. data/docs/ErrorResponse.md +20 -0
  29. data/docs/ExchangeResponse.md +28 -0
  30. data/docs/InfoApi.md +924 -0
  31. data/docs/MarginPremiumResponse.md +22 -0
  32. data/docs/MarginPremiumResponseDayTrade.md +26 -0
  33. data/docs/MarginPremiumResponseGeneralMargin.md +26 -0
  34. data/docs/OrderApi.md +275 -0
  35. data/docs/OrderSuccess.md +20 -0
  36. data/docs/OrdersSuccess.md +58 -0
  37. data/docs/OrdersSuccessDetailsInner.md +44 -0
  38. data/docs/Positions.md +20 -0
  39. data/docs/PositionsDeriv.md +20 -0
  40. data/docs/PositionsSuccess.md +58 -0
  41. data/docs/PrimaryExchangeResponse.md +20 -0
  42. data/docs/RankingByCategoryResponse.md +22 -0
  43. data/docs/RankingByCategoryResponseRankingInner.md +34 -0
  44. data/docs/RankingByMarginResponse.md +22 -0
  45. data/docs/RankingByMarginResponseRankingInner.md +36 -0
  46. data/docs/RankingByTickCountResponse.md +22 -0
  47. data/docs/RankingByTickCountResponseRankingInner.md +46 -0
  48. data/docs/RankingByTradeValueResponse.md +22 -0
  49. data/docs/RankingByTradeValueResponseRankingInner.md +42 -0
  50. data/docs/RankingByTradeVolumeResponse.md +22 -0
  51. data/docs/RankingByTradeVolumeResponseRankingInner.md +42 -0
  52. data/docs/RankingDefaultResponse.md +22 -0
  53. data/docs/RankingDefaultResponseRankingInner.md +42 -0
  54. data/docs/RankingGet200Response.md +57 -0
  55. data/docs/RegistSuccess.md +18 -0
  56. data/docs/RegisterApi.md +206 -0
  57. data/docs/RegulationsResponse.md +20 -0
  58. data/docs/RegulationsResponseRegulationsInfoInner.md +30 -0
  59. data/docs/RequestCancelOrder.md +20 -0
  60. data/docs/RequestRegister.md +18 -0
  61. data/docs/RequestRegisterSymbolsInner.md +20 -0
  62. data/docs/RequestSendOrder.md +52 -0
  63. data/docs/RequestSendOrderDerivFuture.md +42 -0
  64. data/docs/RequestSendOrderDerivFutureReverseLimitOrder.md +24 -0
  65. data/docs/RequestSendOrderDerivOption.md +42 -0
  66. data/docs/RequestSendOrderReverseLimitOrder.md +26 -0
  67. data/docs/RequestToken.md +18 -0
  68. data/docs/RequestUnregister.md +18 -0
  69. data/docs/SymbolNameSuccess.md +20 -0
  70. data/docs/SymbolSuccess.md +64 -0
  71. data/docs/TokenSuccess.md +20 -0
  72. data/docs/UnregisterAllSuccess.md +18 -0
  73. data/docs/WalletApi.md +535 -0
  74. data/docs/WalletCashSuccess.md +22 -0
  75. data/docs/WalletFutureSuccess.md +22 -0
  76. data/docs/WalletMarginSuccess.md +24 -0
  77. data/docs/WalletOptionSuccess.md +22 -0
  78. data/git_push.sh +57 -0
  79. data/kabustation_client.gemspec +39 -0
  80. data/lib/kabustation_client/api/auth_api.rb +90 -0
  81. data/lib/kabustation_client/api/info_api.rb +1044 -0
  82. data/lib/kabustation_client/api/order_api.rb +322 -0
  83. data/lib/kabustation_client/api/register_api.rb +236 -0
  84. data/lib/kabustation_client/api/wallet_api.rb +558 -0
  85. data/lib/kabustation_client/api_client.rb +393 -0
  86. data/lib/kabustation_client/api_error.rb +58 -0
  87. data/lib/kabustation_client/configuration.rb +295 -0
  88. data/lib/kabustation_client/models/api_soft_limit_response.rb +285 -0
  89. data/lib/kabustation_client/models/board_success.rb +816 -0
  90. data/lib/kabustation_client/models/board_success_buy1.rb +246 -0
  91. data/lib/kabustation_client/models/board_success_buy10.rb +226 -0
  92. data/lib/kabustation_client/models/board_success_buy2.rb +226 -0
  93. data/lib/kabustation_client/models/board_success_buy3.rb +226 -0
  94. data/lib/kabustation_client/models/board_success_buy4.rb +226 -0
  95. data/lib/kabustation_client/models/board_success_buy5.rb +226 -0
  96. data/lib/kabustation_client/models/board_success_buy6.rb +226 -0
  97. data/lib/kabustation_client/models/board_success_buy7.rb +226 -0
  98. data/lib/kabustation_client/models/board_success_buy8.rb +226 -0
  99. data/lib/kabustation_client/models/board_success_buy9.rb +226 -0
  100. data/lib/kabustation_client/models/board_success_sell1.rb +246 -0
  101. data/lib/kabustation_client/models/board_success_sell10.rb +226 -0
  102. data/lib/kabustation_client/models/board_success_sell2.rb +226 -0
  103. data/lib/kabustation_client/models/board_success_sell3.rb +226 -0
  104. data/lib/kabustation_client/models/board_success_sell4.rb +226 -0
  105. data/lib/kabustation_client/models/board_success_sell5.rb +226 -0
  106. data/lib/kabustation_client/models/board_success_sell6.rb +226 -0
  107. data/lib/kabustation_client/models/board_success_sell7.rb +226 -0
  108. data/lib/kabustation_client/models/board_success_sell8.rb +226 -0
  109. data/lib/kabustation_client/models/board_success_sell9.rb +226 -0
  110. data/lib/kabustation_client/models/error_response.rb +225 -0
  111. data/lib/kabustation_client/models/exchange_response.rb +265 -0
  112. data/lib/kabustation_client/models/margin_premium_response.rb +233 -0
  113. data/lib/kabustation_client/models/margin_premium_response_day_trade.rb +256 -0
  114. data/lib/kabustation_client/models/margin_premium_response_general_margin.rb +256 -0
  115. data/lib/kabustation_client/models/order_success.rb +225 -0
  116. data/lib/kabustation_client/models/orders_success.rb +417 -0
  117. data/lib/kabustation_client/models/orders_success_details_inner.rb +345 -0
  118. data/lib/kabustation_client/models/positions.rb +225 -0
  119. data/lib/kabustation_client/models/positions_deriv.rb +225 -0
  120. data/lib/kabustation_client/models/positions_success.rb +415 -0
  121. data/lib/kabustation_client/models/primary_exchange_response.rb +225 -0
  122. data/lib/kabustation_client/models/ranking_by_category_response.rb +237 -0
  123. data/lib/kabustation_client/models/ranking_by_category_response_ranking_inner.rb +295 -0
  124. data/lib/kabustation_client/models/ranking_by_margin_response.rb +237 -0
  125. data/lib/kabustation_client/models/ranking_by_margin_response_ranking_inner.rb +305 -0
  126. data/lib/kabustation_client/models/ranking_by_tick_count_response.rb +237 -0
  127. data/lib/kabustation_client/models/ranking_by_tick_count_response_ranking_inner.rb +355 -0
  128. data/lib/kabustation_client/models/ranking_by_trade_value_response.rb +237 -0
  129. data/lib/kabustation_client/models/ranking_by_trade_value_response_ranking_inner.rb +335 -0
  130. data/lib/kabustation_client/models/ranking_by_trade_volume_response.rb +237 -0
  131. data/lib/kabustation_client/models/ranking_by_trade_volume_response_ranking_inner.rb +335 -0
  132. data/lib/kabustation_client/models/ranking_default_response.rb +237 -0
  133. data/lib/kabustation_client/models/ranking_default_response_ranking_inner.rb +335 -0
  134. data/lib/kabustation_client/models/ranking_get200_response.rb +109 -0
  135. data/lib/kabustation_client/models/regist_success.rb +217 -0
  136. data/lib/kabustation_client/models/regulations_response.rb +227 -0
  137. data/lib/kabustation_client/models/regulations_response_regulations_info_inner.rb +275 -0
  138. data/lib/kabustation_client/models/request_cancel_order.rb +239 -0
  139. data/lib/kabustation_client/models/request_register.rb +216 -0
  140. data/lib/kabustation_client/models/request_register_symbols_inner.rb +225 -0
  141. data/lib/kabustation_client/models/request_send_order.rb +470 -0
  142. data/lib/kabustation_client/models/request_send_order_deriv_future.rb +406 -0
  143. data/lib/kabustation_client/models/request_send_order_deriv_future_reverse_limit_order.rb +274 -0
  144. data/lib/kabustation_client/models/request_send_order_deriv_option.rb +406 -0
  145. data/lib/kabustation_client/models/request_send_order_reverse_limit_order.rb +291 -0
  146. data/lib/kabustation_client/models/request_token.rb +222 -0
  147. data/lib/kabustation_client/models/request_unregister.rb +217 -0
  148. data/lib/kabustation_client/models/symbol_name_success.rb +225 -0
  149. data/lib/kabustation_client/models/symbol_success.rb +445 -0
  150. data/lib/kabustation_client/models/token_success.rb +225 -0
  151. data/lib/kabustation_client/models/unregister_all_success.rb +215 -0
  152. data/lib/kabustation_client/models/wallet_cash_success.rb +235 -0
  153. data/lib/kabustation_client/models/wallet_future_success.rb +235 -0
  154. data/lib/kabustation_client/models/wallet_margin_success.rb +245 -0
  155. data/lib/kabustation_client/models/wallet_option_success.rb +235 -0
  156. data/lib/kabustation_client/version.rb +15 -0
  157. data/lib/kabustation_client.rb +112 -0
  158. data/spec/api/auth_api_spec.rb +47 -0
  159. data/spec/api/info_api_spec.rb +222 -0
  160. data/spec/api/order_api_spec.rb +87 -0
  161. data/spec/api/register_api_spec.rb +73 -0
  162. data/spec/api/wallet_api_spec.rb +135 -0
  163. data/spec/models/api_soft_limit_response_spec.rb +78 -0
  164. data/spec/models/board_success_buy10_spec.rb +42 -0
  165. data/spec/models/board_success_buy1_spec.rb +54 -0
  166. data/spec/models/board_success_buy2_spec.rb +42 -0
  167. data/spec/models/board_success_buy3_spec.rb +42 -0
  168. data/spec/models/board_success_buy4_spec.rb +42 -0
  169. data/spec/models/board_success_buy5_spec.rb +42 -0
  170. data/spec/models/board_success_buy6_spec.rb +42 -0
  171. data/spec/models/board_success_buy7_spec.rb +42 -0
  172. data/spec/models/board_success_buy8_spec.rb +42 -0
  173. data/spec/models/board_success_buy9_spec.rb +42 -0
  174. data/spec/models/board_success_sell10_spec.rb +42 -0
  175. data/spec/models/board_success_sell1_spec.rb +54 -0
  176. data/spec/models/board_success_sell2_spec.rb +42 -0
  177. data/spec/models/board_success_sell3_spec.rb +42 -0
  178. data/spec/models/board_success_sell4_spec.rb +42 -0
  179. data/spec/models/board_success_sell5_spec.rb +42 -0
  180. data/spec/models/board_success_sell6_spec.rb +42 -0
  181. data/spec/models/board_success_sell7_spec.rb +42 -0
  182. data/spec/models/board_success_sell8_spec.rb +42 -0
  183. data/spec/models/board_success_sell9_spec.rb +42 -0
  184. data/spec/models/board_success_spec.rb +408 -0
  185. data/spec/models/error_response_spec.rb +42 -0
  186. data/spec/models/exchange_response_spec.rb +66 -0
  187. data/spec/models/margin_premium_response_day_trade_spec.rb +60 -0
  188. data/spec/models/margin_premium_response_general_margin_spec.rb +60 -0
  189. data/spec/models/margin_premium_response_spec.rb +48 -0
  190. data/spec/models/order_success_spec.rb +42 -0
  191. data/spec/models/orders_success_details_inner_spec.rb +114 -0
  192. data/spec/models/orders_success_spec.rb +156 -0
  193. data/spec/models/positions_deriv_spec.rb +42 -0
  194. data/spec/models/positions_spec.rb +42 -0
  195. data/spec/models/positions_success_spec.rb +156 -0
  196. data/spec/models/primary_exchange_response_spec.rb +42 -0
  197. data/spec/models/ranking_by_category_response_ranking_inner_spec.rb +84 -0
  198. data/spec/models/ranking_by_category_response_spec.rb +48 -0
  199. data/spec/models/ranking_by_margin_response_ranking_inner_spec.rb +90 -0
  200. data/spec/models/ranking_by_margin_response_spec.rb +48 -0
  201. data/spec/models/ranking_by_tick_count_response_ranking_inner_spec.rb +120 -0
  202. data/spec/models/ranking_by_tick_count_response_spec.rb +48 -0
  203. data/spec/models/ranking_by_trade_value_response_ranking_inner_spec.rb +108 -0
  204. data/spec/models/ranking_by_trade_value_response_spec.rb +48 -0
  205. data/spec/models/ranking_by_trade_volume_response_ranking_inner_spec.rb +108 -0
  206. data/spec/models/ranking_by_trade_volume_response_spec.rb +48 -0
  207. data/spec/models/ranking_default_response_ranking_inner_spec.rb +108 -0
  208. data/spec/models/ranking_default_response_spec.rb +48 -0
  209. data/spec/models/ranking_get200_response_spec.rb +32 -0
  210. data/spec/models/regist_success_spec.rb +36 -0
  211. data/spec/models/regulations_response_regulations_info_inner_spec.rb +72 -0
  212. data/spec/models/regulations_response_spec.rb +42 -0
  213. data/spec/models/request_cancel_order_spec.rb +42 -0
  214. data/spec/models/request_register_spec.rb +36 -0
  215. data/spec/models/request_register_symbols_inner_spec.rb +42 -0
  216. data/spec/models/request_send_order_deriv_future_reverse_limit_order_spec.rb +54 -0
  217. data/spec/models/request_send_order_deriv_future_spec.rb +108 -0
  218. data/spec/models/request_send_order_deriv_option_spec.rb +108 -0
  219. data/spec/models/request_send_order_reverse_limit_order_spec.rb +60 -0
  220. data/spec/models/request_send_order_spec.rb +138 -0
  221. data/spec/models/request_token_spec.rb +36 -0
  222. data/spec/models/request_unregister_spec.rb +36 -0
  223. data/spec/models/symbol_name_success_spec.rb +42 -0
  224. data/spec/models/symbol_success_spec.rb +174 -0
  225. data/spec/models/token_success_spec.rb +42 -0
  226. data/spec/models/unregister_all_success_spec.rb +36 -0
  227. data/spec/models/wallet_cash_success_spec.rb +48 -0
  228. data/spec/models/wallet_future_success_spec.rb +48 -0
  229. data/spec/models/wallet_margin_success_spec.rb +54 -0
  230. data/spec/models/wallet_option_success_spec.rb +48 -0
  231. data/spec/spec_helper.rb +111 -0
  232. 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
@@ -0,0 +1,9 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gemspec
4
+
5
+ group :development, :test do
6
+ gem 'rake', '~> 13.0.1'
7
+ gem 'pry-byebug'
8
+ gem 'rubocop', '~> 0.66.0'
9
+ end
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,10 @@
1
+ require "bundler/gem_tasks"
2
+
3
+ begin
4
+ require 'rspec/core/rake_task'
5
+
6
+ RSpec::Core::RakeTask.new(:spec)
7
+ task default: :spec
8
+ rescue LoadError
9
+ # no rspec available
10
+ end
@@ -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** | 市場コード&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;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;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; | [optional] |
10
+ | **exchange_name** | **String** | 市場名称&lt;br&gt;※株式・先物・オプション銘柄の場合のみ | [optional] |
11
+ | **current_price** | **Float** | 現値 | [optional] |
12
+ | **current_price_time** | **Time** | 現値時刻 | [optional] |
13
+ | **current_price_change_status** | **String** | 現値前値比較 &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;0000&lt;/td&gt; &lt;td&gt;事象なし&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;0056&lt;/td&gt; &lt;td&gt;変わらず&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;0057&lt;/td&gt; &lt;td&gt;UP&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;0058&lt;/td&gt; &lt;td&gt;DOWN&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;0059&lt;/td&gt; &lt;td&gt;中断板寄り後の初値&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;0060&lt;/td&gt; &lt;td&gt;ザラバ引け&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;0061&lt;/td&gt; &lt;td&gt;板寄り引け&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;0062&lt;/td&gt; &lt;td&gt;中断引け&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;0063&lt;/td&gt; &lt;td&gt;ダウン引け&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;0064&lt;/td&gt; &lt;td&gt;逆転終値&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;0066&lt;/td&gt; &lt;td&gt;特別気配引け&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;0067&lt;/td&gt; &lt;td&gt;一時留保引け&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;0068&lt;/td&gt; &lt;td&gt;売買停止引け&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;0069&lt;/td&gt; &lt;td&gt;サーキットブレーカ引け&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;0431&lt;/td&gt; &lt;td&gt;ダイナミックサーキットブレーカ引け&lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt; | [optional] |
14
+ | **current_price_status** | **Integer** | 現値ステータス &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;2&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;4&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;tr&gt; &lt;td&gt;7&lt;/td&gt; &lt;td&gt;売買停止・システム停止解除&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;8&lt;/td&gt; &lt;td&gt;終値&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;9&lt;/td&gt; &lt;td&gt;システム停止&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;10&lt;/td&gt; &lt;td&gt;概算値&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;11&lt;/td&gt; &lt;td&gt;参考値&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;12&lt;/td&gt; &lt;td&gt;サーキットブレイク実施中&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;13&lt;/td&gt; &lt;td&gt;システム障害解除&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;14&lt;/td&gt; &lt;td&gt;サーキットブレイク解除&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;15&lt;/td&gt; &lt;td&gt;中断解除&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;16&lt;/td&gt; &lt;td&gt;一時留保中&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;17&lt;/td&gt; &lt;td&gt;一時留保解除&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;18&lt;/td&gt; &lt;td&gt;ファイル障害&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;19&lt;/td&gt; &lt;td&gt;ファイル障害解除&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;20&lt;/td&gt; &lt;td&gt;Spread/Strategy&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;21&lt;/td&gt; &lt;td&gt;ダイナミックサーキットブレイク発動&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;22&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;/tbody&gt; &lt;/table&gt; | [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** | 売買高&lt;br&gt;※株式・先物・オプション銘柄の場合のみ | [optional] |
27
+ | **trading_volume_time** | **Time** | 売買高時刻&lt;br&gt;※株式・先物・オプション銘柄の場合のみ | [optional] |
28
+ | **vwap** | **Float** | 売買高加重平均価格(VWAP)&lt;br&gt;※株式・先物・オプション銘柄の場合のみ | [optional] |
29
+ | **trading_value** | **Float** | 売買代金&lt;br&gt;※株式・先物・オプション銘柄の場合のみ | [optional] |
30
+ | **bid_qty** | **Float** | 最良売気配数量 ※①&lt;br&gt;※株式・先物・オプション銘柄の場合のみ | [optional] |
31
+ | **bid_price** | **Float** | 最良売気配値段 ※①&lt;br&gt;※株式・先物・オプション銘柄の場合のみ | [optional] |
32
+ | **bid_time** | **Time** | 最良売気配時刻 ※①&lt;br&gt;※株式銘柄の場合のみ | [optional] |
33
+ | **bid_sign** | **String** | 最良売気配フラグ ※①&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;0000&lt;/td&gt; &lt;td&gt;事象なし&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;0101&lt;/td&gt; &lt;td&gt;一般気配&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;0102&lt;/td&gt; &lt;td&gt;特別気配&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;0103&lt;/td&gt; &lt;td&gt;注意気配&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;0107&lt;/td&gt; &lt;td&gt;寄前気配&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;0108&lt;/td&gt; &lt;td&gt;停止前特別気配&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;0109&lt;/td&gt; &lt;td&gt;引け後気配&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;0116&lt;/td&gt; &lt;td&gt;寄前気配約定成立ポイントなし&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;0117&lt;/td&gt; &lt;td&gt;寄前気配約定成立ポイントあり&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;0118&lt;/td&gt; &lt;td&gt;連続約定気配&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;0119&lt;/td&gt; &lt;td&gt;停止前の連続約定気配&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;0120&lt;/td&gt; &lt;td&gt;買い上がり売り下がり中&lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt; | [optional] |
34
+ | **market_order_sell_qty** | **Float** | 売成行数量&lt;br&gt;※株式銘柄の場合のみ | [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** | 最良買気配数量 ※①&lt;br&gt;※株式・先物・オプション銘柄の場合のみ | [optional] |
46
+ | **ask_price** | **Float** | 最良買気配値段 ※①&lt;br&gt;※株式・先物・オプション銘柄の場合のみ | [optional] |
47
+ | **ask_time** | **Time** | 最良買気配時刻 ※①&lt;br&gt;※株式銘柄の場合のみ | [optional] |
48
+ | **ask_sign** | **String** | 最良買気配フラグ ※①&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;0000&lt;/td&gt; &lt;td&gt;事象なし&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;0101&lt;/td&gt; &lt;td&gt;一般気配&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;0102&lt;/td&gt; &lt;td&gt;特別気配&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;0103&lt;/td&gt; &lt;td&gt;注意気配&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;0107&lt;/td&gt; &lt;td&gt;寄前気配&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;0108&lt;/td&gt; &lt;td&gt;停止前特別気配&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;0109&lt;/td&gt; &lt;td&gt;引け後気配&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;0116&lt;/td&gt; &lt;td&gt;寄前気配約定成立ポイントなし&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;0117&lt;/td&gt; &lt;td&gt;寄前気配約定成立ポイントあり&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;0118&lt;/td&gt; &lt;td&gt;連続約定気配&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;0119&lt;/td&gt; &lt;td&gt;停止前の連続約定気配&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;0120&lt;/td&gt; &lt;td&gt;買い上がり売り下がり中&lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt; | [optional] |
49
+ | **market_order_buy_qty** | **Float** | 買成行数量&lt;br&gt;※株式銘柄の場合のみ | [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気配数量&lt;br&gt;※株式銘柄の場合のみ | [optional] |
61
+ | **under_buy_qty** | **Float** | UNDER気配数量&lt;br&gt;※株式銘柄の場合のみ | [optional] |
62
+ | **total_market_value** | **Float** | 時価総額&lt;br&gt;※株式銘柄の場合のみ | [optional] |
63
+ | **clearing_price** | **Float** | 清算値&lt;br&gt;※先物銘柄の場合のみ | [optional] |
64
+ | **iv** | **Float** | インプライド・ボラティリティ&lt;br&gt;※オプション銘柄かつ日通しの場合のみ | [optional] |
65
+ | **gamma** | **Float** | ガンマ&lt;br&gt;※オプション銘柄かつ日通しの場合のみ | [optional] |
66
+ | **theta** | **Float** | セータ&lt;br&gt;※オプション銘柄かつ日通しの場合のみ | [optional] |
67
+ | **vega** | **Float** | ベガ&lt;br&gt;※オプション銘柄かつ日通しの場合のみ | [optional] |
68
+ | **delta** | **Float** | デルタ&lt;br&gt;※オプション銘柄かつ日通しの場合のみ | [optional] |
69
+ | **security_type** | **Integer** | 銘柄種別 &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;0&lt;/td&gt; &lt;td&gt;指数&lt;/td&gt; &lt;/tr&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;101&lt;/td&gt; &lt;td&gt;日経225先物&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;103&lt;/td&gt; &lt;td&gt;日経225OP&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;107&lt;/td&gt; &lt;td&gt;TOPIX先物&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;121&lt;/td&gt; &lt;td&gt;JPX400先物&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;144&lt;/td&gt; &lt;td&gt;NYダウ&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;145&lt;/td&gt; &lt;td&gt;日経平均VI&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;154&lt;/td&gt; &lt;td&gt;グロース250先物&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;155&lt;/td&gt; &lt;td&gt;TOPIX_REIT&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;171&lt;/td&gt; &lt;td&gt;TOPIX CORE30&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;901&lt;/td&gt; &lt;td&gt;日経平均225ミニ先物&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;907&lt;/td&gt; &lt;td&gt;TOPIXミニ先物&lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt; | [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** | 時刻&lt;br&gt;※株式銘柄の場合のみ | [optional] |
8
+ | **sign** | **String** | 気配フラグ&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;0000&lt;/td&gt; &lt;td&gt;事象なし&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;0101&lt;/td&gt; &lt;td&gt;一般気配&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;0102&lt;/td&gt; &lt;td&gt;特別気配&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;0103&lt;/td&gt; &lt;td&gt;注意気配&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;0107&lt;/td&gt; &lt;td&gt;寄前気配&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;0108&lt;/td&gt; &lt;td&gt;停止前特別気配&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;0109&lt;/td&gt; &lt;td&gt;引け後気配&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;0116&lt;/td&gt; &lt;td&gt;寄前気配約定成立ポイントなし&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;0117&lt;/td&gt; &lt;td&gt;寄前気配約定成立ポイントあり&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;0118&lt;/td&gt; &lt;td&gt;連続約定気配&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;0119&lt;/td&gt; &lt;td&gt;停止前の連続約定気配&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;0120&lt;/td&gt; &lt;td&gt;買い上がり売り下がり中&lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt; | [optional] |
9
+ | **price** | **Float** | 値段&lt;br&gt;※株式・先物・オプション銘柄の場合のみ | [optional] |
10
+ | **qty** | **Float** | 数量&lt;br&gt;※株式・先物・オプション銘柄の場合のみ | [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** | 値段&lt;br&gt;※株式・先物・オプション銘柄の場合のみ | [optional] |
8
+ | **qty** | **Float** | 数量&lt;br&gt;※株式・先物・オプション銘柄の場合のみ | [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** | 値段&lt;br&gt;※株式・先物・オプション銘柄の場合のみ | [optional] |
8
+ | **qty** | **Float** | 数量&lt;br&gt;※株式・先物・オプション銘柄の場合のみ | [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** | 値段&lt;br&gt;※株式・先物・オプション銘柄の場合のみ | [optional] |
8
+ | **qty** | **Float** | 数量&lt;br&gt;※株式・先物・オプション銘柄の場合のみ | [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** | 値段&lt;br&gt;※株式・先物・オプション銘柄の場合のみ | [optional] |
8
+ | **qty** | **Float** | 数量&lt;br&gt;※株式・先物・オプション銘柄の場合のみ | [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** | 値段&lt;br&gt;※株式・先物・オプション銘柄の場合のみ | [optional] |
8
+ | **qty** | **Float** | 数量&lt;br&gt;※株式・先物・オプション銘柄の場合のみ | [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** | 値段&lt;br&gt;※株式・先物・オプション銘柄の場合のみ | [optional] |
8
+ | **qty** | **Float** | 数量&lt;br&gt;※株式・先物・オプション銘柄の場合のみ | [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
+