snaptrade 1.16.3 → 1.17.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.
Files changed (78) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +12 -20
  3. data/README.md +5 -5
  4. data/docs/AccountHoldings.md +2 -2
  5. data/docs/AccountHoldingsAccount.md +2 -2
  6. data/docs/AccountInformationApi.md +64 -64
  7. data/docs/AccountOrderRecord.md +2 -2
  8. data/docs/AuthenticationApi.md +32 -32
  9. data/docs/Balance.md +1 -1
  10. data/docs/Brokerage.md +1 -1
  11. data/docs/BrokerageAuthorization.md +1 -1
  12. data/docs/BrokerageAuthorizationTypeReadOnly.md +1 -1
  13. data/docs/BrokerageSymbol.md +1 -1
  14. data/docs/BrokerageSymbolOptionSymbol.md +1 -1
  15. data/docs/BrokerageSymbolSymbol.md +7 -7
  16. data/docs/ConnectionsApi.md +30 -30
  17. data/docs/EncryptedResponse.md +1 -1
  18. data/docs/ErrorLogsApi.md +6 -6
  19. data/docs/ExchangeRatePairs.md +2 -2
  20. data/docs/ExcludedAsset.md +1 -1
  21. data/docs/ManualTrade.md +1 -1
  22. data/docs/ManualTradeAndImpact.md +2 -2
  23. data/docs/ManualTradeBalance.md +2 -2
  24. data/docs/ManualTradeSymbol.md +1 -1
  25. data/docs/ModelAssetClassDetails.md +1 -1
  26. data/docs/ModelAssetClassTarget.md +1 -1
  27. data/docs/ModelPortfolioAssetClass.md +1 -1
  28. data/docs/ModelPortfolioDetails.md +1 -1
  29. data/docs/ModelPortfolioSecurity.md +1 -1
  30. data/docs/MonthlyDividends.md +1 -1
  31. data/docs/NetContributions.md +1 -1
  32. data/docs/NetDividend.md +1 -1
  33. data/docs/OptionStrategy.md +1 -1
  34. data/docs/OptionsApi.md +58 -58
  35. data/docs/OptionsHoldings.md +2 -2
  36. data/docs/OptionsPosition.md +1 -1
  37. data/docs/OptionsSymbol.md +1 -1
  38. data/docs/PastValue.md +1 -1
  39. data/docs/PerformanceCustom.md +1 -1
  40. data/docs/PortfolioGroupInfo.md +1 -1
  41. data/docs/PortfolioGroupPosition.md +1 -1
  42. data/docs/PortfolioGroupSettings.md +1 -1
  43. data/docs/Position.md +1 -1
  44. data/docs/PositionSymbol.md +1 -1
  45. data/docs/ReferenceDataApi.md +28 -28
  46. data/docs/SnapTradeHoldingsAccount.md +1 -1
  47. data/docs/StrategyOrderRecord.md +1 -1
  48. data/docs/StrategyQuotes.md +2 -2
  49. data/docs/SubPeriodReturnRate.md +2 -2
  50. data/docs/Symbol.md +3 -3
  51. data/docs/SymbolsQuotesInner.md +1 -1
  52. data/docs/TargetAsset.md +1 -1
  53. data/docs/Trade.md +3 -3
  54. data/docs/TradeExecutionStatus.md +3 -3
  55. data/docs/TradeImpact.md +2 -2
  56. data/docs/TradingApi.md +84 -84
  57. data/docs/TransactionsAndReportingApi.md +32 -32
  58. data/docs/TransactionsStatus.md +1 -1
  59. data/docs/UnderlyingSymbol.md +3 -3
  60. data/docs/UniversalActivity.md +5 -5
  61. data/docs/UniversalSymbol.md +7 -7
  62. data/docs/UniversalSymbolTicker.md +3 -3
  63. data/docs/UserSettings.md +1 -1
  64. data/header.png +0 -0
  65. data/lib/snaptrade/api/account_information_api.rb +0 -16
  66. data/lib/snaptrade/api/api_status_api.rb +0 -2
  67. data/lib/snaptrade/api/authentication_api.rb +0 -10
  68. data/lib/snaptrade/api/connections_api.rb +0 -8
  69. data/lib/snaptrade/api/error_logs_api.rb +0 -2
  70. data/lib/snaptrade/api/options_api.rb +0 -10
  71. data/lib/snaptrade/api/reference_data_api.rb +0 -22
  72. data/lib/snaptrade/api/trading_api.rb +0 -12
  73. data/lib/snaptrade/api/transactions_and_reporting_api.rb +0 -4
  74. data/lib/snaptrade/models/brokerage_symbol_symbol.rb +30 -0
  75. data/lib/snaptrade/models/universal_activity.rb +1 -1
  76. data/lib/snaptrade/models/universal_symbol.rb +30 -0
  77. data/lib/snaptrade/version.rb +1 -1
  78. metadata +4 -3
