snaptrade 2.0.90 → 2.0.92

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e7a8839c7d2556130b77f40b450f92047044677e7f16ab57d8bd55b5589b362d
4
- data.tar.gz: 8e9b12d97be891503fe52df30c6763f96e0c4faf0f0c1f6c654d8a0fc4e92942
3
+ metadata.gz: c6af124c56440571e9bf079c14070f1d3516d63779ca59694a6e14fd0aa084c7
4
+ data.tar.gz: 5b6a2c931aad6b8e596115027ff740fec4e31e2879b1c2d1757fa4fb8182b489
5
5
  SHA512:
6
- metadata.gz: 23d12980f2aef1a354708fc2831d583b979d4f3e5f45f063ce43abda69238631cc1eaf2576912e74c4a81288542dc1e2883c0a535c1ed870a356b9aad591ae0b
7
- data.tar.gz: fea4091d2294c6a036161bab8ceac5849a015a9b12a1b9ecb101b438ad7fcf00c710fb69587b8ad3be14ca982b4ea93df26ee7e6f031e7a1cc029d25bd434ab6
6
+ metadata.gz: 79bcfb8cf8debaa75f002bcccda47f0d7660a5d5ff13538628419c47d8cb49437959b85eeb664d9e199f0f2dbb47b026fa1385999d76672113f110149f8cc677
7
+ data.tar.gz: b084431524ce8a94e32e049dbe8eb25ff8878110ed57f1336dd293282f5e7a78e5e946e646e955d16415dba33a7d4f5a860e820fc57ce451dddcdccdd01c681a
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- snaptrade (2.0.90)
4
+ snaptrade (2.0.92)
5
5
  faraday (>= 1.0.1, < 3.0)
6
6
  faraday-multipart (~> 1.0, >= 1.0.4)
7
7
 
@@ -29,7 +29,7 @@ GEM
29
29
  method_source (1.1.0)
30
30
  multipart-post (2.4.1)
31
31
  parallel (1.26.3)
32
- parser (3.3.7.4)
32
+ parser (3.3.8.0)
33
33
  ast (~> 2.4.1)
34
34
  racc
35
35
  prism (1.4.0)
@@ -43,7 +43,7 @@ GEM
43
43
  rainbow (3.1.1)
44
44
  rake (13.0.6)
45
45
  regexp_parser (2.10.0)
46
- reline (0.6.0)
46
+ reline (0.6.1)
47
47
  io-console (~> 0.5)
48
48
  rexml (3.4.1)
49
49
  rspec (3.13.0)
@@ -68,7 +68,7 @@ GEM
68
68
  rubocop-ast (>= 1.2.0, < 2.0)
69
69
  ruby-progressbar (~> 1.7)
70
70
  unicode-display_width (>= 1.4.0, < 3.0)
71
- rubocop-ast (1.43.0)
71
+ rubocop-ast (1.44.1)
72
72
  parser (>= 3.3.7.2)
73
73
  prism (~> 1.4)
74
74
  ruby-progressbar (1.13.0)
data/README.md CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  Connect brokerage accounts to your app for live positions and trading
8
8
 
