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
@@ -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<RequestRegisterSymbolsInner>**](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
|
+
|
data/docs/RegisterApi.md
ADDED
@@ -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** | 銘柄コード<br> ※対象商品は、株式のみ | [optional] |
|
8
|
+
| **regulations_info** | [**Array<RegulationsResponseRegulationsInfoInner>**](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
|
+
|