snaptrade 1.17.1 → 1.17.3

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.
Files changed (35) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/README.md +4 -3
  4. data/docs/AccountInformationApi.md +11 -7
  5. data/docs/AuthenticationApi.md +6 -4
  6. data/docs/Model500UnexpectedExceptionResponse.md +22 -0
  7. data/docs/OptionsApi.md +5 -5
  8. data/docs/OptionsPosition.md +1 -5
  9. data/docs/ReferenceDataApi.md +7 -5
  10. data/docs/SnapTradeLoginUserRequestBody.md +4 -4
  11. data/docs/SnapTradeRegisterUserRequestBody.md +1 -3
  12. data/docs/TradingApi.md +1 -1
  13. data/docs/TransactionsAndReportingApi.md +1 -1
  14. data/lib/snaptrade/api/account_information_api.rb +24 -16
  15. data/lib/snaptrade/api/authentication_api.rb +22 -14
  16. data/lib/snaptrade/api/options_api.rb +20 -20
  17. data/lib/snaptrade/api/reference_data_api.rb +12 -8
  18. data/lib/snaptrade/api/trading_api.rb +4 -4
  19. data/lib/snaptrade/api/transactions_and_reporting_api.rb +4 -4
  20. data/lib/snaptrade/models/model500_unexpected_exception_response.rb +239 -0
  21. data/lib/snaptrade/models/options_position.rb +5 -26
  22. data/lib/snaptrade/models/snap_trade_login_user_request_body.rb +4 -0
  23. data/lib/snaptrade/models/snap_trade_register_user_request_body.rb +4 -14
  24. data/lib/snaptrade/version.rb +1 -1
  25. data/lib/snaptrade.rb +1 -0
  26. data/spec/api/account_information_api_spec.rb +6 -4
  27. data/spec/api/authentication_api_spec.rb +3 -0
  28. data/spec/api/options_api_spec.rb +5 -5
  29. data/spec/api/reference_data_api_spec.rb +3 -2
  30. data/spec/api/trading_api_spec.rb +1 -1
  31. data/spec/api/transactions_and_reporting_api_spec.rb +1 -1
  32. data/spec/models/model500_unexpected_exception_response_spec.rb +42 -0
  33. data/spec/models/options_position_spec.rb +0 -12
  34. data/spec/models/snap_trade_register_user_request_body_spec.rb +0 -6
  35. metadata +6 -2
@@ -19,6 +19,7 @@ module SnapTrade
19
19
  end
20
20
 
21
21
  # Delete SnapTrade user
22
+ # Deletes a user you've registered over the SnapTrade API, and any data associated with them or their investment accounts.
22
23
  # @param user_id [String]
23
24
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
24
25
  def delete_snap_trade_user(user_id:, extra: {})
@@ -27,6 +28,7 @@ module SnapTrade
27
28
  end
28
29
 
29
30
  # Delete SnapTrade user
31
+ # Deletes a user you've registered over the SnapTrade API, and any data associated with them or their investment accounts.
30
32
  # @param user_id [String]
31
33
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
32
34
  def delete_snap_trade_user_with_http_info(user_id:, extra: {})
@@ -34,6 +36,7 @@ module SnapTrade
34
36
  end
35
37
 
36
38
  # Delete SnapTrade user
39
+ # Deletes a user you've registered over the SnapTrade API, and any data associated with them or their investment accounts.
37
40
  # @param user_id [String]
38
41
  # @param [Hash] opts the optional parameters
39
42
  # @return [DeleteUserResponse]
@@ -43,6 +46,7 @@ module SnapTrade
43
46
  end
44
47
 
45
48
  # Delete SnapTrade user
49
+ # Deletes a user you've registered over the SnapTrade API, and any data associated with them or their investment accounts.
46
50
  # @param user_id [String]
47
51
  # @param [Hash] opts the optional parameters
48
52
  # @return [Array<(DeleteUserResponse, Integer, Hash)>] DeleteUserResponse data, response status code and response headers
@@ -184,6 +188,7 @@ module SnapTrade
184
188
 
185
189
 