9
- [![npm](https://img.shields.io/badge/gem-v2.0.90-blue)](https://rubygems.org/gems/snaptrade/versions/2.0.90)
9
+ [![npm](https://img.shields.io/badge/gem-v2.0.92-blue)](https://rubygems.org/gems/snaptrade/versions/2.0.92)
10
10
  [![More Info](https://img.shields.io/badge/More%20Info-Click%20Here-orange)](https://snaptrade.com/)
11
11
 
12
12
  </div>
@@ -81,7 +81,7 @@ Connect brokerage accounts to your app for live positions and trading
81
81
  Add to Gemfile:
82
82
 
83
83
  ```ruby
84
- gem 'snaptrade', '~> 2.0.90'
84
+ gem 'snaptrade', '~> 2.0.92'
85
85
  ```
86
86
 
87
87
  ## Getting Started<a id="getting-started"></a>
@@ -840,7 +840,7 @@ p result
840
840
  Manually force the specified connection to become disabled. This should only be used for testing a reconnect flow, and never used on production connections.
841
841
  Will trigger a disconnect as if it happened naturally, and send a [`CONNECTION_BROKEN` webhook](/docs/webhooks#webhooks-connection_broken) for the connection.
842
842
 
843
- *Please contact us in order to use this endpoint as it is disabled by default.*
843
+ This endpoint is available on test keys. If you would like it enabled on production keys as well, please contact support as it is disabled by default.
844
844
 
845
845
 
846
846
  #### 🛠️ Usage<a id="🛠️-usage"></a>
@@ -911,9 +911,9 @@ p result
911
911
  ### `snaptrade.connections.refresh_brokerage_authorization`<a id="snaptradeconnectionsrefresh_brokerage_authorization"></a>
912
912
 
913
913
  Trigger a holdings update for all accounts under this connection. Updates will be queued asynchronously. [`ACCOUNT_HOLDINGS_UPDATED` webhook](/docs/webhooks#webhooks-account_holdings_updated) will be sent once the sync completes for each account under the connection.
914
- This endpoint will also trigger a transaction sync for the past day if one has not yet occured.
914
+ This endpoint will also trigger a transaction sync for the past day if one has not yet occurred.
915
915
 
916
- *Please contact support for access as this endpoint is not enabled by default.*
916
+ **Please contact support before use. Because of the cost of refreshing a connection, each call to this endpoint incurs a additional charge of $0.05**
917
917
 
918
918
 
919
919
  #### 🛠️ Usage<a id="🛠️-usage"></a>
@@ -2214,6 +2214,7 @@ result = snaptrade.trading.replace_order(
2214
2214
  user_id: "snaptrade-user-123",
2215
2215
  user_secret: "adf2aa34-8219-40f7-a6b3-60156985cc61",
2216
2216
  price: 31.33,
2217
+ symbol: "AAPL",
2217
2218
  stop: 31.33,
2218
2219
  units: 10.5,
2219
2220
  )
@@ -2250,6 +2251,9 @@ The Brokerage Order ID of the order to replace.
2250
2251
  ##### price: `Float`<a id="price-float"></a>
2251
2252
  The limit price for `Limit` and `StopLimit` orders.
2252
2253
 
2254
+ ##### symbol: `String`<a id="symbol-string"></a>
2255
+ The security's trading ticker symbol
2256
+
2253
2257
  ##### stop: `Float`<a id="stop-float"></a>
2254
2258
  The price at which a stop order is triggered for `Stop` and `StopLimit` orders.
2255
2259
 
@@ -497,7 +497,7 @@ module SnapTrade
497
497
  end
498
498
 
499
499
 
500
- # List account recent orders
500
+ # List account orders
501
501
  #
502
502
  # Returns a list of recent orders in the specified account.
503
503
  #
@@ -516,7 +516,7 @@ module SnapTrade
516
516
  data
517
517
  end
518
518
 
519
- # List account recent orders
519
+ # List account orders
520
520
  #
521
521
  # Returns a list of recent orders in the specified account.
522
522
  #
@@ -534,7 +534,7 @@ module SnapTrade
534
534
  get_user_account_orders_with_http_info_impl(user_id, user_secret, account_id, extra)
535
535
  end
536
536
 
537
- # List account recent orders
537
+ # List account orders
538
538
  # Returns a list of recent orders in the specified account. The data returned here is cached. How long the data is cached for varies by brokerage. Check the [brokerage integrations doc](https://snaptrade.notion.site/66793431ad0b416489eaabaf248d0afb?v=d16c4c97b8d5438bbb2d8581ac53b11e) and look for \"Cache Expiry Time\" to see the exact value for a specific brokerage. **If you need real-time data, please use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint**.
539
539
  # @param user_id [String]
540
540
  # @param user_secret [String]
@@ -548,7 +548,7 @@ module SnapTrade
548
548
  data
549
549
  end
550
550
 
551
- # List account recent orders
551
+ # List account orders
552
552
  # Returns a list of recent orders in the specified account. The data returned here is cached. How long the data is cached for varies by brokerage. Check the [brokerage integrations doc](https://snaptrade.notion.site/66793431ad0b416489eaabaf248d0afb?v&#x3D;d16c4c97b8d5438bbb2d8581ac53b11e) and look for \&quot;Cache Expiry Time\&quot; to see the exact value for a specific brokerage. **If you need real-time data, please use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint**.
553
553
  # @param user_id [String]
554
554
  # @param user_secret [String]
@@ -324,7 +324,7 @@ module SnapTrade
324
324
  # @param user_id [String] SnapTrade User ID. This is chosen by the API partner and can be any string that is a) unique to the user, and b) immutable for the user. It is recommended to NOT use email addresses for this property because they are usually not immutable.
325
325
  # @param body [SnapTradeRegisterUserRequestBody]
326
326
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
327
- def register_snap_trade_user(user_id: SENTINEL, extra: {})
327
+ def register_snap_trade_user(user_id:, extra: {})
328
328
  _body = {}
329
329
  _body[:userId] = user_id if user_id != SENTINEL
330
330
  snap_trade_register_user_request_body = _body
@@ -340,7 +340,7 @@ module SnapTrade
340
340
  # @param user_id [String] SnapTrade User ID. This is chosen by the API partner and can be any string that is a) unique to the user, and b) immutable for the user. It is recommended to NOT use email addresses for this property because they are usually not immutable.
341
341
  # @param body [SnapTradeRegisterUserRequestBody]
342
342
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
343
- def register_snap_trade_user_with_http_info(user_id: SENTINEL, extra: {})
343
+ def register_snap_trade_user_with_http_info(user_id:, extra: {})
344
344
  _body = {}
345
345
  _body[:userId] = user_id if user_id != SENTINEL
346
346
  snap_trade_register_user_request_body = _body
@@ -125,7 +125,7 @@ module SnapTrade
125
125
  # Manually force the specified connection to become disabled. This should only be used for testing a reconnect flow, and never used on production connections.
126
126
  # Will trigger a disconnect as if it happened naturally, and send a [`CONNECTION_BROKEN` webhook](/docs/webhooks#webhooks-connection_broken) for the connection.
127
127
  #
128
- # *Please contact us in order to use this endpoint as it is disabled by default.*
128
+ # This endpoint is available on test keys. If you would like it enabled on production keys as well, please contact support as it is disabled by default.
129
129
  #
130
130
  # @param authorization_id [String]
131
131
  # @param user_id [String]
@@ -141,7 +141,7 @@ module SnapTrade
141
141
  # Manually force the specified connection to become disabled. This should only be used for testing a reconnect flow, and never used on production connections.
142
142
  # Will trigger a disconnect as if it happened naturally, and send a [`CONNECTION_BROKEN` webhook](/docs/webhooks#webhooks-connection_broken) for the connection.
143
143
  #
144
- # *Please contact us in order to use this endpoint as it is disabled by default.*
144
+ # This endpoint is available on test keys. If you would like it enabled on production keys as well, please contact support as it is disabled by default.
145
145
  #
146
146
  # @param authorization_id [String]
147
147
  # @param user_id [String]
@@ -152,7 +152,7 @@ module SnapTrade
152
152
  end
153
153
 
154
154
  # Force disable connection
155
- # Manually force the specified connection to become disabled. This should only be used for testing a reconnect flow, and never used on production connections. Will trigger a disconnect as if it happened naturally, and send a [`CONNECTION_BROKEN` webhook](/docs/webhooks#webhooks-connection_broken) for the connection. *Please contact us in order to use this endpoint as it is disabled by default.*
155
+ # Manually force the specified connection to become disabled. This should only be used for testing a reconnect flow, and never used on production connections. Will trigger a disconnect as if it happened naturally, and send a [`CONNECTION_BROKEN` webhook](/docs/webhooks#webhooks-connection_broken) for the connection. This endpoint is available on test keys. If you would like it enabled on production keys as well, please contact support as it is disabled by default.
156
156
  # @param authorization_id [String]
157
157
  # @param user_id [String]
158
158
  # @param user_secret [String]
@@ -164,7 +164,7 @@ module SnapTrade
164
164
  end
165
165
 
166
166
  # Force disable connection
167
- # Manually force the specified connection to become disabled. This should only be used for testing a reconnect flow, and never used on production connections. Will trigger a disconnect as if it happened naturally, and send a [&#x60;CONNECTION_BROKEN&#x60; webhook](/docs/webhooks#webhooks-connection_broken) for the connection. *Please contact us in order to use this endpoint as it is disabled by default.*
167
+ # Manually force the specified connection to become disabled. This should only be used for testing a reconnect flow, and never used on production connections. Will trigger a disconnect as if it happened naturally, and send a [&#x60;CONNECTION_BROKEN&#x60; webhook](/docs/webhooks#webhooks-connection_broken) for the connection. This endpoint is available on test keys. If you would like it enabled on production keys as well, please contact support as it is disabled by default.
168
168
  # @param authorization_id [String]
169
169
  # @param user_id [String]
170
170
  # @param user_secret [String]
@@ -335,9 +335,9 @@ module SnapTrade
335
335
  # Refresh holdings for a connection
336
336
  #
337
337
  # Trigger a holdings update for all accounts under this connection. Updates will be queued asynchronously. [`ACCOUNT_HOLDINGS_UPDATED` webhook](/docs/webhooks#webhooks-account_holdings_updated) will be sent once the sync completes for each account under the connection.
338
- # This endpoint will also trigger a transaction sync for the past day if one has not yet occured.
338
+ # This endpoint will also trigger a transaction sync for the past day if one has not yet occurred.
339
339
  #
340
- # *Please contact support for access as this endpoint is not enabled by default.*
340
+ # **Please contact support before use. Because of the cost of refreshing a connection, each call to this endpoint incurs a additional charge of $0.05**
341
341
  #
342
342
  # @param authorization_id [String]
343
343
  # @param user_id [String]
@@ -351,9 +351,9 @@ module SnapTrade
351
351
  # Refresh holdings for a connection
352
352
  #
353
353
  # Trigger a holdings update for all accounts under this connection. Updates will be queued asynchronously. [`ACCOUNT_HOLDINGS_UPDATED` webhook](/docs/webhooks#webhooks-account_holdings_updated) will be sent once the sync completes for each account under the connection.
354
- # This endpoint will also trigger a transaction sync for the past day if one has not yet occured.
354
+ # This endpoint will also trigger a transaction sync for the past day if one has not yet occurred.
355
355
  #
356
- # *Please contact support for access as this endpoint is not enabled by default.*
356
+ # **Please contact support before use. Because of the cost of refreshing a connection, each call to this endpoint incurs a additional charge of $0.05**
357
357
  #
358
358
  # @param authorization_id [String]
359
359
  # @param user_id [String]
@@ -364,7 +364,7 @@ module SnapTrade
364
364
  end
365
365
 
366
366
  # Refresh holdings for a connection
367
- # Trigger a holdings update for all accounts under this connection. Updates will be queued asynchronously. [`ACCOUNT_HOLDINGS_UPDATED` webhook](/docs/webhooks#webhooks-account_holdings_updated) will be sent once the sync completes for each account under the connection. This endpoint will also trigger a transaction sync for the past day if one has not yet occured. *Please contact support for access as this endpoint is not enabled by default.*
367
+ # Trigger a holdings update for all accounts under this connection. Updates will be queued asynchronously. [`ACCOUNT_HOLDINGS_UPDATED` webhook](/docs/webhooks#webhooks-account_holdings_updated) will be sent once the sync completes for each account under the connection. This endpoint will also trigger a transaction sync for the past day if one has not yet occurred. **Please contact support before use. Because of the cost of refreshing a connection, each call to this endpoint incurs a additional charge of $0.05**
368
368
  # @param authorization_id [String]
369
369
  # @param user_id [String]
370
370
  # @param user_secret [String]
@@ -376,7 +376,7 @@ module SnapTrade
376
376
  end
377
377
 
378
378
  # Refresh holdings for a connection
379
- # Trigger a holdings update for all accounts under this connection. Updates will be queued asynchronously. [&#x60;ACCOUNT_HOLDINGS_UPDATED&#x60; webhook](/docs/webhooks#webhooks-account_holdings_updated) will be sent once the sync completes for each account under the connection. This endpoint will also trigger a transaction sync for the past day if one has not yet occured. *Please contact support for access as this endpoint is not enabled by default.*
379
+ # Trigger a holdings update for all accounts under this connection. Updates will be queued asynchronously. [&#x60;ACCOUNT_HOLDINGS_UPDATED&#x60; webhook](/docs/webhooks#webhooks-account_holdings_updated) will be sent once the sync completes for each account under the connection. This endpoint will also trigger a transaction sync for the past day if one has not yet occurred. **Please contact support before use. Because of the cost of refreshing a connection, each call to this endpoint incurs a additional charge of $0.05**
380
380
  # @param authorization_id [String]
381
381
  # @param user_id [String]
382
382
  # @param user_secret [String]
@@ -1404,16 +1404,18 @@ module SnapTrade
1404
1404
  # @param user_id [String]
1405
1405
  # @param user_secret [String]
1406
1406
  # @param price [Float] The limit price for `Limit` and `StopLimit` orders.
1407
+ # @param symbol [String] The security's trading ticker symbol
1407
1408
  # @param stop [Float] The price at which a stop order is triggered for `Stop` and `StopLimit` orders.
1408
1409
  # @param units [Float]
1409
1410
  # @param body [ManualTradeReplaceForm]
1410
1411
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
1411
- def replace_order(action:, order_type:, time_in_force:, account_id:, brokerage_order_id:, user_id:, user_secret:, price: SENTINEL, stop: SENTINEL, units: SENTINEL, extra: {})
1412
+ def replace_order(action:, order_type:, time_in_force:, account_id:, brokerage_order_id:, user_id:, user_secret:, price: SENTINEL, symbol: SENTINEL, stop: SENTINEL, units: SENTINEL, extra: {})
1412
1413
  _body = {}
1413
1414
  _body[:action] = action if action != SENTINEL
1414
1415
  _body[:order_type] = order_type if order_type != SENTINEL
1415
1416
  _body[:time_in_force] = time_in_force if time_in_force != SENTINEL
1416
1417
  _body[:price] = price if price != SENTINEL
1418
+ _body[:symbol] = symbol if symbol != SENTINEL
1417
1419
  _body[:stop] = stop if stop != SENTINEL
1418
1420
  _body[:units] = units if units != SENTINEL
1419
1421
  manual_trade_replace_form = _body
@@ -1435,16 +1437,18 @@ module SnapTrade
1435
1437
  # @param user_id [String]
1436
1438
  # @param user_secret [String]
1437
1439
  # @param price [Float] The limit price for `Limit` and `StopLimit` orders.
1440
+ # @param symbol [String] The security's trading ticker symbol
1438
1441
  # @param stop [Float] The price at which a stop order is triggered for `Stop` and `StopLimit` orders.
1439
1442
  # @param units [Float]
1440
1443
  # @param body [ManualTradeReplaceForm]
1441
1444
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
1442
- def replace_order_with_http_info(action:, order_type:, time_in_force:, account_id:, brokerage_order_id:, user_id:, user_secret:, price: SENTINEL, stop: SENTINEL, units: SENTINEL, extra: {})
1445
+ def replace_order_with_http_info(action:, order_type:, time_in_force:, account_id:, brokerage_order_id:, user_id:, user_secret:, price: SENTINEL, symbol: SENTINEL, stop: SENTINEL, units: SENTINEL, extra: {})
1443
1446
  _body = {}
1444
1447
  _body[:action] = action if action != SENTINEL
1445
1448
  _body[:order_type] = order_type if order_type != SENTINEL
1446
1449
  _body[:time_in_force] = time_in_force if time_in_force != SENTINEL
1447
1450
  _body[:price] = price if price != SENTINEL
1451
+ _body[:symbol] = symbol if symbol != SENTINEL
1448
1452
  _body[:stop] = stop if stop != SENTINEL
1449
1453
  _body[:units] = units if units != SENTINEL
1450
1454
  manual_trade_replace_form = _body
@@ -25,6 +25,9 @@ module SnapTrade
25
25
  # The limit price for `Limit` and `StopLimit` orders.
26
26
  attr_accessor :price
27
27
 
28
+ # The security's trading ticker symbol
29
+ attr_accessor :symbol
30
+
28
31
  # The price at which a stop order is triggered for `Stop` and `StopLimit` orders.
29
32
  attr_accessor :stop
30
33
 
@@ -37,6 +40,7 @@ module SnapTrade
37
40
  :'order_type' => :'order_type',
38
41
  :'time_in_force' => :'time_in_force',
39
42
  :'price' => :'price',
43
+ :'symbol' => :'symbol',
40
44
  :'stop' => :'stop',
41
45
  :'units' => :'units'
42
46
  }
@@ -54,6 +58,7 @@ module SnapTrade
54
58
  :'order_type' => :'OrderTypeStrict',
55
59
  :'time_in_force' => :'TimeInForceStrict',
56
60
  :'price' => :'Float',
61
+ :'symbol' => :'String',
57
62
  :'stop' => :'Float',
58
63
  :'units' => :'Float'
59
64
  }
@@ -99,6 +104,10 @@ module SnapTrade
99
104
  self.price = attributes[:'price']
100
105
  end
101
106
 
107
+ if attributes.key?(:'symbol')
108
+ self.symbol = attributes[:'symbol']
109
+ end
110
+
102
111
  if attributes.key?(:'stop')
103
112
  self.stop = attributes[:'stop']
104
113
  end
@@ -145,6 +154,7 @@ module SnapTrade
145
154
  order_type == o.order_type &&
146
155
  time_in_force == o.time_in_force &&
147
156
  price == o.price &&
157
+ symbol == o.symbol &&
148
158
  stop == o.stop &&
149
159
  units == o.units
150
160
  end
@@ -158,7 +168,7 @@ module SnapTrade
158
168
  # Calculates hash code according to all attributes.
159
169
  # @return [Integer] Hash code
160
170
  def hash
161
- [action, order_type, time_in_force, price, stop, units].hash
171
+ [action, order_type, time_in_force, price, symbol, stop, units].hash
162
172
  end
163
173
 
164
174
  # Builds the object from hash
@@ -65,12 +65,17 @@ module SnapTrade
65
65
  # @return Array for valid properties with the reasons
66
66
  def list_invalid_properties
67
67
  invalid_properties = Array.new
68
+ if @user_id.nil?
69
+ invalid_properties.push('invalid value for "user_id", user_id cannot be nil.')
70
+ end
71
+
68
72
  invalid_properties
69
73
  end
70
74
 
71
75
  # Check to see if the all the properties in the model are valid
72
76
  # @return true if the model is valid
73
77
  def valid?
78
+ return false if @user_id.nil?
74
79
  true
75
80
  end
76
81
 
@@ -15,7 +15,7 @@ module SnapTrade
15
15
  # The instrument's trading ticker symbol
16
16
  attr_accessor :symbol
17
17
 
18
- # The type of the instrument
18
+ # The instrument's type
19
19
  attr_accessor :type
20
20
 
21
21
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -8,5 +8,5 @@ Contact: api@snaptrade.com
8
8
  =end
9
9
 
10
10
  module SnapTrade
11
- VERSION = '2.0.90'
11
+ VERSION = '2.0.92'
12
12
  end
@@ -89,7 +89,7 @@ describe 'AccountInformationApi' do
89
89
  end
90
90
 
91
91
  # unit tests for get_user_account_orders
92
- # List account recent orders
92
+ # List account orders
93
93
  # Returns a list of recent orders in the specified account. The data returned here is cached. How long the data is cached for varies by brokerage. Check the [brokerage integrations doc](https://snaptrade.notion.site/66793431ad0b416489eaabaf248d0afb?v&#x3D;d16c4c97b8d5438bbb2d8581ac53b11e) and look for \&quot;Cache Expiry Time\&quot; to see the exact value for a specific brokerage. **If you need real-time data, please use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint**.
94
94
  # @param user_id
95
95
  # @param user_secret
@@ -43,7 +43,7 @@ describe 'ConnectionsApi' do
43
43
 
44
44
  # unit tests for disable_brokerage_authorization
45
45
  # Force disable connection
46
- # Manually force the specified connection to become disabled. This should only be used for testing a reconnect flow, and never used on production connections. Will trigger a disconnect as if it happened naturally, and send a [&#x60;CONNECTION_BROKEN&#x60; webhook](/docs/webhooks#webhooks-connection_broken) for the connection. *Please contact us in order to use this endpoint as it is disabled by default.*
46
+ # Manually force the specified connection to become disabled. This should only be used for testing a reconnect flow, and never used on production connections. Will trigger a disconnect as if it happened naturally, and send a [&#x60;CONNECTION_BROKEN&#x60; webhook](/docs/webhooks#webhooks-connection_broken) for the connection. This endpoint is available on test keys. If you would like it enabled on production keys as well, please contact support as it is disabled by default.
47
47
  # @param authorization_id
48
48
  # @param user_id
49
49
  # @param user_secret
@@ -70,7 +70,7 @@ describe 'ConnectionsApi' do
70
70
 
71
71
  # unit tests for refresh_brokerage_authorization
72
72
  # Refresh holdings for a connection
73
- # Trigger a holdings update for all accounts under this connection. Updates will be queued asynchronously. [&#x60;ACCOUNT_HOLDINGS_UPDATED&#x60; webhook](/docs/webhooks#webhooks-account_holdings_updated) will be sent once the sync completes for each account under the connection. This endpoint will also trigger a transaction sync for the past day if one has not yet occured. *Please contact support for access as this endpoint is not enabled by default.*
73
+ # Trigger a holdings update for all accounts under this connection. Updates will be queued asynchronously. [&#x60;ACCOUNT_HOLDINGS_UPDATED&#x60; webhook](/docs/webhooks#webhooks-account_holdings_updated) will be sent once the sync completes for each account under the connection. This endpoint will also trigger a transaction sync for the past day if one has not yet occurred. **Please contact support before use. Because of the cost of refreshing a connection, each call to this endpoint incurs a additional charge of $0.05**
74
74
  # @param authorization_id
75
75
  # @param user_id
76
76
  # @param user_secret
@@ -44,6 +44,12 @@ describe SnapTrade::ManualTradeReplaceForm do
44
44
  end
45
45
  end
46
46
 
47
+ describe 'test attribute "symbol"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
47
53
  describe 'test attribute "stop"' do
48
54
  it 'should work' do
49
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: snaptrade
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.90
4
+ version: 2.0.92
5
5
  platform: ruby
6
6
  authors:
7
7
  - SnapTrade
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-04-01 00:00:00.000000000 Z
11
+ date: 2025-04-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday