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
@@ -0,0 +1,34 @@
1
+ # KabustationClient::RankingByCategoryResponseRankingInner
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **_false** | **Integer** | 順位<br>※ランキング内で同じ順位が返却される場合があります(10位が2件など) | [optional] |
8
+ | **trend** | **String** | トレンド <table> <thead> <tr> <th>定義値</th> <th>内容</th> </tr> </thead> <tbody> <tr> <td>0</td> <td>対象データ無し</td> </tr> <tr> <td>1</td> <td>過去10営業日より20位以上上昇</td> </tr> <tr> <td>2</td> <td>過去10営業日より1~19位上昇</td> </tr> <tr> <td>3</td> <td>過去10営業日と変わらず</td> </tr> <tr> <td>4</td> <td>過去10営業日より1~19位下落</td> </tr> <tr> <td>5</td> <td>過去10営業日より20位以上下落</td> </tr> </tbody> </table> | [optional] |
9
+ | **average_ranking** | **Float** | 平均順位<br>※100位以下は「999」となります | [optional] |
10
+ | **category** | **String** | 業種コード | [optional] |
11
+ | **category_name** | **String** | 業種名 | [optional] |
12
+ | **current_price** | **Float** | 現在値 | [optional] |
13
+ | **change_ratio** | **Float** | 前日比 | [optional] |
14
+ | **current_price_time** | **String** | 時刻<br>HH:mm<br>※日付は返しません | [optional] |
15
+ | **change_percentage** | **Float** | 騰落率(%) | [optional] |
16
+
17
+ ## Example
18
+
19
+ ```ruby
20
+ require 'kabustation_client'
21
+
22
+ instance = KabustationClient::RankingByCategoryResponseRankingInner.new(
23
+ _false: null,
24
+ trend: null,
25
+ average_ranking: null,
26
+ category: null,
27
+ category_name: null,
28
+ current_price: null,
29
+ change_ratio: null,
30
+ current_price_time: null,
31
+ change_percentage: null
32
+ )
33
+ ```
34
+
@@ -0,0 +1,22 @@
1
+ # KabustationClient::RankingByMarginResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **type** | **String** | 種別 | [optional] |
8
+ | **exchange_division** | **String** | 市場 | [optional] |
9
+ | **ranking** | [**Array<RankingByMarginResponseRankingInner>**](RankingByMarginResponseRankingInner.md) | ランキング | [optional] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'kabustation_client'
15
+
16
+ instance = KabustationClient::RankingByMarginResponse.new(
17
+ type: null,
18
+ exchange_division: null,
19
+ ranking: null
20
+ )
21
+ ```
22
+
@@ -0,0 +1,36 @@
1
+ # KabustationClient::RankingByMarginResponseRankingInner
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **_false** | **Integer** | 順位<br>※ランキング内で同じ順位が返却される場合があります(10位が2件など) | [optional] |
8
+ | **symbol** | **String** | 銘柄コード | [optional] |
9
+ | **symbol_name** | **String** | 銘柄名称 | [optional] |
10
+ | **sell_rapid_payment_percentage** | **Float** | 売残(千株) | [optional] |
11
+ | **sell_last_week_ratio** | **Float** | 売残前週比 | [optional] |
12
+ | **buy_rapid_payment_percentage** | **Float** | 買残(千株) | [optional] |
13
+ | **buy_last_week_ratio** | **Float** | 買残前週比 | [optional] |
14
+ | **ratio** | **Float** | 倍率 | [optional] |
15
+ | **exchange_name** | **String** | 市場名 | [optional] |
16
+ | **category_name** | **String** | 業種名 | [optional] |
17
+
18
+ ## Example
19
+
20
+ ```ruby
21
+ require 'kabustation_client'
22
+
23
+ instance = KabustationClient::RankingByMarginResponseRankingInner.new(
24
+ _false: null,
25
+ symbol: null,
26
+ symbol_name: null,
27
+ sell_rapid_payment_percentage: null,
28
+ sell_last_week_ratio: null,
29
+ buy_rapid_payment_percentage: null,
30
+ buy_last_week_ratio: null,
31
+ ratio: null,
32
+ exchange_name: null,
33
+ category_name: null
34
+ )
35
+ ```
36
+
@@ -0,0 +1,22 @@
1
+ # KabustationClient::RankingByTickCountResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **type** | **String** | 種別 | [optional] |
8
+ | **exchange_division** | **String** | 市場 | [optional] |
9
+ | **ranking** | [**Array<RankingByTickCountResponseRankingInner>**](RankingByTickCountResponseRankingInner.md) | ランキング | [optional] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'kabustation_client'
15
+
16
+ instance = KabustationClient::RankingByTickCountResponse.new(
17
+ type: null,
18
+ exchange_division: null,
19
+ ranking: null
20
+ )
21
+ ```
22
+
@@ -0,0 +1,46 @@
1
+ # KabustationClient::RankingByTickCountResponseRankingInner
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **_false** | **Integer** | 順位<br>※ランキング内で同じ順位が返却される場合があります(10位が2件など) | [optional] |
8
+ | **trend** | **String** | トレンド <table> <thead> <tr> <th>定義値</th> <th>内容</th> </tr> </thead> <tbody> <tr> <td>0</td> <td>対象データ無し</td> </tr> <tr> <td>1</td> <td>過去10営業日より20位以上上昇</td> </tr> <tr> <td>2</td> <td>過去10営業日より1~19位上昇</td> </tr> <tr> <td>3</td> <td>過去10営業日と変わらず</td> </tr> <tr> <td>4</td> <td>過去10営業日より1~19位下落</td> </tr> <tr> <td>5</td> <td>過去10営業日より20位以上下落</td> </tr> </tbody> </table> | [optional] |
9
+ | **average_ranking** | **Float** | 平均順位<br>※100位以下は「999」となります | [optional] |
10
+ | **symbol** | **String** | 銘柄コード | [optional] |
11
+ | **symbol_name** | **String** | 銘柄名称 | [optional] |
12
+ | **current_price** | **Float** | 現在値 | [optional] |
13
+ | **change_ratio** | **Float** | 前日比 | [optional] |
14
+ | **tick_count** | **Integer** | TICK回数 | [optional] |
15
+ | **up_count** | **Integer** | UP | [optional] |
16
+ | **down_count** | **Integer** | DOWN | [optional] |
17
+ | **change_percentage** | **Float** | 騰落率(%) | [optional] |
18
+ | **trading_volume** | **Float** | 売買高<br>売買高を千株単位で表示する<br>※百株の位を四捨五入 | [optional] |
19
+ | **turnover** | **Float** | 売買代金<br>売買代金を百万円単位で表示する<br>※十万円の位を四捨五入 | [optional] |
20
+ | **exchange_name** | **String** | 市場名 | [optional] |
21
+ | **category_name** | **String** | 業種名 | [optional] |
22
+
23
+ ## Example
24
+
25
+ ```ruby
26
+ require 'kabustation_client'
27
+
28
+ instance = KabustationClient::RankingByTickCountResponseRankingInner.new(
29
+ _false: null,
30
+ trend: null,
31
+ average_ranking: null,
32
+ symbol: null,
33
+ symbol_name: null,
34
+ current_price: null,
35
+ change_ratio: null,
36
+ tick_count: null,
37
+ up_count: null,
38
+ down_count: null,
39
+ change_percentage: null,
40
+ trading_volume: null,
41
+ turnover: null,
42
+ exchange_name: null,
43
+ category_name: null
44
+ )
45
+ ```
46
+
@@ -0,0 +1,22 @@
1
+ # KabustationClient::RankingByTradeValueResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **type** | **String** | 種別 | [optional] |
8
+ | **exchange_division** | **String** | 市場 | [optional] |
9
+ | **ranking** | [**Array<RankingByTradeValueResponseRankingInner>**](RankingByTradeValueResponseRankingInner.md) | ランキング | [optional] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'kabustation_client'
15
+
16
+ instance = KabustationClient::RankingByTradeValueResponse.new(
17
+ type: null,
18
+ exchange_division: null,
19
+ ranking: null
20
+ )
21
+ ```
22
+
@@ -0,0 +1,42 @@
1
+ # KabustationClient::RankingByTradeValueResponseRankingInner
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **_false** | **Integer** | 順位<br>※ランキング内で同じ順位が返却される場合があります(10位が2件など) | [optional] |
8
+ | **trend** | **String** | トレンド <table> <thead> <tr> <th>定義値</th> <th>内容</th> </tr> </thead> <tbody> <tr> <td>0</td> <td>対象データ無し</td> </tr> <tr> <td>1</td> <td>過去10営業日より20位以上上昇</td> </tr> <tr> <td>2</td> <td>過去10営業日より1~19位上昇</td> </tr> <tr> <td>3</td> <td>過去10営業日と変わらず</td> </tr> <tr> <td>4</td> <td>過去10営業日より1~19位下落</td> </tr> <tr> <td>5</td> <td>過去10営業日より20位以上下落</td> </tr> </tbody> </table> | [optional] |
9
+ | **average_ranking** | **Float** | 平均順位<br>※100位以下は「999」となります | [optional] |
10
+ | **symbol** | **String** | 銘柄コード | [optional] |
11
+ | **symbol_name** | **String** | 銘柄名称 | [optional] |
12
+ | **current_price** | **Float** | 現在値 | [optional] |
13
+ | **change_ratio** | **Float** | 前日比 | [optional] |
14
+ | **rapid_payment_percentage** | **Float** | 代金急増(%) | [optional] |
15
+ | **turnover** | **Float** | 売買代金<br>売買代金を百万円単位で表示する<br>※十万円の位を四捨五入 | [optional] |
16
+ | **current_price_time** | **String** | 時刻<br>HH:mm<br>※日付は返しません | [optional] |
17
+ | **change_percentage** | **Float** | 騰落率(%) | [optional] |
18
+ | **exchange_name** | **String** | 市場名 | [optional] |
19
+ | **category_name** | **String** | 業種名 | [optional] |
20
+
21
+ ## Example
22
+
23
+ ```ruby
24
+ require 'kabustation_client'
25
+
26
+ instance = KabustationClient::RankingByTradeValueResponseRankingInner.new(
27
+ _false: null,
28
+ trend: null,
29
+ average_ranking: null,
30
+ symbol: null,
31
+ symbol_name: null,
32
+ current_price: null,
33
+ change_ratio: null,
34
+ rapid_payment_percentage: null,
35
+ turnover: null,
36
+ current_price_time: null,
37
+ change_percentage: null,
38
+ exchange_name: null,
39
+ category_name: null
40
+ )
41
+ ```
42
+
@@ -0,0 +1,22 @@
1
+ # KabustationClient::RankingByTradeVolumeResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **type** | **String** | 種別 | [optional] |
8
+ | **exchange_division** | **String** | 市場 | [optional] |
9
+ | **ranking** | [**Array<RankingByTradeVolumeResponseRankingInner>**](RankingByTradeVolumeResponseRankingInner.md) | ランキング | [optional] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'kabustation_client'
15
+
16
+ instance = KabustationClient::RankingByTradeVolumeResponse.new(
17
+ type: null,
18
+ exchange_division: null,
19
+ ranking: null
20
+ )
21
+ ```
22
+
@@ -0,0 +1,42 @@
1
+ # KabustationClient::RankingByTradeVolumeResponseRankingInner
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **_false** | **Integer** | 順位<br>※ランキング内で同じ順位が返却される場合があります(10位が2件など) | [optional] |
8
+ | **trend** | **String** | トレンド <table> <thead> <tr> <th>定義値</th> <th>内容</th> </tr> </thead> <tbody> <tr> <td>0</td> <td>対象データ無し</td> </tr> <tr> <td>1</td> <td>過去10営業日より20位以上上昇</td> </tr> <tr> <td>2</td> <td>過去10営業日より1~19位上昇</td> </tr> <tr> <td>3</td> <td>過去10営業日と変わらず</td> </tr> <tr> <td>4</td> <td>過去10営業日より1~19位下落</td> </tr> <tr> <td>5</td> <td>過去10営業日より20位以上下落</td> </tr> </tbody> </table> | [optional] |
9
+ | **average_ranking** | **Float** | 平均順位<br>※100位以下は「999」となります | [optional] |
10
+ | **symbol** | **String** | 銘柄コード | [optional] |
11
+ | **symbol_name** | **String** | 銘柄名称 | [optional] |
12
+ | **current_price** | **Float** | 現在値 | [optional] |
13
+ | **change_ratio** | **Float** | 前日比 | [optional] |
14
+ | **rapid_trade_percentage** | **Float** | 売買高急増(%) | [optional] |
15
+ | **trading_volume** | **Float** | 売買高<br>売買高を千株単位で表示する<br>※百株の位を四捨五入 | [optional] |
16
+ | **current_price_time** | **String** | 時刻<br>HH:mm<br>※日付は返しません | [optional] |
17
+ | **change_percentage** | **Float** | 騰落率(%) | [optional] |
18
+ | **exchange_name** | **String** | 市場名 | [optional] |
19
+ | **category_name** | **String** | 業種名 | [optional] |
20
+
21
+ ## Example
22
+
23
+ ```ruby
24
+ require 'kabustation_client'
25
+
26
+ instance = KabustationClient::RankingByTradeVolumeResponseRankingInner.new(
27
+ _false: null,
28
+ trend: null,
29
+ average_ranking: null,
30
+ symbol: null,
31
+ symbol_name: null,
32
+ current_price: null,
33
+ change_ratio: null,
34
+ rapid_trade_percentage: null,
35
+ trading_volume: null,
36
+ current_price_time: null,
37
+ change_percentage: null,
38
+ exchange_name: null,
39
+ category_name: null
40
+ )
41
+ ```
42
+
@@ -0,0 +1,22 @@
1
+ # KabustationClient::RankingDefaultResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **type** | **String** | 種別 | [optional] |
8
+ | **exchange_division** | **String** | 市場 | [optional] |
9
+ | **ranking** | [**Array<RankingDefaultResponseRankingInner>**](RankingDefaultResponseRankingInner.md) | ランキング | [optional] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'kabustation_client'
15
+
16
+ instance = KabustationClient::RankingDefaultResponse.new(
17
+ type: null,
18
+ exchange_division: null,
19
+ ranking: null
20
+ )
21
+ ```
22
+
@@ -0,0 +1,42 @@
1
+ # KabustationClient::RankingDefaultResponseRankingInner
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **_false** | **Integer** | 順位<br>※ランキング内で同じ順位が返却される場合があります(10位が2件など) | [optional] |
8
+ | **trend** | **String** | トレンド <table> <thead> <tr> <th>定義値</th> <th>内容</th> </tr> </thead> <tbody> <tr> <td>0</td> <td>対象データ無し</td> </tr> <tr> <td>1</td> <td>過去10営業日より20位以上上昇</td> </tr> <tr> <td>2</td> <td>過去10営業日より1~19位上昇</td> </tr> <tr> <td>3</td> <td>過去10営業日と変わらず</td> </tr> <tr> <td>4</td> <td>過去10営業日より1~19位下落</td> </tr> <tr> <td>5</td> <td>過去10営業日より20位以上下落</td> </tr> </tbody> </table> | [optional] |
9
+ | **average_ranking** | **Float** | 平均順位<br>※100位以下は「999」となります | [optional] |
10
+ | **symbol** | **String** | 銘柄コード | [optional] |
11
+ | **symbol_name** | **String** | 銘柄名称 | [optional] |
12
+ | **current_price** | **Float** | 現在値 | [optional] |
13
+ | **change_ratio** | **Float** | 前日比 | [optional] |
14
+ | **change_percentage** | **Float** | 騰落率(%) | [optional] |
15
+ | **current_price_time** | **String** | 時刻<br>HH:mm<br>※日付は返しません | [optional] |
16
+ | **trading_volume** | **Float** | 売買高<br>売買高を千株単位で表示する<br>※百株の位を四捨五入 | [optional] |
17
+ | **turnover** | **Float** | 売買代金<br>売買代金を百万円単位で表示する<br>※十万円の位を四捨五入 | [optional] |
18
+ | **exchange_name** | **String** | 市場名 | [optional] |
19
+ | **category_name** | **String** | 業種名 | [optional] |
20
+
21
+ ## Example
22
+
23
+ ```ruby
24
+ require 'kabustation_client'
25
+
26
+ instance = KabustationClient::RankingDefaultResponseRankingInner.new(
27
+ _false: null,
28
+ trend: null,
29
+ average_ranking: null,
30
+ symbol: null,
31
+ symbol_name: null,
32
+ current_price: null,
33
+ change_ratio: null,
34
+ change_percentage: null,
35
+ current_price_time: null,
36
+ trading_volume: null,
37
+ turnover: null,
38
+ exchange_name: null,
39
+ category_name: null
40
+ )
41
+ ```
42
+
@@ -0,0 +1,57 @@
1
+ # KabustationClient::RankingGet200Response
2
+
3
+ ## Class instance methods
4
+
5
+ ### `openapi_one_of`
6
+
7
+ Returns the list of classes defined in oneOf.
8
+
9
+ #### Example
10
+
11
+ ```ruby
12
+ require 'kabustation_client'
13
+
14
+ KabustationClient::RankingGet200Response.openapi_one_of
15
+ # =>
16
+ # [
17
+ # :'RankingByCategoryResponse',
18
+ # :'RankingByMarginResponse',
19
+ # :'RankingByTickCountResponse',
20
+ # :'RankingByTradeValueResponse',
21
+ # :'RankingByTradeVolumeResponse',
22
+ # :'RankingDefaultResponse'
23
+ # ]
24
+ ```
25
+
26
+ ### build
27
+
28
+ Find the appropriate object from the `openapi_one_of` list and casts the data into it.
29
+
30
+ #### Example
31
+
32
+ ```ruby
33
+ require 'kabustation_client'
34
+
35
+ KabustationClient::RankingGet200Response.build(data)
36
+ # => #<RankingByCategoryResponse:0x00007fdd4aab02a0>
37
+
38
+ KabustationClient::RankingGet200Response.build(data_that_doesnt_match)
39
+ # => nil
40
+ ```
41
+
42
+ #### Parameters
43
+
44
+ | Name | Type | Description |
45
+ | ---- | ---- | ----------- |
46
+ | **data** | **Mixed** | data to be matched against the list of oneOf items |
47
+
48
+ #### Return type
49
+
50
+ - `RankingByCategoryResponse`
51
+ - `RankingByMarginResponse`
52
+ - `RankingByTickCountResponse`
53
+ - `RankingByTradeValueResponse`
54
+ - `RankingByTradeVolumeResponse`
55
+ - `RankingDefaultResponse`
56
+ - `nil` (if no type matches)
57
+
@@ -0,0 +1,18 @@
1
+ # KabustationClient::RegistSuccess
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **regist_list** | [**Array&lt;RequestRegisterSymbolsInner&gt;**](RequestRegisterSymbolsInner.md) | 現在登録されている銘柄のリスト | [optional] |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'kabustation_client'
13
+
14
+ instance = KabustationClient::RegistSuccess.new(
15
+ regist_list: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,206 @@
1
+ # KabustationClient::RegisterApi
2
+
3
+ All URIs are relative to *http://localhost:18080/kabusapi*
4
+
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**register_put**](RegisterApi.md#register_put) | **PUT** /register | 銘柄登録 |
8
+ | [**unregister_all_put**](RegisterApi.md#unregister_all_put) | **PUT** /unregister/all | 銘柄登録全解除 |
9
+ | [**unregister_put**](RegisterApi.md#unregister_put) | **PUT** /unregister | 銘柄登録解除 |
10
+
11
+
12
+ ## register_put
13
+
14
+ > <RegistSuccess> register_put(x_api_key, request_register)
15
+
16
+ 銘柄登録
17
+
18
+ PUSH配信する銘柄を登録します。<br> API登録銘柄リストを開くには、kabuステーションAPIインジケーターを右クリックし「API登録銘柄リスト」を選択してください。
19
+
20
+ ### Examples
21
+
22
+ ```ruby
23
+ require 'time'
24
+ require 'kabustation_client'
25
+
26
+ api_instance = KabustationClient::RegisterApi.new
27
+ x_api_key = 'x_api_key_example' # String | トークン発行メソッドで取得した文字列
28
+ request_register = KabustationClient::RequestRegister.new # RequestRegister | 登録する銘柄のリスト
29
+
30
+ begin
31
+ # 銘柄登録
32
+ result = api_instance.register_put(x_api_key, request_register)
33
+ p result
34
+ rescue KabustationClient::ApiError => e
35
+ puts "Error when calling RegisterApi->register_put: #{e}"
36
+ end
37
+ ```
38
+
39
+ #### Using the register_put_with_http_info variant
40
+
41
+ This returns an Array which contains the response data, status code and headers.
42
+
43
+ > <Array(<RegistSuccess>, Integer, Hash)> register_put_with_http_info(x_api_key, request_register)
44
+
45
+ ```ruby
46
+ begin
47
+ # 銘柄登録
48
+ data, status_code, headers = api_instance.register_put_with_http_info(x_api_key, request_register)
49
+ p status_code # => 2xx
50
+ p headers # => { ... }
51
+ p data # => <RegistSuccess>
52
+ rescue KabustationClient::ApiError => e
53
+ puts "Error when calling RegisterApi->register_put_with_http_info: #{e}"
54
+ end
55
+ ```
56
+
57
+ ### Parameters
58
+
59
+ | Name | Type | Description | Notes |
60
+ | ---- | ---- | ----------- | ----- |
61
+ | **x_api_key** | **String** | トークン発行メソッドで取得した文字列 | |
62
+ | **request_register** | [**RequestRegister**](RequestRegister.md) | 登録する銘柄のリスト | |
63
+
64
+ ### Return type
65
+
66
+ [**RegistSuccess**](RegistSuccess.md)
67
+
68
+ ### Authorization
69
+
70
+ No authorization required
71
+
72
+ ### HTTP request headers
73
+
74
+ - **Content-Type**: application/json
75
+ - **Accept**: application/json
76
+
77
+
78
+ ## unregister_all_put
79
+
80
+ > <UnregisterAllSuccess> unregister_all_put(x_api_key)
81
+
82
+ 銘柄登録全解除
83
+
84
+ API登録銘柄リストに登録されている銘柄をすべて解除します
85
+
86
+ ### Examples
87
+
88
+ ```ruby
89
+ require 'time'
90
+ require 'kabustation_client'
91
+
92
+ api_instance = KabustationClient::RegisterApi.new
93
+ x_api_key = 'x_api_key_example' # String | トークン発行メソッドで取得した文字列
94
+
95
+ begin
96
+ # 銘柄登録全解除
97
+ result = api_instance.unregister_all_put(x_api_key)
98
+ p result
99
+ rescue KabustationClient::ApiError => e
100
+ puts "Error when calling RegisterApi->unregister_all_put: #{e}"
101
+ end
102
+ ```
103
+
104
+ #### Using the unregister_all_put_with_http_info variant
105
+
106
+ This returns an Array which contains the response data, status code and headers.
107
+
108
+ > <Array(<UnregisterAllSuccess>, Integer, Hash)> unregister_all_put_with_http_info(x_api_key)
109
+
110
+ ```ruby
111
+ begin
112
+ # 銘柄登録全解除
113
+ data, status_code, headers = api_instance.unregister_all_put_with_http_info(x_api_key)
114
+ p status_code # => 2xx
115
+ p headers # => { ... }
116
+ p data # => <UnregisterAllSuccess>
117
+ rescue KabustationClient::ApiError => e
118
+ puts "Error when calling RegisterApi->unregister_all_put_with_http_info: #{e}"
119
+ end
120
+ ```
121
+
122
+ ### Parameters
123
+
124
+ | Name | Type | Description | Notes |
125
+ | ---- | ---- | ----------- | ----- |
126
+ | **x_api_key** | **String** | トークン発行メソッドで取得した文字列 | |
127
+
128
+ ### Return type
129
+
130
+ [**UnregisterAllSuccess**](UnregisterAllSuccess.md)
131
+
132
+ ### Authorization
133
+
134
+ No authorization required
135
+
136
+ ### HTTP request headers
137
+
138
+ - **Content-Type**: Not defined
139
+ - **Accept**: application/json
140
+
141
+
142
+ ## unregister_put
143
+
144
+ > <RegistSuccess> unregister_put(x_api_key, request_unregister)
145
+
146
+ 銘柄登録解除
147
+
148
+ API登録銘柄リストに登録されている銘柄を解除します
149
+
150
+ ### Examples
151
+
152
+ ```ruby
153
+ require 'time'
154
+ require 'kabustation_client'
155
+
156
+ api_instance = KabustationClient::RegisterApi.new
157
+ x_api_key = 'x_api_key_example' # String | トークン発行メソッドで取得した文字列
158
+ request_unregister = KabustationClient::RequestUnregister.new # RequestUnregister | 登録解除する銘柄のリスト
159
+
160
+ begin
161
+ # 銘柄登録解除
162
+ result = api_instance.unregister_put(x_api_key, request_unregister)
163
+ p result
164
+ rescue KabustationClient::ApiError => e
165
+ puts "Error when calling RegisterApi->unregister_put: #{e}"
166
+ end
167
+ ```
168
+
169
+ #### Using the unregister_put_with_http_info variant
170
+
171
+ This returns an Array which contains the response data, status code and headers.
172
+
173
+ > <Array(<RegistSuccess>, Integer, Hash)> unregister_put_with_http_info(x_api_key, request_unregister)
174
+
175
+ ```ruby
176
+ begin
177
+ # 銘柄登録解除
178
+ data, status_code, headers = api_instance.unregister_put_with_http_info(x_api_key, request_unregister)
179
+ p status_code # => 2xx
180
+ p headers # => { ... }
181
+ p data # => <RegistSuccess>
182
+ rescue KabustationClient::ApiError => e
183
+ puts "Error when calling RegisterApi->unregister_put_with_http_info: #{e}"
184
+ end
185
+ ```
186
+
187
+ ### Parameters
188
+
189
+ | Name | Type | Description | Notes |
190
+ | ---- | ---- | ----------- | ----- |
191
+ | **x_api_key** | **String** | トークン発行メソッドで取得した文字列 | |
192
+ | **request_unregister** | [**RequestUnregister**](RequestUnregister.md) | 登録解除する銘柄のリスト | |
193
+
194
+ ### Return type
195
+
196
+ [**RegistSuccess**](RegistSuccess.md)
197
+
198
+ ### Authorization
199
+
200
+ No authorization required
201
+
202
+ ### HTTP request headers
203
+
204
+ - **Content-Type**: application/json
205
+ - **Accept**: application/json
206
+
@@ -0,0 +1,20 @@
1
+ # KabustationClient::RegulationsResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **symbol** | **String** | 銘柄コード&lt;br&gt; ※対象商品は、株式のみ | [optional] |
8
+ | **regulations_info** | [**Array&lt;RegulationsResponseRegulationsInfoInner&gt;**](RegulationsResponseRegulationsInfoInner.md) | 規制情報 | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'kabustation_client'
14
+
15
+ instance = KabustationClient::RegulationsResponse.new(
16
+ symbol: null,
17
+ regulations_info: null
18
+ )
19
+ ```
20
+