186
190
  # List SnapTrade users
191
+ # Returns a list of users you've registered over the SnapTrade API.
187
192
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
188
193
  def list_snap_trade_users(extra: {})
189
194
  data, _status_code, _headers = list_snap_trade_users_with_http_info_impl(extra)
@@ -191,12 +196,14 @@ module SnapTrade
191
196
  end
192
197
 
193
198
  # List SnapTrade users
199
+ # Returns a list of users you've registered over the SnapTrade API.
194
200
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
195
201
  def list_snap_trade_users_with_http_info(extra: {})
196
202
  list_snap_trade_users_with_http_info_impl(extra)
197
203
  end
198
204
 
199
205
  # List SnapTrade users
206
+ # Returns a list of users you've registered over the SnapTrade API.
200
207
  # @param [Hash] opts the optional parameters
201
208
  # @return [Array<String>]
202
209
  def list_snap_trade_users_impl(opts = {})
@@ -205,6 +212,7 @@ module SnapTrade
205
212
  end
206
213
 
207
214
  # List SnapTrade users
215
+ # Returns a list of users you&#39;ve registered over the SnapTrade API.
208
216
  # @param [Hash] opts the optional parameters
209
217
  # @return [Array<(Array<String>, Integer, Hash)>] Array<String> data, response status code and response headers
210
218
  def list_snap_trade_users_with_http_info_impl(opts = {})
@@ -253,12 +261,13 @@ module SnapTrade
253
261
 
254
262
 
255
263
  # Login user & generate connection link
264
+ # Logs in a SnapTrade user and returns an authenticated connection portal URL for them to use to connect a brokerage account.
256
265
  # @param user_id [String]
257
266
  # @param user_secret [String]
258
- # @param broker [String]
259
- # @param immediate_redirect [Boolean]
260
- # @param custom_redirect [String]
261
- # @param reconnect [String]
267
+ # @param broker [String] Slug of the brokerage to connect the user to
268
+ # @param immediate_redirect [Boolean] When set to True, user will be redirected back to the partner&#39;s site instead of the connection portal
269
+ # @param custom_redirect [String] URL to redirect the user to after the user connects their brokerage account
270
+ # @param reconnect [String] The UUID of the brokerage connection to be reconnected
262
271
  # @param connection_type [ConnectionType]
263
272
  # @param body [SnapTradeLoginUserRequestBody]
264
273
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
@@ -275,12 +284,13 @@ module SnapTrade
275
284
  end
276
285
 
277
286
  # Login user & generate connection link
287
+ # Logs in a SnapTrade user and returns an authenticated connection portal URL for them to use to connect a brokerage account.
278
288
  # @param user_id [String]
279
289
  # @param user_secret [String]
280
- # @param broker [String]
281
- # @param immediate_redirect [Boolean]
282
- # @param custom_redirect [String]
283
- # @param reconnect [String]
290
+ # @param broker [String] Slug of the brokerage to connect the user to
291
+ # @param immediate_redirect [Boolean] When set to True, user will be redirected back to the partner&#39;s site instead of the connection portal
292
+ # @param custom_redirect [String] URL to redirect the user to after the user connects their brokerage account
293
+ # @param reconnect [String] The UUID of the brokerage connection to be reconnected
284
294
  # @param connection_type [ConnectionType]
285
295
  # @param body [SnapTradeLoginUserRequestBody]
286
296
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
@@ -296,6 +306,7 @@ module SnapTrade
296
306
  end
297
307
 
298
308
  # Login user & generate connection link
309
+ # Logs in a SnapTrade user and returns an authenticated connection portal URL for them to use to connect a brokerage account.
299
310
  # @param user_id [String]
300
311
  # @param user_secret [String]
301
312
  # @param [Hash] opts the optional parameters
@@ -307,6 +318,7 @@ module SnapTrade
307
318
  end
308
319
 
309
320
  # Login user &amp; generate connection link
321
+ # Logs in a SnapTrade user and returns an authenticated connection portal URL for them to use to connect a brokerage account.
310
322
  # @param user_id [String]