@@ -4,14 +4,14 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **id** | **String** | | [optional] |
8
- | **symbol** | **String** | | [optional] |
9
- | **raw_symbol** | **String** | | [optional] |
7
+ | **id** | **String** | | |
8
+ | **symbol** | **String** | | |
9
+ | **raw_symbol** | **String** | | |
10
10
  | **description** | **String** | | [optional] |
11
- | **currency** | [**Currency**](Currency.md) | | [optional] |
12
- | **exchange** | [**Exchange**](Exchange.md) | | [optional] |
13
- | **type** | [**SecurityType**](SecurityType.md) | | [optional] |
14
- | **currencies** | [**Array<Currency>**](Currency.md) | | [optional] |
11
+ | **currency** | **Currency** | | |
12
+ | **exchange** | **Exchange** | | [optional] |
13
+ | **type** | **SecurityType** | | |
14
+ | **currencies** | [**Array<Currency>**](Currency.md) | | |
15
15
 
16
16
  ## Example
17
17
 
@@ -8,9 +8,9 @@
8
8
  | **symbol** | **String** | | [optional] |
9
9
  | **raw_symbol** | **String** | | [optional] |
10
10
  | **description** | **String** | | [optional] |
11
- | **currency** | [**Currency**](Currency.md) | | [optional] |
12
- | **exchange** | [**Exchange**](Exchange.md) | | [optional] |
13
- | **type** | [**SecurityType**](SecurityType.md) | | [optional] |
11
+ | **currency** | **Currency** | | [optional] |
12
+ | **exchange** | **Exchange** | | [optional] |
13
+ | **type** | **SecurityType** | | [optional] |
14
14
  | **currencies** | [**Array<Currency>**](Currency.md) | | [optional] |
15
15
 
16
16
  ## Example
data/docs/UserSettings.md CHANGED
@@ -13,7 +13,7 @@
13
13
  | **demo** | **Boolean** | | [optional] |
14
14
  | **api_enabled** | **Boolean** | | [optional] |
15
15
  | **drift_threshold** | **Float** | | [optional] |
16
- | **preferred_currency** | [**Currency**](Currency.md) | | [optional] |
16
+ | **preferred_currency** | **Currency** | | [optional] |
17
17
 
18
18
  ## Example
19
19
 
data/header.png ADDED
Binary file
@@ -25,7 +25,6 @@ module SnapTrade
25
25
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
26
26
  def get_all_user_holdings(user_id:, user_secret:, brokerage_authorizations: SENTINEL, extra: {})
27
27
  extra[:brokerage_authorizations] = brokerage_authorizations if brokerage_authorizations != SENTINEL
28
-
29
28
  data, _status_code, _headers = get_all_user_holdings_with_http_info_impl(user_id, user_secret, extra)
30
29
  data
31
30
  end
@@ -37,7 +36,6 @@ module SnapTrade
37
36
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
38
37
  def get_all_user_holdings_with_http_info(user_id:, user_secret:, brokerage_authorizations: SENTINEL, extra: {})
39
38
  extra[:brokerage_authorizations] = brokerage_authorizations if brokerage_authorizations != SENTINEL
40
-
41
39
  get_all_user_holdings_with_http_info_impl(user_id, user_secret, extra)
42
40
  end
43
41
 
@@ -120,7 +118,6 @@ module SnapTrade
120
118
  # @param account_id [String] The ID of the account get positions.
121
119
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
122
120
  def get_user_account_balance(user_id:, user_secret:, account_id:, extra: {})
