kabustation_client 1.0.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +73 -0
- data/README.md +59 -8
- data/bin/console +11 -0
- data/bin/setup +8 -0
- data/docs/InfoApi.md +157 -93
- data/docs/OrderApi.md +48 -28
- data/docs/RegisterApi.md +37 -23
- data/docs/RequestSendOrderDerivFutureReverseLimitOrder.md +1 -1
- data/docs/RequestSendOrderReverseLimitOrder.md +1 -1
- data/docs/WalletApi.md +100 -64
- data/kabu_STATION_API.yaml +8698 -0
- data/lib/kabustation_client/api/info_api.rb +52 -143
- data/lib/kabustation_client/api/order_api.rb +16 -44
- data/lib/kabustation_client/api/register_api.rb +12 -33
- data/lib/kabustation_client/api/wallet_api.rb +32 -88
- data/lib/kabustation_client/api_client.rb +1 -0
- data/lib/kabustation_client/configuration.rb +7 -0
- data/lib/kabustation_client/models/request_send_order_deriv_future_reverse_limit_order.rb +1 -1
- data/lib/kabustation_client/models/request_send_order_reverse_limit_order.rb +1 -1
- data/lib/kabustation_client/version.rb +1 -1
- metadata +5 -1
data/docs/OrderApi.md
CHANGED
@@ -12,7 +12,7 @@ All URIs are relative to *http://localhost:18080/kabusapi*
|
|
12
12
|
|
13
13
|
## cancelorder_put
|
14
14
|
|
15
|
-
> <OrderSuccess> cancelorder_put(
|
15
|
+
> <OrderSuccess> cancelorder_put(request_cancel_order)
|
16
16
|
|
17
17
|
注文取消
|
18
18
|
|
@@ -23,14 +23,20 @@ All URIs are relative to *http://localhost:18080/kabusapi*
|
|
23
23
|
```ruby
|
24
24
|
require 'time'
|
25
25
|
require 'kabustation_client'
|
26
|
+
# setup authorization
|
27
|
+
KabustationClient.configure do |config|
|
28
|
+
# Configure API key authorization: ApiKeyAuth
|
29
|
+
config.api_key['ApiKeyAuth'] = 'YOUR API KEY'
|
30
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
31
|
+
# config.api_key_prefix['ApiKeyAuth'] = 'Bearer'
|
32
|
+
end
|
26
33
|
|
27
34
|
api_instance = KabustationClient::OrderApi.new
|
28
|
-
x_api_key = 'x_api_key_example' # String | トークン発行メソッドで取得した文字列
|
29
35
|
request_cancel_order = KabustationClient::RequestCancelOrder.new({order_id: '20200529A01N06848002', password: 'xxxxxx'}) # RequestCancelOrder |
|
30
36
|
|
31
37
|
begin
|
32
38
|
# 注文取消
|
33
|
-
result = api_instance.cancelorder_put(
|
39
|
+
result = api_instance.cancelorder_put(request_cancel_order)
|
34
40
|
p result
|
35
41
|
rescue KabustationClient::ApiError => e
|
36
42
|
puts "Error when calling OrderApi->cancelorder_put: #{e}"
|
@@ -41,12 +47,12 @@ end
|
|
41
47
|
|
42
48
|
This returns an Array which contains the response data, status code and headers.
|
43
49
|
|
44
|
-
> <Array(<OrderSuccess>, Integer, Hash)> cancelorder_put_with_http_info(
|
50
|
+
> <Array(<OrderSuccess>, Integer, Hash)> cancelorder_put_with_http_info(request_cancel_order)
|
45
51
|
|
46
52
|
```ruby
|
47
53
|
begin
|
48
54
|
# 注文取消
|
49
|
-
data, status_code, headers = api_instance.cancelorder_put_with_http_info(
|
55
|
+
data, status_code, headers = api_instance.cancelorder_put_with_http_info(request_cancel_order)
|
50
56
|
p status_code # => 2xx
|
51
57
|
p headers # => { ... }
|
52
58
|
p data # => <OrderSuccess>
|
@@ -59,7 +65,6 @@ end
|
|
59
65
|
|
60
66
|
| Name | Type | Description | Notes |
|
61
67
|
| ---- | ---- | ----------- | ----- |
|
62
|
-
| **x_api_key** | **String** | トークン発行メソッドで取得した文字列 | |
|
63
68
|
| **request_cancel_order** | [**RequestCancelOrder**](RequestCancelOrder.md) | | |
|
64
69
|
|
65
70
|
### Return type
|
@@ -68,7 +73,7 @@ end
|
|
68
73
|
|
69
74
|
### Authorization
|
70
75
|
|
71
|
-
|
76
|
+
[ApiKeyAuth](../README.md#ApiKeyAuth)
|
72
77
|
|
73
78
|
### HTTP request headers
|
74
79
|
|
@@ -78,7 +83,7 @@ No authorization required
|
|
78
83
|
|
79
84
|
## sendoder_future_post
|
80
85
|
|
81
|
-
> <OrderSuccess> sendoder_future_post(
|
86
|
+
> <OrderSuccess> sendoder_future_post(request_send_order_deriv_future)
|
82
87
|
|
83
88
|
注文発注(先物)
|
84
89
|
|
@@ -89,14 +94,20 @@ No authorization required
|
|
89
94
|
```ruby
|
90
95
|
require 'time'
|
91
96
|
require 'kabustation_client'
|
97
|
+
# setup authorization
|
98
|
+
KabustationClient.configure do |config|
|
99
|
+
# Configure API key authorization: ApiKeyAuth
|
100
|
+
config.api_key['ApiKeyAuth'] = 'YOUR API KEY'
|
101
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
102
|
+
# config.api_key_prefix['ApiKeyAuth'] = 'Bearer'
|
103
|
+
end
|
92
104
|
|
93
105
|
api_instance = KabustationClient::OrderApi.new
|
94
|
-
x_api_key = 'x_api_key_example' # String | トークン発行メソッドで取得した文字列
|
95
106
|
request_send_order_deriv_future = KabustationClient::RequestSendOrderDerivFuture.new({password: 'xxxxxx', symbol: '165120019', exchange: 37, trade_type: 37, time_in_force: 37, side: 'side_example', qty: 37, front_order_type: 37, price: 3.56, expire_day: 37}) # RequestSendOrderDerivFuture |
|
96
107
|
|
97
108
|
begin
|
98
109
|
# 注文発注(先物)
|
99
|
-
result = api_instance.sendoder_future_post(
|
110
|
+
result = api_instance.sendoder_future_post(request_send_order_deriv_future)
|
100
111
|
p result
|
101
112
|
rescue KabustationClient::ApiError => e
|
102
113
|
puts "Error when calling OrderApi->sendoder_future_post: #{e}"
|
@@ -107,12 +118,12 @@ end
|
|
107
118
|
|
108
119
|
This returns an Array which contains the response data, status code and headers.
|
109
120
|
|
110
|
-
> <Array(<OrderSuccess>, Integer, Hash)> sendoder_future_post_with_http_info(
|
121
|
+
> <Array(<OrderSuccess>, Integer, Hash)> sendoder_future_post_with_http_info(request_send_order_deriv_future)
|
111
122
|
|
112
123
|
```ruby
|
113
124
|
begin
|
114
125
|
# 注文発注(先物)
|
115
|
-
data, status_code, headers = api_instance.sendoder_future_post_with_http_info(
|
126
|
+
data, status_code, headers = api_instance.sendoder_future_post_with_http_info(request_send_order_deriv_future)
|
116
127
|
p status_code # => 2xx
|
117
128
|
p headers # => { ... }
|
118
129
|
p data # => <OrderSuccess>
|
@@ -125,7 +136,6 @@ end
|
|
125
136
|
|
126
137
|
| Name | Type | Description | Notes |
|
127
138
|
| ---- | ---- | ----------- | ----- |
|
128
|
-
| **x_api_key** | **String** | トークン発行メソッドで取得した文字列 | |
|
129
139
|
| **request_send_order_deriv_future** | [**RequestSendOrderDerivFuture**](RequestSendOrderDerivFuture.md) | | |
|
130
140
|
|
131
141
|
### Return type
|
@@ -134,7 +144,7 @@ end
|
|
134
144
|
|
135
145
|
### Authorization
|
136
146
|
|
137
|
-
|
147
|
+
[ApiKeyAuth](../README.md#ApiKeyAuth)
|
138
148
|
|
139
149
|
### HTTP request headers
|
140
150
|
|
@@ -144,7 +154,7 @@ No authorization required
|
|
144
154
|
|
145
155
|
## sendorder_option_post
|
146
156
|
|
147
|
-
> <OrderSuccess> sendorder_option_post(
|
157
|
+
> <OrderSuccess> sendorder_option_post(request_send_order_deriv_option)
|
148
158
|
|
149
159
|
注文発注(オプション)
|
150
160
|
|
@@ -155,14 +165,20 @@ No authorization required
|
|
155
165
|
```ruby
|
156
166
|
require 'time'
|
157
167
|
require 'kabustation_client'
|
168
|
+
# setup authorization
|
169
|
+
KabustationClient.configure do |config|
|
170
|
+
# Configure API key authorization: ApiKeyAuth
|
171
|
+
config.api_key['ApiKeyAuth'] = 'YOUR API KEY'
|
172
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
173
|
+
# config.api_key_prefix['ApiKeyAuth'] = 'Bearer'
|
174
|
+
end
|
158
175
|
|
159
176
|
api_instance = KabustationClient::OrderApi.new
|
160
|
-
x_api_key = 'x_api_key_example' # String | トークン発行メソッドで取得した文字列
|
161
177
|
request_send_order_deriv_option = KabustationClient::RequestSendOrderDerivOption.new({password: 'password_example', symbol: 'symbol_example', exchange: 37, trade_type: 37, time_in_force: 37, side: 'side_example', qty: 37, front_order_type: 37, price: 3.56, expire_day: 37}) # RequestSendOrderDerivOption |
|
162
178
|
|
163
179
|
begin
|
164
180
|
# 注文発注(オプション)
|
165
|
-
result = api_instance.sendorder_option_post(
|
181
|
+
result = api_instance.sendorder_option_post(request_send_order_deriv_option)
|
166
182
|
p result
|
167
183
|
rescue KabustationClient::ApiError => e
|
168
184
|
puts "Error when calling OrderApi->sendorder_option_post: #{e}"
|
@@ -173,12 +189,12 @@ end
|
|
173
189
|
|
174
190
|
This returns an Array which contains the response data, status code and headers.
|
175
191
|
|
176
|
-
> <Array(<OrderSuccess>, Integer, Hash)> sendorder_option_post_with_http_info(
|
192
|
+
> <Array(<OrderSuccess>, Integer, Hash)> sendorder_option_post_with_http_info(request_send_order_deriv_option)
|
177
193
|
|
178
194
|
```ruby
|
179
195
|
begin
|
180
196
|
# 注文発注(オプション)
|
181
|
-
data, status_code, headers = api_instance.sendorder_option_post_with_http_info(
|
197
|
+
data, status_code, headers = api_instance.sendorder_option_post_with_http_info(request_send_order_deriv_option)
|
182
198
|
p status_code # => 2xx
|
183
199
|
p headers # => { ... }
|
184
200
|
p data # => <OrderSuccess>
|
@@ -191,7 +207,6 @@ end
|
|
191
207
|
|
192
208
|
| Name | Type | Description | Notes |
|
193
209
|
| ---- | ---- | ----------- | ----- |
|
194
|
-
| **x_api_key** | **String** | トークン発行メソッドで取得した文字列 | |
|
195
210
|
| **request_send_order_deriv_option** | [**RequestSendOrderDerivOption**](RequestSendOrderDerivOption.md) | | |
|
196
211
|
|
197
212
|
### Return type
|
@@ -200,7 +215,7 @@ end
|
|
200
215
|
|
201
216
|
### Authorization
|
202
217
|
|
203
|
-
|
218
|
+
[ApiKeyAuth](../README.md#ApiKeyAuth)
|
204
219
|
|
205
220
|
### HTTP request headers
|
206
221
|
|
@@ -210,7 +225,7 @@ No authorization required
|
|
210
225
|
|
211
226
|
## sendorder_post
|
212
227
|
|
213
|
-
> <OrderSuccess> sendorder_post(
|
228
|
+
> <OrderSuccess> sendorder_post(request_send_order)
|
214
229
|
|
215
230
|
注文発注(現物・信用)
|
216
231
|
|
@@ -221,14 +236,20 @@ No authorization required
|
|
221
236
|
```ruby
|
222
237
|
require 'time'
|
223
238
|
require 'kabustation_client'
|
239
|
+
# setup authorization
|
240
|
+
KabustationClient.configure do |config|
|
241
|
+
# Configure API key authorization: ApiKeyAuth
|
242
|
+
config.api_key['ApiKeyAuth'] = 'YOUR API KEY'
|
243
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
244
|
+
# config.api_key_prefix['ApiKeyAuth'] = 'Bearer'
|
245
|
+
end
|
224
246
|
|
225
247
|
api_instance = KabustationClient::OrderApi.new
|
226
|
-
x_api_key = 'x_api_key_example' # String | トークン発行メソッドで取得した文字列
|
227
248
|
request_send_order = KabustationClient::RequestSendOrder.new({password: 'password_example', symbol: 'symbol_example', exchange: 37, security_type: 37, side: 'side_example', cash_margin: 37, deliv_type: 37, account_type: 37, qty: 37, front_order_type: 37, price: 3.56, expire_day: 37}) # RequestSendOrder |
|
228
249
|
|
229
250
|
begin
|
230
251
|
# 注文発注(現物・信用)
|
231
|
-
result = api_instance.sendorder_post(
|
252
|
+
result = api_instance.sendorder_post(request_send_order)
|
232
253
|
p result
|
233
254
|
rescue KabustationClient::ApiError => e
|
234
255
|
puts "Error when calling OrderApi->sendorder_post: #{e}"
|
@@ -239,12 +260,12 @@ end
|
|
239
260
|
|
240
261
|
This returns an Array which contains the response data, status code and headers.
|
241
262
|
|
242
|
-
> <Array(<OrderSuccess>, Integer, Hash)> sendorder_post_with_http_info(
|
263
|
+
> <Array(<OrderSuccess>, Integer, Hash)> sendorder_post_with_http_info(request_send_order)
|
243
264
|
|
244
265
|
```ruby
|
245
266
|
begin
|
246
267
|
# 注文発注(現物・信用)
|
247
|
-
data, status_code, headers = api_instance.sendorder_post_with_http_info(
|
268
|
+
data, status_code, headers = api_instance.sendorder_post_with_http_info(request_send_order)
|
248
269
|
p status_code # => 2xx
|
249
270
|
p headers # => { ... }
|
250
271
|
p data # => <OrderSuccess>
|
@@ -257,7 +278,6 @@ end
|
|
257
278
|
|
258
279
|
| Name | Type | Description | Notes |
|
259
280
|
| ---- | ---- | ----------- | ----- |
|
260
|
-
| **x_api_key** | **String** | トークン発行メソッドで取得した文字列 | |
|
261
281
|
| **request_send_order** | [**RequestSendOrder**](RequestSendOrder.md) | | |
|
262
282
|
|
263
283
|
### Return type
|
@@ -266,7 +286,7 @@ end
|
|
266
286
|
|
267
287
|
### Authorization
|
268
288
|
|
269
|
-
|
289
|
+
[ApiKeyAuth](../README.md#ApiKeyAuth)
|
270
290
|
|
271
291
|
### HTTP request headers
|
272
292
|
|
data/docs/RegisterApi.md
CHANGED
@@ -11,7 +11,7 @@ All URIs are relative to *http://localhost:18080/kabusapi*
|
|
11
11
|
|
12
12
|
## register_put
|
13
13
|
|
14
|
-
> <RegistSuccess> register_put(
|
14
|
+
> <RegistSuccess> register_put(request_register)
|
15
15
|
|
16
16
|
銘柄登録
|
17
17
|
|
@@ -22,14 +22,20 @@ PUSH配信する銘柄を登録します。<br> API登録銘柄リストを開
|
|
22
22
|
```ruby
|
23
23
|
require 'time'
|
24
24
|
require 'kabustation_client'
|
25
|
+
# setup authorization
|
26
|
+
KabustationClient.configure do |config|
|
27
|
+
# Configure API key authorization: ApiKeyAuth
|
28
|
+
config.api_key['ApiKeyAuth'] = 'YOUR API KEY'
|
29
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
30
|
+
# config.api_key_prefix['ApiKeyAuth'] = 'Bearer'
|
31
|
+
end
|
25
32
|
|
26
33
|
api_instance = KabustationClient::RegisterApi.new
|
27
|
-
x_api_key = 'x_api_key_example' # String | トークン発行メソッドで取得した文字列
|
28
34
|
request_register = KabustationClient::RequestRegister.new # RequestRegister | 登録する銘柄のリスト
|
29
35
|
|
30
36
|
begin
|
31
37
|
# 銘柄登録
|
32
|
-
result = api_instance.register_put(
|
38
|
+
result = api_instance.register_put(request_register)
|
33
39
|
p result
|
34
40
|
rescue KabustationClient::ApiError => e
|
35
41
|
puts "Error when calling RegisterApi->register_put: #{e}"
|
@@ -40,12 +46,12 @@ end
|
|
40
46
|
|
41
47
|
This returns an Array which contains the response data, status code and headers.
|
42
48
|
|
43
|
-
> <Array(<RegistSuccess>, Integer, Hash)> register_put_with_http_info(
|
49
|
+
> <Array(<RegistSuccess>, Integer, Hash)> register_put_with_http_info(request_register)
|
44
50
|
|
45
51
|
```ruby
|
46
52
|
begin
|
47
53
|
# 銘柄登録
|
48
|
-
data, status_code, headers = api_instance.register_put_with_http_info(
|
54
|
+
data, status_code, headers = api_instance.register_put_with_http_info(request_register)
|
49
55
|
p status_code # => 2xx
|
50
56
|
p headers # => { ... }
|
51
57
|
p data # => <RegistSuccess>
|
@@ -58,7 +64,6 @@ end
|
|
58
64
|
|
59
65
|
| Name | Type | Description | Notes |
|
60
66
|
| ---- | ---- | ----------- | ----- |
|
61
|
-
| **x_api_key** | **String** | トークン発行メソッドで取得した文字列 | |
|
62
67
|
| **request_register** | [**RequestRegister**](RequestRegister.md) | 登録する銘柄のリスト | |
|
63
68
|
|
64
69
|
### Return type
|
@@ -67,7 +72,7 @@ end
|
|
67
72
|
|
68
73
|
### Authorization
|
69
74
|
|
70
|
-
|
75
|
+
[ApiKeyAuth](../README.md#ApiKeyAuth)
|
71
76
|
|
72
77
|
### HTTP request headers
|
73
78
|
|
@@ -77,7 +82,7 @@ No authorization required
|
|
77
82
|
|
78
83
|
## unregister_all_put
|
79
84
|
|
80
|
-
> <UnregisterAllSuccess> unregister_all_put
|
85
|
+
> <UnregisterAllSuccess> unregister_all_put
|
81
86
|
|
82
87
|
銘柄登録全解除
|
83
88
|
|
@@ -88,13 +93,19 @@ API登録銘柄リストに登録されている銘柄をすべて解除しま
|
|
88
93
|
```ruby
|
89
94
|
require 'time'
|
90
95
|
require 'kabustation_client'
|
96
|
+
# setup authorization
|
97
|
+
KabustationClient.configure do |config|
|
98
|
+
# Configure API key authorization: ApiKeyAuth
|
99
|
+
config.api_key['ApiKeyAuth'] = 'YOUR API KEY'
|
100
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
101
|
+
# config.api_key_prefix['ApiKeyAuth'] = 'Bearer'
|
102
|
+
end
|
91
103
|
|
92
104
|
api_instance = KabustationClient::RegisterApi.new
|
93
|
-
x_api_key = 'x_api_key_example' # String | トークン発行メソッドで取得した文字列
|
94
105
|
|
95
106
|
begin
|
96
107
|
# 銘柄登録全解除
|
97
|
-
result = api_instance.unregister_all_put
|
108
|
+
result = api_instance.unregister_all_put
|
98
109
|
p result
|
99
110
|
rescue KabustationClient::ApiError => e
|
100
111
|
puts "Error when calling RegisterApi->unregister_all_put: #{e}"
|
@@ -105,12 +116,12 @@ end
|
|
105
116
|
|
106
117
|
This returns an Array which contains the response data, status code and headers.
|
107
118
|
|
108
|
-
> <Array(<UnregisterAllSuccess>, Integer, Hash)> unregister_all_put_with_http_info
|
119
|
+
> <Array(<UnregisterAllSuccess>, Integer, Hash)> unregister_all_put_with_http_info
|
109
120
|
|
110
121
|
```ruby
|
111
122
|
begin
|
112
123
|
# 銘柄登録全解除
|
113
|
-
data, status_code, headers = api_instance.unregister_all_put_with_http_info
|
124
|
+
data, status_code, headers = api_instance.unregister_all_put_with_http_info
|
114
125
|
p status_code # => 2xx
|
115
126
|
p headers # => { ... }
|
116
127
|
p data # => <UnregisterAllSuccess>
|
@@ -121,9 +132,7 @@ end
|
|
121
132
|
|
122
133
|
### Parameters
|
123
134
|
|
124
|
-
|
125
|
-
| ---- | ---- | ----------- | ----- |
|
126
|
-
| **x_api_key** | **String** | トークン発行メソッドで取得した文字列 | |
|
135
|
+
This endpoint does not need any parameter.
|
127
136
|
|
128
137
|
### Return type
|
129
138
|
|
@@ -131,7 +140,7 @@ end
|
|
131
140
|
|
132
141
|
### Authorization
|
133
142
|
|
134
|
-
|
143
|
+
[ApiKeyAuth](../README.md#ApiKeyAuth)
|
135
144
|
|
136
145
|
### HTTP request headers
|
137
146
|
|
@@ -141,7 +150,7 @@ No authorization required
|
|
141
150
|
|
142
151
|
## unregister_put
|
143
152
|
|
144
|
-
> <RegistSuccess> unregister_put(
|
153
|
+
> <RegistSuccess> unregister_put(request_unregister)
|
145
154
|
|
146
155
|
銘柄登録解除
|
147
156
|
|
@@ -152,14 +161,20 @@ API登録銘柄リストに登録されている銘柄を解除します
|
|
152
161
|
```ruby
|
153
162
|
require 'time'
|
154
163
|
require 'kabustation_client'
|
164
|
+
# setup authorization
|
165
|
+
KabustationClient.configure do |config|
|
166
|
+
# Configure API key authorization: ApiKeyAuth
|
167
|
+
config.api_key['ApiKeyAuth'] = 'YOUR API KEY'
|
168
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
169
|
+
# config.api_key_prefix['ApiKeyAuth'] = 'Bearer'
|
170
|
+
end
|
155
171
|
|
156
172
|
api_instance = KabustationClient::RegisterApi.new
|
157
|
-
x_api_key = 'x_api_key_example' # String | トークン発行メソッドで取得した文字列
|
158
173
|
request_unregister = KabustationClient::RequestUnregister.new # RequestUnregister | 登録解除する銘柄のリスト
|
159
174
|
|
160
175
|
begin
|
161
176
|
# 銘柄登録解除
|
162
|
-
result = api_instance.unregister_put(
|
177
|
+
result = api_instance.unregister_put(request_unregister)
|
163
178
|
p result
|
164
179
|
rescue KabustationClient::ApiError => e
|
165
180
|
puts "Error when calling RegisterApi->unregister_put: #{e}"
|
@@ -170,12 +185,12 @@ end
|
|
170
185
|
|
171
186
|
This returns an Array which contains the response data, status code and headers.
|
172
187
|
|
173
|
-
> <Array(<RegistSuccess>, Integer, Hash)> unregister_put_with_http_info(
|
188
|
+
> <Array(<RegistSuccess>, Integer, Hash)> unregister_put_with_http_info(request_unregister)
|
174
189
|
|
175
190
|
```ruby
|
176
191
|
begin
|
177
192
|
# 銘柄登録解除
|
178
|
-
data, status_code, headers = api_instance.unregister_put_with_http_info(
|
193
|
+
data, status_code, headers = api_instance.unregister_put_with_http_info(request_unregister)
|
179
194
|
p status_code # => 2xx
|
180
195
|
p headers # => { ... }
|
181
196
|
p data # => <RegistSuccess>
|
@@ -188,7 +203,6 @@ end
|
|
188
203
|
|
189
204
|
| Name | Type | Description | Notes |
|
190
205
|
| ---- | ---- | ----------- | ----- |
|
191
|
-
| **x_api_key** | **String** | トークン発行メソッドで取得した文字列 | |
|
192
206
|
| **request_unregister** | [**RequestUnregister**](RequestUnregister.md) | 登録解除する銘柄のリスト | |
|
193
207
|
|
194
208
|
### Return type
|
@@ -197,7 +211,7 @@ end
|
|
197
211
|
|
198
212
|
### Authorization
|
199
213
|
|
200
|
-
|
214
|
+
[ApiKeyAuth](../README.md#ApiKeyAuth)
|
201
215
|
|
202
216
|
### HTTP request headers
|
203
217
|
|
@@ -7,7 +7,7 @@
|
|
7
7
|
| **trigger_price** | **Float** | トリガ価格<br> ※未設定の場合はエラーになります。<br> ※数字以外が設定された場合はエラーになります。 | |
|
8
8
|
| **under_over** | **Integer** | 以上/以下<br> ※未設定の場合はエラーになります。<br> ※1、2以外が指定された場合はエラーになります。 <table> <thead> <tr> <th>定義値</th> <th>説明</th> </tr> </thead> <tbody> <tr> <td>1</td> <td>以下</td> </tr> <tr> <td>2</td> <td>以上</td> </tr> </tbody> </table> | |
|
9
9
|
| **after_hit_order_type** | **Integer** | ヒット後執行条件<br> ※未設定の場合はエラーになります。<br> ※日通の注文で2以外が指定された場合はエラーになります。<br> ※日中、夜間の注文で1、2以外が指定された場合はエラーになります。<br> ※逆指値(成行)で有効期間条件(TimeInForce)にFAK以外を指定された場合はエラーになります。<br> ※逆指値(指値)で有効期間条件(TimeInForce)にFAS以外を指定された場合はエラーになります。 <table> <thead> <tr> <th>定義値</th> <th>説明</th> </tr> </thead> <tbody> <tr> <td>1</td> <td>成行</td> </tr> <tr> <td>2</td> <td>指値</td> </tr> </tbody> </table> | |
|
10
|
-
| **after_hit_price** | **Float** | ヒット後注文価格<br> ※未設定の場合はエラーになります。<br> ※数字以外が設定された場合はエラーになります。<br><br> ヒット後執行条件に従い、下記のようにヒット後注文価格を設定してください。
|
10
|
+
| **after_hit_price** | **Float** | ヒット後注文価格<br> ※未設定の場合はエラーになります。<br> ※数字以外が設定された場合はエラーになります。<br><br> ヒット後執行条件に従い、下記のようにヒット後注文価格を設定してください。 <table> <thead> <tr> <th>ヒット後執行条件</th> <th>設定価格</th> </tr> </thead> <tbody> <tr> <td>成行</td> <td>0</td> </tr> <tr> <td>指値</td> <td>指値の単価</td> </tr> </tbody> </table> | |
|
11
11
|
|
12
12
|
## Example
|
13
13
|
|
@@ -8,7 +8,7 @@
|
|
8
8
|
| **trigger_price** | **Float** | トリガ価格<br> ※未設定の場合はエラーになります。<br> ※数字以外が設定された場合はエラーになります。 | |
|
9
9
|
| **under_over** | **Integer** | 以上/以下<br> ※未設定の場合はエラーになります。<br> ※1、2以外が指定された場合はエラーになります。 <table> <thead> <tr> <th>定義値</th> <th>説明</th> </tr> </thead> <tbody> <tr> <td>1</td> <td>以下</td> </tr> <tr> <td>2</td> <td>以上</td> </tr> </tbody> </table> | |
|
10
10
|
| **after_hit_order_type** | **Integer** | ヒット後執行条件<br> ※未設定の場合はエラーになります。<br> ※1、2、3以外が指定された場合はエラーになります。 <table> <thead> <tr> <th>定義値</th> <th>説明</th> </tr> </thead> <tbody> <tr> <td>1</td> <td>成行</td> </tr> <tr> <td>2</td> <td>指値</td> </tr> <tr> <td>3</td> <td>不成</td> </tr> </tbody> </table> | |
|
11
|
-
| **after_hit_price** | **Float** | ヒット後注文価格<br> ※未設定の場合はエラーになります。<br> ※数字以外が設定された場合はエラーになります。<br><br> ヒット後執行条件に従い、下記のようにヒット後注文価格を設定してください。
|
11
|
+
| **after_hit_price** | **Float** | ヒット後注文価格<br> ※未設定の場合はエラーになります。<br> ※数字以外が設定された場合はエラーになります。<br><br> ヒット後執行条件に従い、下記のようにヒット後注文価格を設定してください。 <table> <thead> <tr> <th>ヒット後執行条件</th> <th>設定価格</th> </tr> </thead> <tbody> <tr> <td>成行</td> <td>0</td> </tr> <tr> <td>指値</td> <td>指値の単価</td> </tr> <tr> <td>不成</td> <td>不成の単価</td> </tr> </tbody> </table> | |
|
12
12
|
|
13
13
|
## Example
|
14
14
|
|