311
323
  # @param user_secret [String]
312
324
  # @param [Hash] opts the optional parameters
@@ -374,13 +386,11 @@ module SnapTrade
374
386
 
375
387
  # Create SnapTrade user
376
388
  # @param user_id [String] SnapTrade User ID. Provided by SnapTrade Partner. Can be any string, as long as it&#39;s unique to a user
377
- # @param rsa_public_key [String] Open SSH RSA public key
378
389
  # @param body [SnapTradeRegisterUserRequestBody]
379
390
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
380
- def register_snap_trade_user(user_id: SENTINEL, rsa_public_key: SENTINEL, extra: {})
391
+ def register_snap_trade_user(user_id: SENTINEL, extra: {})
381
392
  _body = {}
382
393
  _body[:userId] = user_id if user_id != SENTINEL
383
- _body[:rsaPublicKey] = rsa_public_key if rsa_public_key != SENTINEL
384
394
  snap_trade_register_user_request_body = _body
385
395
  data, _status_code, _headers = register_snap_trade_user_with_http_info_impl(snap_trade_register_user_request_body, extra)
386
396
  data
@@ -388,13 +398,11 @@ module SnapTrade
388
398
 
389
399
  # Create SnapTrade user
390
400
  # @param user_id [String] SnapTrade User ID. Provided by SnapTrade Partner. Can be any string, as long as it&#39;s unique to a user
391
- # @param rsa_public_key [String] Open SSH RSA public key
392
401
  # @param body [SnapTradeRegisterUserRequestBody]
393
402
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
394
- def register_snap_trade_user_with_http_info(user_id: SENTINEL, rsa_public_key: SENTINEL, extra: {})
403
+ def register_snap_trade_user_with_http_info(user_id: SENTINEL, extra: {})
395
404
  _body = {}
396
405
  _body[:userId] = user_id if user_id != SENTINEL
397
- _body[:rsaPublicKey] = rsa_public_key if rsa_public_key != SENTINEL
398
406
  snap_trade_register_user_request_body = _body
399
407
  register_snap_trade_user_with_http_info_impl(snap_trade_register_user_request_body, extra)
400
408
  end
@@ -24,7 +24,7 @@ module SnapTrade
24
24
  # @param strategy_type [StrategyType]
25
25
  # @param user_id [String]
26
26
  # @param user_secret [String]
27
- # @param account_id [String] The ID of the account get positions.
27
+ # @param account_id [String] The ID of the account to create the option strategy object in.
28
28
  # @param body [OptionsGetOptionStrategyRequest]
29
29
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
30
30
  def get_option_strategy(underlying_symbol_id:, legs:, strategy_type:, user_id:, user_secret:, account_id:, extra: {})
@@ -43,7 +43,7 @@ module SnapTrade
43
43
  # @param strategy_type [StrategyType]
44
44
  # @param user_id [String]
45
45
  # @param user_secret [String]
46
- # @param account_id [String] The ID of the account get positions.
46
+ # @param account_id [String] The ID of the account to create the option strategy object in.
47
47
  # @param body [OptionsGetOptionStrategyRequest]
48
48
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
49
49
  def get_option_strategy_with_http_info(underlying_symbol_id:, legs:, strategy_type:, user_id:, user_secret:, account_id:, extra: {})
@@ -58,7 +58,7 @@ module SnapTrade
58
58
  # Creates an option strategy object that will be used to place an option strategy order
59
59
  # @param user_id [String]
60
60
  # @param user_secret [String]
61
- # @param account_id [String] The ID of the account get positions.
61
+ # @param account_id [String] The ID of the account to create the option strategy object in.
62
62
  # @param options_get_option_strategy_request [OptionsGetOptionStrategyRequest]
63
63
  # @param [Hash] opts the optional parameters
64
64
  # @return [StrategyQuotes]
@@ -70,7 +70,7 @@ module SnapTrade
70
70
  # Creates an option strategy object that will be used to place an option strategy order
71
71
  # @param user_id [String]
72
72
  # @param user_secret [String]