123
-
124
121
  data, _status_code, _headers = get_user_account_balance_with_http_info_impl(user_id, user_secret, account_id, extra)
125
122
  data
126
123
  end
@@ -131,7 +128,6 @@ module SnapTrade
131
128
  # @param account_id [String] The ID of the account get positions.
132
129
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
133
130
  def get_user_account_balance_with_http_info(user_id:, user_secret:, account_id:, extra: {})
134
-
135
131
  get_user_account_balance_with_http_info_impl(user_id, user_secret, account_id, extra)
136
132
  end
137
133
 
@@ -217,7 +213,6 @@ module SnapTrade
217
213
  # @param account_id [String] The ID of the account to get detail of.
218
214
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
219
215
  def get_user_account_details(user_id:, user_secret:, account_id:, extra: {})
220
-
221
216
  data, _status_code, _headers = get_user_account_details_with_http_info_impl(user_id, user_secret, account_id, extra)
222
217
  data
223
218
  end
@@ -228,7 +223,6 @@ module SnapTrade
228
223
  # @param account_id [String] The ID of the account to get detail of.
229
224
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
230
225
  def get_user_account_details_with_http_info(user_id:, user_secret:, account_id:, extra: {})
231
-
232
226
  get_user_account_details_with_http_info_impl(user_id, user_secret, account_id, extra)
233
227
  end
234
228
 
@@ -316,7 +310,6 @@ module SnapTrade
316
310
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
317
311
  def get_user_account_orders(user_id:, user_secret:, account_id:, state: SENTINEL, extra: {})
318
312
  extra[:state] = state if state != SENTINEL
319
-
320
313
  data, _status_code, _headers = get_user_account_orders_with_http_info_impl(user_id, user_secret, account_id, extra)
321
314
  data
322
315
  end
@@ -329,7 +322,6 @@ module SnapTrade
329
322
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
330
323
  def get_user_account_orders_with_http_info(user_id:, user_secret:, account_id:, state: SENTINEL, extra: {})
331
324
  extra[:state] = state if state != SENTINEL
332
-
333
325
  get_user_account_orders_with_http_info_impl(user_id, user_secret, account_id, extra)
334
326
  end
335
327
 
@@ -422,7 +414,6 @@ module SnapTrade
422
414
  # @param account_id [String] The ID of the account get positions.
423
415
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
424
416
  def get_user_account_positions(user_id:, user_secret:, account_id:, extra: {})
425
-
426
417
  data, _status_code, _headers = get_user_account_positions_with_http_info_impl(user_id, user_secret, account_id, extra)
427
418
  data
428
419
  end
@@ -433,7 +424,6 @@ module SnapTrade
433
424
  # @param account_id [String] The ID of the account get positions.
434
425
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
435
426
  def get_user_account_positions_with_http_info(user_id:, user_secret:, account_id:, extra: {})
436
-
437
427
  get_user_account_positions_with_http_info_impl(user_id, user_secret, account_id, extra)
438
428
  end
439
429
 
@@ -519,7 +509,6 @@ module SnapTrade
519
509
  # @param user_secret [String]
520
510
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
521
511
  def get_user_holdings(account_id:, user_id:, user_secret:, extra: {})
522
-
523
512
  data, _status_code, _headers = get_user_holdings_with_http_info_impl(account_id, user_id, user_secret, extra)
524
513
  data
525
514
  end
@@ -530,7 +519,6 @@ module SnapTrade
530
519
  # @param user_secret [String]
531
520
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
532
521
  def get_user_holdings_with_http_info(account_id:, user_id:, user_secret:, extra: {})
533
-
534
522
  get_user_holdings_with_http_info_impl(account_id, user_id, user_secret, extra)
535
523
  end
536
524
 
@@ -615,7 +603,6 @@ module SnapTrade
615
603
  # @param user_secret [String]
616
604
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
617
605
  def list_user_accounts(user_id:, user_secret:, extra: {})
618
-
619
606
  data, _status_code, _headers = list_user_accounts_with_http_info_impl(user_id, user_secret, extra)
620
607
  data
621
608
  end
@@ -625,7 +612,6 @@ module SnapTrade
625
612
  # @param user_secret [String]
626
613
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
627
614
  def list_user_accounts_with_http_info(user_id:, user_secret:, extra: {})