73
- # @param account_id [String] The ID of the account get positions.
73
+ # @param account_id [String] The ID of the account to create the option strategy object in.
74
74
  # @param options_get_option_strategy_request [OptionsGetOptionStrategyRequest]
75
75
  # @param [Hash] opts the optional parameters
76
76
  # @return [Array<(StrategyQuotes, Integer, Hash)>] StrategyQuotes data, response status code and response headers
@@ -145,7 +145,7 @@ module SnapTrade
145
145
  # Get the options chain
146
146
  # @param user_id [String]
147
147
  # @param user_secret [String]
148
- # @param account_id [String] The ID of the account get positions.
148
+ # @param account_id [String] The ID of the account to get the options chain from.
149
149
  # @param symbol [String] Universal symbol ID if symbol
150
150
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
151
151
  def get_options_chain(user_id:, user_secret:, account_id:, symbol:, extra: {})
@@ -156,7 +156,7 @@ module SnapTrade
156
156
  # Get the options chain
157
157
  # @param user_id [String]
158
158
  # @param user_secret [String]
159
- # @param account_id [String] The ID of the account get positions.
159
+ # @param account_id [String] The ID of the account to get the options chain from.
160
160
  # @param symbol [String] Universal symbol ID if symbol
161
161
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
162
162
  def get_options_chain_with_http_info(user_id:, user_secret:, account_id:, symbol:, extra: {})
@@ -166,7 +166,7 @@ module SnapTrade
166
166
  # Get the options chain
167
167
  # @param user_id [String]
168
168
  # @param user_secret [String]
169
- # @param account_id [String] The ID of the account get positions.
169
+ # @param account_id [String] The ID of the account to get the options chain from.
170
170
  # @param symbol [String] Universal symbol ID if symbol
171
171
  # @param [Hash] opts the optional parameters
172
172
  # @return [Array<OptionChainInner>]
@@ -178,7 +178,7 @@ module SnapTrade
178
178
  # Get the options chain
179
179
  # @param user_id [String]
180
180
  # @param user_secret [String]
181
- # @param account_id [String] The ID of the account get positions.
181
+ # @param account_id [String] The ID of the account to get the options chain from.
182
182
  # @param symbol [String] Universal symbol ID if symbol
183
183
  # @param [Hash] opts the optional parameters
184
184
  # @return [Array<(Array<OptionChainInner>, Integer, Hash)>] Array<OptionChainInner> data, response status code and response headers
@@ -249,7 +249,7 @@ module SnapTrade
249
249
  # Get latest market data of option strategy
250
250
  # @param user_id [String]
251
251
  # @param user_secret [String]
252
- # @param account_id [String] The ID of the account get positions.
252
+ # @param account_id [String] The ID of the account the strategy will be placed in.
253
253
  # @param option_strategy_id [String] Option strategy id obtained from response when creating option strategy object
254
254
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
255
255
  def get_options_strategy_quote(user_id:, user_secret:, account_id:, option_strategy_id:, extra: {})
@@ -260,7 +260,7 @@ module SnapTrade
260
260
  # Get latest market data of option strategy
261
261
  # @param user_id [String]
262
262
  # @param user_secret [String]
263
- # @param account_id [String] The ID of the account get positions.
263
+ # @param account_id [String] The ID of the account the strategy will be placed in.
264
264
  # @param option_strategy_id [String] Option strategy id obtained from response when creating option strategy object
265
265
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
266
266
  def get_options_strategy_quote_with_http_info(user_id:, user_secret:, account_id:, option_strategy_id:, extra: {})
@@ -270,7 +270,7 @@ module SnapTrade
270
270
  # Get latest market data of option strategy
271
271
  # @param user_id [String]
272
272
  # @param user_secret [String]
273
- # @param account_id [String] The ID of the account get positions.
273
+ # @param account_id [String] The ID of the account the strategy will be placed in.
274
274
  # @param option_strategy_id [String] Option strategy id obtained from response when creating option strategy object
275
275
  # @param [Hash] opts the optional parameters
276
276
  # @return [StrategyQuotes]
@@ -282,7 +282,7 @@ module SnapTrade
282
282
  # Get latest market data of option strategy
283
283
  # @param user_id [String]
284
284
  # @param user_secret [String]
285
- # @param account_id [String] The ID of the account get positions.
285
+ # @param account_id [String] The ID of the account the strategy will be placed in.
286
286
  # @param option_strategy_id [String] Option strategy id obtained from response when creating option strategy object
287
287
  # @param [Hash] opts the optional parameters
288
288
  # @return [Array<(StrategyQuotes, Integer, Hash)>] StrategyQuotes data, response status code and response headers
@@ -352,7 +352,7 @@ module SnapTrade
352
352
  # Get the options holdings in the account
353
353
  # @param user_id [String]
354
354
  # @param user_secret [String]
355
- # @param account_id [String] The ID of the account get positions.
355
+ # @param account_id [String] The ID of the account to fetch options holdings for.
356
356
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
357
357
  def list_option_holdings(user_id:, user_secret:, account_id:, extra: {})
358
358
  data, _status_code, _headers = list_option_holdings_with_http_info_impl(user_id, user_secret, account_id, extra)
@@ -362,7 +362,7 @@ module SnapTrade
362
362
  # Get the options holdings in the account
363
363
  # @param user_id [String]
364
364
  # @param user_secret [String]
365
- # @param account_id [String] The ID of the account get positions.
365
+ # @param account_id [String] The ID of the account to fetch options holdings for.
366
366
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
367
367
  def list_option_holdings_with_http_info(user_id:, user_secret:, account_id:, extra: {})
368
368
  list_option_holdings_with_http_info_impl(user_id, user_secret, account_id, extra)
@@ -371,7 +371,7 @@ module SnapTrade
371
371
  # Get the options holdings in the account
372
372
  # @param user_id [String]
373
373
  # @param user_secret [String]
374
- # @param account_id [String] The ID of the account get positions.
374
+ # @param account_id [String] The ID of the account to fetch options holdings for.
375
375
  # @param [Hash] opts the optional parameters
376
376
  # @return [Array<OptionsPosition>]
377
377
  def list_option_holdings_impl(user_id, user_secret, account_id, opts = {})
@@ -382,7 +382,7 @@ module SnapTrade
382
382
  # Get the options holdings in the account
383
383
  # @param user_id [String]
384
384
  # @param user_secret [String]
385
- # @param account_id [String] The ID of the account get positions.
385
+ # @param account_id [String] The ID of the account to fetch options holdings for.
386
386
  # @param [Hash] opts the optional parameters
387
387
  # @return [Array<(Array<OptionsPosition>, Integer, Hash)>] Array<OptionsPosition> data, response status code and response headers
388
388
  def list_option_holdings_with_http_info_impl(user_id, user_secret, account_id, opts = {})
@@ -450,7 +450,7 @@ module SnapTrade
450
450
  # @param price [Float] Trade Price if limit or stop limit order
451
451
  # @param user_id [String]
452
452
  # @param user_secret [String]
453
- # @param account_id [String] The ID of the account get positions.
453
+ # @param account_id [String] The ID of the account to execute the strategy in.
454
454
  # @param option_strategy_id [String] Option strategy id obtained from response when creating option strategy object
455
455
  # @param body [OptionsPlaceOptionStrategyRequest]
456
456
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
@@ -470,7 +470,7 @@ module SnapTrade
470
470
  # @param price [Float] Trade Price if limit or stop limit order
471
471
  # @param user_id [String]
472
472
  # @param user_secret [String]
473
- # @param account_id [String] The ID of the account get positions.
473
+ # @param account_id [String] The ID of the account to execute the strategy in.
474
474
  # @param option_strategy_id [String] Option strategy id obtained from response when creating option strategy object
475
475
  # @param body [OptionsPlaceOptionStrategyRequest]
476
476
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
@@ -486,7 +486,7 @@ module SnapTrade
486
486
  # Place an option strategy order on the brokerage
487
487
  # @param user_id [String]
488
488
  # @param user_secret [String]
489
- # @param account_id [String] The ID of the account get positions.
489
+ # @param account_id [String] The ID of the account to execute the strategy in.
490
490
  # @param option_strategy_id [String] Option strategy id obtained from response when creating option strategy object
491
491
  # @param options_place_option_strategy_request [OptionsPlaceOptionStrategyRequest]
492
492
  # @param [Hash] opts the optional parameters
@@ -499,7 +499,7 @@ module SnapTrade
499
499
  # Place an option strategy order on the brokerage
500
500
  # @param user_id [String]
501
501
  # @param user_secret [String]
502
- # @param account_id [String] The ID of the account get positions.
502
+ # @param account_id [String] The ID of the account to execute the strategy in.
503
503
  # @param option_strategy_id [String] Option strategy id obtained from response when creating option strategy object
504
504
  # @param options_place_option_strategy_request [OptionsPlaceOptionStrategyRequest]
505
505
  # @param [Hash] opts the optional parameters
@@ -164,20 +164,23 @@ module SnapTrade
164
164
  end
165
165
 
166
166
 
167
- # List of all security types.
167
+ # List of all security types
168
+ # List security types available on SnapTrade.
168
169
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
169
170
  def get_security_types(extra: {})
170
171
  data, _status_code, _headers = get_security_types_with_http_info_impl(extra)
171
172
  data
172
173
  end
173
174
 
174
- # List of all security types.
175
+ # List of all security types
176
+ # List security types available on SnapTrade.
175
177
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
176
178
  def get_security_types_with_http_info(extra: {})
177
179
  get_security_types_with_http_info_impl(extra)
178
180
  end
179
181
 
180
- # List of all security types.
182
+ # List of all security types
183
+ # List security types available on SnapTrade.
181
184
  # @param [Hash] opts the optional parameters
182
185
  # @return [Array<SecurityType>]
183
186
  def get_security_types_impl(opts = {})
@@ -185,7 +188,8 @@ module SnapTrade
185
188
  data
186
189
  end
187
190
 
188
- # List of all security types.
191
+ # List of all security types
192
+ # List security types available on SnapTrade.
189
193
  # @param [Hash] opts the optional parameters
190
194
  # @return [Array<(Array<SecurityType>, Integer, Hash)>] Array<SecurityType> data, response status code and response headers
191
195
  def get_security_types_with_http_info_impl(opts = {})
@@ -758,7 +762,7 @@ module SnapTrade
758
762
  # Search for symbols available in an account
759
763
  # @param user_id [String]
760
764
  # @param user_secret [String]
761
- # @param account_id [String] The ID of the account get positions.
765
+ # @param account_id [String] The ID of the account to search for symbols within.
762
766
  # @param substring [String]
763
767
  # @param body [SymbolQuery]
764
768
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
@@ -773,7 +777,7 @@ module SnapTrade
773
777
  # Search for symbols available in an account
774
778
  # @param user_id [String]
775
779
  # @param user_secret [String]
776
- # @param account_id [String] The ID of the account get positions.
780
+ # @param account_id [String] The ID of the account to search for symbols within.
777
781
  # @param substring [String]
778
782
  # @param body [SymbolQuery]
779
783
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
@@ -787,7 +791,7 @@ module SnapTrade
787
791
  # Search for symbols available in an account
788
792
  # @param user_id [String]
789
793
  # @param user_secret [String]
790
- # @param account_id [String] The ID of the account get positions.
794
+ # @param account_id [String] The ID of the account to search for symbols within.
791
795
  # @param [Hash] opts the optional parameters
792
796
  # @option opts [SymbolQuery] :symbol_query
793
797
  # @return [Array<UniversalSymbol>]
@@ -799,7 +803,7 @@ module SnapTrade
799
803
  # Search for symbols available in an account
800
804
  # @param user_id [String]
801
805
  # @param user_secret [String]
802
- # @param account_id [String] The ID of the account get positions.
806
+ # @param account_id [String] The ID of the account to search for symbols within.
803
807
  # @param [Hash] opts the optional parameters
804
808
  # @option opts [SymbolQuery] :symbol_query