628
-
629
615
  list_user_accounts_with_http_info_impl(user_id, user_secret, extra)
630
616
  end
631
617
 
@@ -705,7 +691,6 @@ module SnapTrade
705
691
  # @param account_id [String] The ID of the account to update.
706
692
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
707
693
  def update_user_account(user_id:, user_secret:, account_id:, extra: {})
708
-
709
694
  data, _status_code, _headers = update_user_account_with_http_info_impl(user_id, user_secret, account_id, extra)
710
695
  data
711
696
  end
@@ -716,7 +701,6 @@ module SnapTrade
716
701
  # @param account_id [String] The ID of the account to update.
717
702
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
718
703
  def update_user_account_with_http_info(user_id:, user_secret:, account_id:, extra: {})
719
-
720
704
  update_user_account_with_http_info_impl(user_id, user_secret, account_id, extra)
721
705
  end
722
706
 
@@ -22,7 +22,6 @@ module SnapTrade
22
22
  # Check whether the API is operational and verify timestamps.
23
23
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
24
24
  def check(extra: {})
25
-
26
25
  data, _status_code, _headers = check_with_http_info_impl(extra)
27
26
  data
28
27
  end
@@ -31,7 +30,6 @@ module SnapTrade
31
30
  # Check whether the API is operational and verify timestamps.
32
31
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
33
32
  def check_with_http_info(extra: {})
34
-
35
33
  check_with_http_info_impl(extra)
36
34
  end
37
35
 
@@ -22,7 +22,6 @@ module SnapTrade
22
22
  # @param user_id [String]
23
23
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
24
24
  def delete_snap_trade_user(user_id:, extra: {})
25
-
26
25
  data, _status_code, _headers = delete_snap_trade_user_with_http_info_impl(user_id, extra)
27
26
  data
28
27
  end
@@ -31,7 +30,6 @@ module SnapTrade
31
30
  # @param user_id [String]
32
31
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
33
32
  def delete_snap_trade_user_with_http_info(user_id:, extra: {})
34
-
35
33
  delete_snap_trade_user_with_http_info_impl(user_id, extra)
36
34
  end
37
35
 
@@ -103,7 +101,6 @@ module SnapTrade
103
101
  # @param user_secret [String]
104
102
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
105
103
  def get_user_jwt(user_id:, user_secret:, extra: {})
106
-
107
104
  data, _status_code, _headers = get_user_jwt_with_http_info_impl(user_id, user_secret, extra)
108
105
  data
109
106
  end
@@ -113,7 +110,6 @@ module SnapTrade
113
110
  # @param user_secret [String]
114
111
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
115
112
  def get_user_jwt_with_http_info(user_id:, user_secret:, extra: {})
116
-
117
113
  get_user_jwt_with_http_info_impl(user_id, user_secret, extra)
118
114
  end
119
115
 
@@ -190,7 +186,6 @@ module SnapTrade
190
186
  # List SnapTrade users
191
187
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
192
188
  def list_snap_trade_users(extra: {})
193
-
194
189
  data, _status_code, _headers = list_snap_trade_users_with_http_info_impl(extra)
195
190
  data
196
191
  end
@@ -198,7 +193,6 @@ module SnapTrade
198
193
  # List SnapTrade users
199
194
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
200
195
  def list_snap_trade_users_with_http_info(extra: {})
201
-
202
196
  list_snap_trade_users_with_http_info_impl(extra)
203
197
  end
204
198
 
@@ -276,7 +270,6 @@ module SnapTrade
276
270
  _body[:reconnect] = reconnect if reconnect != SENTINEL
277
271
  _body[:connectionType] = connection_type if connection_type != SENTINEL
278
272
  extra[:snap_trade_login_user_request_body] = _body if !_body.empty?
279
-
280
273
  data, _status_code, _headers = login_snap_trade_user_with_http_info_impl(user_id, user_secret, extra)
281
274
  data
282
275
  end
@@ -299,7 +292,6 @@ module SnapTrade
299
292
  _body[:reconnect] = reconnect if reconnect != SENTINEL
300
293
  _body[:connectionType] = connection_type if connection_type != SENTINEL
301
294
  extra[:snap_trade_login_user_request_body] = _body if !_body.empty?
302
-
303
295
  login_snap_trade_user_with_http_info_impl(user_id, user_secret, extra)
304
296
  end
305
297
 
@@ -390,7 +382,6 @@ module SnapTrade
390
382
  _body[:userId] = user_id if user_id != SENTINEL
391
383
  _body[:rsaPublicKey] = rsa_public_key if rsa_public_key != SENTINEL
392
384
  snap_trade_register_user_request_body = _body
393
-
394
385
  data, _status_code, _headers = register_snap_trade_user_with_http_info_impl(snap_trade_register_user_request_body, extra)
395
386
  data
396
387
  end
@@ -405,7 +396,6 @@ module SnapTrade
405
396
  _body[:userId] = user_id if user_id != SENTINEL
406
397
  _body[:rsaPublicKey] = rsa_public_key if rsa_public_key != SENTINEL
407
398
  snap_trade_register_user_request_body = _body
408
-
409
399
  register_snap_trade_user_with_http_info_impl(snap_trade_register_user_request_body, extra)
410
400
  end
411
401
 
@@ -24,7 +24,6 @@ module SnapTrade
24
24
  # @param user_secret [String]
25
25
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
26
26
  def detail_brokerage_authorization(authorization_id:, user_id:, user_secret:, extra: {})
27
-
28
27
  data, _status_code, _headers = detail_brokerage_authorization_with_http_info_impl(authorization_id, user_id, user_secret, extra)
29
28
  data
30
29
  end
@@ -35,7 +34,6 @@ module SnapTrade
35
34
  # @param user_secret [String]
36
35
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
37
36
  def detail_brokerage_authorization_with_http_info(authorization_id:, user_id:, user_secret:, extra: {})
38
-
39
37
  detail_brokerage_authorization_with_http_info_impl(authorization_id, user_id, user_secret, extra)
40
38
  end
41
39
 
@@ -120,7 +118,6 @@ module SnapTrade
120
118
  # @param user_secret [String]
121
119
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
122
120
  def list_brokerage_authorizations(user_id:, user_secret:, extra: {})
123
-
124
121
  data, _status_code, _headers = list_brokerage_authorizations_with_http_info_impl(user_id, user_secret, extra)
125
122
  data
126
123
  end
@@ -130,7 +127,6 @@ module SnapTrade
130
127
  # @param user_secret [String]
131
128
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
132
129
  def list_brokerage_authorizations_with_http_info(user_id:, user_secret:, extra: {})
133
-
134
130
  list_brokerage_authorizations_with_http_info_impl(user_id, user_secret, extra)
135
131
  end
136
132
 
@@ -210,7 +206,6 @@ module SnapTrade
210
206
  # @param user_secret [String]
211
207
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
212
208
  def remove_brokerage_authorization(authorization_id:, user_id:, user_secret:, extra: {})
213
-
214
209
  remove_brokerage_authorization_with_http_info_impl(authorization_id, user_id, user_secret, extra)
215
210
  nil
216
211
  end
@@ -221,7 +216,6 @@ module SnapTrade
221
216
  # @param user_secret [String]
222
217
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
223
218
  def remove_brokerage_authorization_with_http_info(authorization_id:, user_id:, user_secret:, extra: {})
224
-
225
219
  remove_brokerage_authorization_with_http_info_impl(authorization_id, user_id, user_secret, extra)
226
220
  end
227
221
 
@@ -307,7 +301,6 @@ module SnapTrade
307
301
  def session_events(partner_client_id:, user_id: SENTINEL, session_id: SENTINEL, extra: {})
308
302
  extra[:user_id] = user_id if user_id != SENTINEL
309
303
  extra[:session_id] = session_id if session_id != SENTINEL
310
-
311
304
  data, _status_code, _headers = session_events_with_http_info_impl(partner_client_id, extra)
312
305
  data
313
306
  end
@@ -320,7 +313,6 @@ module SnapTrade
320
313
  def session_events_with_http_info(partner_client_id:, user_id: SENTINEL, session_id: SENTINEL, extra: {})
321
314
  extra[:user_id] = user_id if user_id != SENTINEL
322
315
  extra[:session_id] = session_id if session_id != SENTINEL
323
-
324
316
  session_events_with_http_info_impl(partner_client_id, extra)
325
317
  end
326
318
 
@@ -23,7 +23,6 @@ module SnapTrade
23
23
  # @param user_secret [String]
24
24
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
25
25
  def list_user_errors(user_id:, user_secret:, extra: {})
26
-
27
26
  data, _status_code, _headers = list_user_errors_with_http_info_impl(user_id, user_secret, extra)
28
27
  data
29
28
  end
@@ -33,7 +32,6 @@ module SnapTrade
33
32
  # @param user_secret [String]
34
33
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
35
34
  def list_user_errors_with_http_info(user_id:, user_secret:, extra: {})
36
-
37
35
  list_user_errors_with_http_info_impl(user_id, user_secret, extra)
38
36
  end
39
37
 
@@ -33,7 +33,6 @@ module SnapTrade
33
33
  _body[:legs] = legs if legs != SENTINEL
34
34
  _body[:strategy_type] = strategy_type if strategy_type != SENTINEL
35
35
  options_get_option_strategy_request = _body
36
-
37
36
  data, _status_code, _headers = get_option_strategy_with_http_info_impl(user_id, user_secret, account_id, options_get_option_strategy_request, extra)
38
37
  data
39
38
  end
@@ -53,7 +52,6 @@ module SnapTrade
53
52
  _body[:legs] = legs if legs != SENTINEL
54
53
  _body[:strategy_type] = strategy_type if strategy_type != SENTINEL
55
54
  options_get_option_strategy_request = _body
56
-
57
55
  get_option_strategy_with_http_info_impl(user_id, user_secret, account_id, options_get_option_strategy_request, extra)
58
56
  end
59
57
 
@@ -151,7 +149,6 @@ module SnapTrade
151
149
  # @param symbol [String] Universal symbol ID if symbol
152
150
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
153
151
  def get_options_chain(user_id:, user_secret:, account_id:, symbol:, extra: {})
154
-
155
152
  data, _status_code, _headers = get_options_chain_with_http_info_impl(user_id, user_secret, account_id, symbol, extra)
156
153
  data
157
154
  end
@@ -163,7 +160,6 @@ module SnapTrade
163
160
  # @param symbol [String] Universal symbol ID if symbol
164
161
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
165
162
  def get_options_chain_with_http_info(user_id:, user_secret:, account_id:, symbol:, extra: {})
166
-
167
163
  get_options_chain_with_http_info_impl(user_id, user_secret, account_id, symbol, extra)
168
164
  end
169
165
 
@@ -257,7 +253,6 @@ module SnapTrade
257
253
  # @param option_strategy_id [String] Option strategy id obtained from response when creating option strategy object
258
254
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
259
255
  def get_options_strategy_quote(user_id:, user_secret:, account_id:, option_strategy_id:, extra: {})
260
-
261
256
  data, _status_code, _headers = get_options_strategy_quote_with_http_info_impl(user_id, user_secret, account_id, option_strategy_id, extra)
262
257
  data
263
258
  end
@@ -269,7 +264,6 @@ module SnapTrade
269
264
  # @param option_strategy_id [String] Option strategy id obtained from response when creating option strategy object
270
265
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
271
266
  def get_options_strategy_quote_with_http_info(user_id:, user_secret:, account_id:, option_strategy_id:, extra: {})
272
-
273
267
  get_options_strategy_quote_with_http_info_impl(user_id, user_secret, account_id, option_strategy_id, extra)
274
268
  end
275
269
 
@@ -361,7 +355,6 @@ module SnapTrade
361
355
  # @param account_id [String] The ID of the account get positions.
362
356
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
363
357
  def list_option_holdings(user_id:, user_secret:, account_id:, extra: {})
364
-
365
358
  data, _status_code, _headers = list_option_holdings_with_http_info_impl(user_id, user_secret, account_id, extra)
366
359
  data
367
360
  end
@@ -372,7 +365,6 @@ module SnapTrade
372
365
  # @param account_id [String] The ID of the account get positions.
373
366
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
374
367
  def list_option_holdings_with_http_info(user_id:, user_secret:, account_id:, extra: {})
375
-
376
368
  list_option_holdings_with_http_info_impl(user_id, user_secret, account_id, extra)
377
369
  end
378
370
 
@@ -468,7 +460,6 @@ module SnapTrade
468
460
  _body[:time_in_force] = time_in_force if time_in_force != SENTINEL
469
461
  _body[:price] = price if price != SENTINEL
470
462
  options_place_option_strategy_request = _body
471
-
472
463
  data, _status_code, _headers = place_option_strategy_with_http_info_impl(user_id, user_secret, account_id, option_strategy_id, options_place_option_strategy_request, extra)
473
464
  data
474
465
  end
@@ -489,7 +480,6 @@ module SnapTrade
489
480
  _body[:time_in_force] = time_in_force if time_in_force != SENTINEL
490
481
  _body[:price] = price if price != SENTINEL
491
482
  options_place_option_strategy_request = _body
492
-
493
483
  place_option_strategy_with_http_info_impl(user_id, user_secret, account_id, option_strategy_id, options_place_option_strategy_request, extra)
494
484
  end
495
485
 
@@ -22,7 +22,6 @@ module SnapTrade
22
22
  # @param currency_pair [String] A currency pair based on currency code for example, {CAD-USD}
23
23
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
24
24
  def get_currency_exchange_rate_pair(currency_pair:, extra: {})
25
-
26
25
  data, _status_code, _headers = get_currency_exchange_rate_pair_with_http_info_impl(currency_pair, extra)
27
26
  data
28
27
  end
@@ -31,7 +30,6 @@ module SnapTrade
31
30
  # @param currency_pair [String] A currency pair based on currency code for example, {CAD-USD}
32
31
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
33
32
  def get_currency_exchange_rate_pair_with_http_info(currency_pair:, extra: {})
34
-
35
33
  get_currency_exchange_rate_pair_with_http_info_impl(currency_pair, extra)
36
34
  end
37
35
 
@@ -100,7 +98,6 @@ module SnapTrade
100
98
  # Get metadata related to Snaptrade partner
101
99
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
102
100
  def get_partner_info(extra: {})
103
-
104
101
  data, _status_code, _headers = get_partner_info_with_http_info_impl(extra)
105
102
  data
106
103
  end
@@ -108,7 +105,6 @@ module SnapTrade
108
105
  # Get metadata related to Snaptrade partner
109
106
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
110
107
  def get_partner_info_with_http_info(extra: {})
111
-
112
108
  get_partner_info_with_http_info_impl(extra)
113
109
  end
114
110
 
@@ -171,7 +167,6 @@ module SnapTrade
171
167
  # List of all security types.
172
168
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
173
169
  def get_security_types(extra: {})
174
-
175
170
  data, _status_code, _headers = get_security_types_with_http_info_impl(extra)
176
171
  data
177
172
  end
@@ -179,7 +174,6 @@ module SnapTrade
179
174
  # List of all security types.
180
175
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
181
176
  def get_security_types_with_http_info(extra: {})
182
-
183
177
  get_security_types_with_http_info_impl(extra)
184
178
  end
185
179
 
@@ -242,7 +236,6 @@ module SnapTrade
242
236
  # List exchanges
243
237
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
244
238
  def get_stock_exchanges(extra: {})
245
-
246
239
  data, _status_code, _headers = get_stock_exchanges_with_http_info_impl(extra)
247
240
  data
248
241
  end
@@ -250,7 +243,6 @@ module SnapTrade
250
243
  # List exchanges
251
244
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
252
245
  def get_stock_exchanges_with_http_info(extra: {})
253
-
254
246
  get_stock_exchanges_with_http_info_impl(extra)
255
247
  end
256
248
 
@@ -318,7 +310,6 @@ module SnapTrade
318
310
  _body = {}
319
311
  _body[:substring] = substring if substring != SENTINEL
320
312
  extra[:symbol_query] = _body if !_body.empty?
321
-
322
313
  data, _status_code, _headers = get_symbols_with_http_info_impl(extra)
323
314
  data
324
315
  end
@@ -331,7 +322,6 @@ module SnapTrade
331
322
  _body = {}
332
323
  _body[:substring] = substring if substring != SENTINEL
333
324
  extra[:symbol_query] = _body if !_body.empty?
334
-
335
325
  get_symbols_with_http_info_impl(extra)