805
809
  # @return [Array<(Array<UniversalSymbol>, Integer, Hash)>] Array<UniversalSymbol> data, response status code and response headers
@@ -21,7 +21,7 @@ module SnapTrade
21
21
  # Cancel open order in account
22
22
  # @param user_id [String]
23
23
  # @param user_secret [String]
24
- # @param account_id [String] The ID of the account get positions.
24
+ # @param account_id [String] The ID of the account to cancel the order in.
25
25
  # @param brokerage_order_id [String]
26
26
  # @param body [TradingCancelUserAccountOrderRequest] The Order ID to be canceled
27
27
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
@@ -36,7 +36,7 @@ module SnapTrade
36
36
  # Cancel open order in account
37
37
  # @param user_id [String]
38
38
  # @param user_secret [String]
39
- # @param account_id [String] The ID of the account get positions.
39
+ # @param account_id [String] The ID of the account to cancel the order in.
40
40
  # @param brokerage_order_id [String]
41
41
  # @param body [TradingCancelUserAccountOrderRequest] The Order ID to be canceled
42
42
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
@@ -50,7 +50,7 @@ module SnapTrade
50
50
  # Cancel open order in account
51
51
  # @param user_id [String]
52
52
  # @param user_secret [String]
53
- # @param account_id [String] The ID of the account get positions.
53
+ # @param account_id [String] The ID of the account to cancel the order in.
54
54
  # @param trading_cancel_user_account_order_request [TradingCancelUserAccountOrderRequest] The Order ID to be canceled
55
55
  # @param [Hash] opts the optional parameters
56
56
  # @return [AccountOrderRecord]
@@ -62,7 +62,7 @@ module SnapTrade
62
62
  # Cancel open order in account
63
63
  # @param user_id [String]
64
64
  # @param user_secret [String]
65
- # @param account_id [String] The ID of the account get positions.
65
+ # @param account_id [String] The ID of the account to cancel the order in.
66
66
  # @param trading_cancel_user_account_order_request [TradingCancelUserAccountOrderRequest] The Order ID to be canceled
67
67
  # @param [Hash] opts the optional parameters
68
68
  # @return [Array<(AccountOrderRecord, Integer, Hash)>] AccountOrderRecord data, response status code and response headers
@@ -19,7 +19,7 @@ module SnapTrade
19
19
  end
20
20
 
21
21
  # Get transaction history for a user
22
- # Returns activities (transactions) for a user. Specifing start and end date is highly recommended for automatic calls for better performance
22
+ # Returns activities (transactions) for a user. Specifing start and end date is highly recommended for better performance
23
23
  # @param user_id [String]
24
24
  # @param user_secret [String]
25
25
  # @param start_date [Date]
@@ -39,7 +39,7 @@ module SnapTrade
39
39
  end
40
40
 
41
41
  # Get transaction history for a user
42
- # Returns activities (transactions) for a user. Specifing start and end date is highly recommended for automatic calls for better performance
42
+ # Returns activities (transactions) for a user. Specifing start and end date is highly recommended for better performance
43
43
  # @param user_id [String]
44
44
  # @param user_secret [String]
45
45
  # @param start_date [Date]
@@ -58,7 +58,7 @@ module SnapTrade
58
58
  end
59
59
 
60
60
  # Get transaction history for a user
61
- # Returns activities (transactions) for a user. Specifing start and end date is highly recommended for automatic calls for better performance
61
+ # Returns activities (transactions) for a user. Specifing start and end date is highly recommended for better performance
62
62
  # @param user_id [String]
63
63
  # @param user_secret [String]
64
64
  # @param [Hash] opts the optional parameters
@@ -74,7 +74,7 @@ module SnapTrade
74
74
  end
75
75
 
76
76
  # Get transaction history for a user
77
- # Returns activities (transactions) for a user. Specifing start and end date is highly recommended for automatic calls for better performance
77
+ # Returns activities (transactions) for a user. Specifing start and end date is highly recommended for better performance
78
78
  # @param user_id [String]
79
79
  # @param user_secret [String]
80
80
  # @param [Hash] opts the optional parameters