336
326
  end
337
327
 
@@ -404,7 +394,6 @@ module SnapTrade
404
394
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
405
395
  def get_symbols_by_ticker(ticker:, symbol_id: SENTINEL, extra: {})
406
396
  extra[:symbol_id] = symbol_id if symbol_id != SENTINEL
407
-
408
397
  data, _status_code, _headers = get_symbols_by_ticker_with_http_info_impl(ticker, extra)
409
398
  data
410
399
  end
@@ -415,7 +404,6 @@ module SnapTrade
415
404
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
416
405
  def get_symbols_by_ticker_with_http_info(ticker:, symbol_id: SENTINEL, extra: {})
417
406
  extra[:symbol_id] = symbol_id if symbol_id != SENTINEL
418
-
419
407
  get_symbols_by_ticker_with_http_info_impl(ticker, extra)
420
408
  end
421
409
 
@@ -489,7 +477,6 @@ module SnapTrade
489
477
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
490
478
  def list_all_brokerage_authorization_type(brokerage: SENTINEL, extra: {})
491
479
  extra[:brokerage] = brokerage if brokerage != SENTINEL
492
-
493
480
  data, _status_code, _headers = list_all_brokerage_authorization_type_with_http_info_impl(extra)
494
481
  data
495
482
  end
@@ -499,7 +486,6 @@ module SnapTrade
499
486
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
500
487
  def list_all_brokerage_authorization_type_with_http_info(brokerage: SENTINEL, extra: {})
501
488
  extra[:brokerage] = brokerage if brokerage != SENTINEL
502
-
503
489
  list_all_brokerage_authorization_type_with_http_info_impl(extra)
504
490
  end
505
491
 
@@ -565,7 +551,6 @@ module SnapTrade
565
551
  # List brokerages
566
552
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
567
553
  def list_all_brokerages(extra: {})
568
-
569
554
  data, _status_code, _headers = list_all_brokerages_with_http_info_impl(extra)
570
555
  data
571
556
  end
@@ -573,7 +558,6 @@ module SnapTrade
573
558
  # List brokerages
574
559
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
575
560
  def list_all_brokerages_with_http_info(extra: {})
576
-
577
561
  list_all_brokerages_with_http_info_impl(extra)
578
562
  end
579
563
 
@@ -636,7 +620,6 @@ module SnapTrade
636
620
  # List currencies
637
621
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
638
622
  def list_all_currencies(extra: {})
639
-
640
623
  data, _status_code, _headers = list_all_currencies_with_http_info_impl(extra)
641
624
  data
642
625
  end
@@ -644,7 +627,6 @@ module SnapTrade
644
627
  # List currencies
645
628
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
646
629
  def list_all_currencies_with_http_info(extra: {})
647
-
648
630
  list_all_currencies_with_http_info_impl(extra)
649
631
  end
650
632
 
@@ -707,7 +689,6 @@ module SnapTrade
707
689
  # List currency exchange rates
708
690
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
709
691
  def list_all_currencies_rates(extra: {})
710
-
711
692
  data, _status_code, _headers = list_all_currencies_rates_with_http_info_impl(extra)
712
693
  data
713
694
  end
@@ -715,7 +696,6 @@ module SnapTrade
715
696
  # List currency exchange rates
716
697
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
717
698
  def list_all_currencies_rates_with_http_info(extra: {})
718
-
719
699
  list_all_currencies_rates_with_http_info_impl(extra)
720
700
  end
721
701
 
@@ -786,7 +766,6 @@ module SnapTrade
786
766
  _body = {}
787
767
  _body[:substring] = substring if substring != SENTINEL
788
768
  extra[:symbol_query] = _body if !_body.empty?
789
-
790
769
  data, _status_code, _headers = symbol_search_user_account_with_http_info_impl(user_id, user_secret, account_id, extra)
791
770
  data
792
771
  end
@@ -802,7 +781,6 @@ module SnapTrade
802
781
  _body = {}
803
782
  _body[:substring] = substring if substring != SENTINEL
804
783
  extra[:symbol_query] = _body if !_body.empty?
805
-
806
784
  symbol_search_user_account_with_http_info_impl(user_id, user_secret, account_id, extra)
807
785
  end
808
786