snaptrade 3.0.31 → 3.0.33

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: 1effb1f305a79d998a07364a160d695925a60f64daf153a0f1e3b276f568663d
4
- data.tar.gz: 757327cc71cdbf1ea7f4ccee9075b582b35afc93d07a334d246cee8ff37b054f
3
+ metadata.gz: da1562dbba4dec1c30b190d4f0987b51af13d14358441879075ada600401835f
4
+ data.tar.gz: ad77c7916f5361a5cff64d49dc4ef333682899721afc732e9d0eec4834320ce9
5
5
  SHA512:
6
- metadata.gz: 55e913bb5fc1d61102562495178f7567bca3f0c93e174bee7381d00041f6d7943476e8637098839e1223e0af08f1f8167df4ee2d235ce5e50045ee4c9895f4e6
7
- data.tar.gz: 51ca83e7c04bb35df1ee98c746b0ee140f352fe5d90a4cbc2c249a0dacf3006004248e6f8f74916599eae899dd222dea7da6f14f0cd24424e267e6746a04f314
6
+ metadata.gz: 107732c5b8ba75c2ceab0f27b1fe9ee31c329a34ddef3970e568352f56feccc021a976e371b645afd94a096614e18dd1141f64892f6894fad6e2bf91183169b1
7
+ data.tar.gz: fcd57fe4f50955432da251e4e683c332d9321bdd0bc890607e8b6c60514a95b1e03abf3e199418b81925e8e765b90cfbecf157e46f7d6b03f26c817d1e6963c4
data/README.md CHANGED
@@ -63,7 +63,7 @@ backoff with jitter rather than from the headers.
63
63
  See https://docs.snaptrade.com/docs/ratelimiting.
64
64
 
65
65
 
66
- [![npm](https://img.shields.io/badge/gem-v3.0.31-blue)](https://rubygems.org/gems/snaptrade/versions/3.0.31)
66
+ [![npm](https://img.shields.io/badge/gem-v3.0.33-blue)](https://rubygems.org/gems/snaptrade/versions/3.0.33)
67
67
  [![More Info](https://img.shields.io/badge/More%20Info-Click%20Here-orange)](https://snaptrade.com/)
68
68
 
69
69
  </div>
@@ -143,7 +143,7 @@ See https://docs.snaptrade.com/docs/ratelimiting.
143
143
  Add to Gemfile:
144
144
 
145
145
  ```ruby
146
- gem 'snaptrade', '~> 3.0.31'
146
+ gem 'snaptrade', '~> 3.0.33'
147
147
  ```
148
148
 
149
149
  ## Getting Started<a id="getting-started"></a>
@@ -622,6 +622,8 @@ Check your API key on the [Customer Dashboard billing page](https://dashboard.sn
622
622
 
623
623
  If the connection has become disabled, it can no longer access the latest data from the brokerage, but will continue to return the last available cached state. Please see [this guide](/docs/fix-broken-connections) on how to fix a disabled connection.
624
624
 
625
+ Concurrent live holdings requests for the same account fail immediately with HTTP 409 and error code `1166`. Wait for the in-flight request to complete before retrying.
626
+
625
627
 
626
628
  #### 🛠️ Usage<a id="🛠️-usage"></a>
627
629
 
@@ -1155,6 +1155,8 @@ module SnapTrade
1155
1155
  # - If you don't, Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. If you need real-time, use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint.
1156
1156
  #
1157
1157
  # If the connection has become disabled, it can no longer access the latest data from the brokerage, but will continue to return the last available cached state. Please see [this guide](/docs/fix-broken-connections) on how to fix a disabled connection.
1158
+ #
1159
+ # Concurrent live holdings requests for the same account fail immediately with HTTP 409 and error code `1166`. Wait for the in-flight request to complete before retrying.
1158
1160
  #
1159
1161
  # @param account_id [String]
1160
1162
  # @param user_id [String]
@@ -1178,6 +1180,8 @@ module SnapTrade
1178
1180
  # - If you don't, Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. If you need real-time, use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint.
1179
1181
  #
1180
1182
  # If the connection has become disabled, it can no longer access the latest data from the brokerage, but will continue to return the last available cached state. Please see [this guide](/docs/fix-broken-connections) on how to fix a disabled connection.
1183
+ #
1184
+ # Concurrent live holdings requests for the same account fail immediately with HTTP 409 and error code `1166`. Wait for the in-flight request to complete before retrying.
1181
1185
  #
1182
1186
  # @param account_id [String]
1183
1187
  # @param user_id [String]
@@ -1188,7 +1192,7 @@ module SnapTrade
1188
1192
  end
1189
1193
 
1190
1194
  # List account holdings
1191
- # **Deprecated.** Use the finer-grained account data endpoints instead: [balances](/reference/Account%20Information/AccountInformation_getUserAccountBalance), [positions](/reference/Account%20Information/AccountInformation_getAllAccountPositions), and [orders](/reference/Account%20Information/AccountInformation_getUserAccountOrders). This endpoint will return HTTP 410 Gone for all customers that sign up after May 11, 2026. Returns a list of balances, positions, and recent orders for the specified account. Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access: - If you do, this endpoint returns real-time data. - If you don't, Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. If you need real-time, use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint. If the connection has become disabled, it can no longer access the latest data from the brokerage, but will continue to return the last available cached state. Please see [this guide](/docs/fix-broken-connections) on how to fix a disabled connection.
1195
+ # **Deprecated.** Use the finer-grained account data endpoints instead: [balances](/reference/Account%20Information/AccountInformation_getUserAccountBalance), [positions](/reference/Account%20Information/AccountInformation_getAllAccountPositions), and [orders](/reference/Account%20Information/AccountInformation_getUserAccountOrders). This endpoint will return HTTP 410 Gone for all customers that sign up after May 11, 2026. Returns a list of balances, positions, and recent orders for the specified account. Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access: - If you do, this endpoint returns real-time data. - If you don't, Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. If you need real-time, use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint. If the connection has become disabled, it can no longer access the latest data from the brokerage, but will continue to return the last available cached state. Please see [this guide](/docs/fix-broken-connections) on how to fix a disabled connection. Concurrent live holdings requests for the same account fail immediately with HTTP 409 and error code `1166`. Wait for the in-flight request to complete before retrying.
1192
1196
  # @param account_id [String]
1193
1197
  # @param user_id [String]
1194
1198
  # @param user_secret [String]
@@ -1200,7 +1204,7 @@ module SnapTrade
1200
1204
  end
1201
1205
 
1202
1206
  # List account holdings
1203
- # **Deprecated.** Use the finer-grained account data endpoints instead: [balances](/reference/Account%20Information/AccountInformation_getUserAccountBalance), [positions](/reference/Account%20Information/AccountInformation_getAllAccountPositions), and [orders](/reference/Account%20Information/AccountInformation_getUserAccountOrders). This endpoint will return HTTP 410 Gone for all customers that sign up after May 11, 2026. Returns a list of balances, positions, and recent orders for the specified account. Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access: - If you do, this endpoint returns real-time data. - If you don&#39;t, Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. If you need real-time, use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint. If the connection has become disabled, it can no longer access the latest data from the brokerage, but will continue to return the last available cached state. Please see [this guide](/docs/fix-broken-connections) on how to fix a disabled connection.
1207
+ # **Deprecated.** Use the finer-grained account data endpoints instead: [balances](/reference/Account%20Information/AccountInformation_getUserAccountBalance), [positions](/reference/Account%20Information/AccountInformation_getAllAccountPositions), and [orders](/reference/Account%20Information/AccountInformation_getUserAccountOrders). This endpoint will return HTTP 410 Gone for all customers that sign up after May 11, 2026. Returns a list of balances, positions, and recent orders for the specified account. Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access: - If you do, this endpoint returns real-time data. - If you don&#39;t, Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. If you need real-time, use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint. If the connection has become disabled, it can no longer access the latest data from the brokerage, but will continue to return the last available cached state. Please see [this guide](/docs/fix-broken-connections) on how to fix a disabled connection. Concurrent live holdings requests for the same account fail immediately with HTTP 409 and error code &#x60;1166&#x60;. Wait for the in-flight request to complete before retrying.
1204
1208
  # @param account_id [String]
1205
1209
  # @param user_id [String]
1206
1210
  # @param user_secret [String]
@@ -0,0 +1,234 @@
1
+ =begin
2
+ #SnapTrade
3
+
4
+ #Connect brokerage accounts to your app for live positions and trading. ## Rate limiting Two limits apply to requests signed with your `clientId`. The stricter one wins, and exceeding either returns `429 Too Many Requests`. - **Customer-level** — 250 requests/minute by default, scoped to your `clientId` and applied across all endpoints. Reported in `X-RateLimit-Limit`, `X-RateLimit-Remaining` and `X-RateLimit-Reset`. - **Account-level** — 10 requests/minute per account, scoped to (`clientId`, `accountId`). All covered operations for one account draw on the same bucket — reading balances and reading positions share it — and enforcement does not depend on the HTTP method, so updating an account consumes the same bucket as reading it. Only enforced for Personal users, and only for integrations it has been rolled out to — it is not yet in force for every Personal integration. It also does not apply on every operation that documents a 429 below. Where it applies it is reported in `X-RateLimit-Account-Limit`, `X-RateLimit-Account-Remaining` and `X-RateLimit-Account-Reset`. Do not read the absence of those headers as proof the limit is off — some configurations omit the rate limit headers while still enforcing the limit, so header absence tells you nothing about your allowance. On a 429, `X-RateLimit-Remaining: 0` means you hit the customer-level limit and `X-RateLimit-Account-Remaining: 0` means the account-level one. Wait for the corresponding `*-Reset` value (seconds) before retrying, or fall back to exponential backoff with jitter. Not every 429 is explained by those headers. A separate per-authenticated-user limit, reported in no `X-RateLimit-*` header, covers OAuth-authenticated requests and signed requests in configurations where the customer-level limit is not in effect — on the operations that use the default throttles. A few operations override those and are governed by the customer-level limit alone. The two do not stack: a signed request governed by the customer-level limit above is not additionally subject to the per-user one. If a 429 arrives with no header at zero — or with no `X-RateLimit-*` headers at all — honour `Retry-After` and back off. Treat the remaining counts as a hint, not a guarantee that the next request will succeed. Because the customer-level limit applies everywhere, any signed request can return 429. **OAuth-authenticated requests are an exception.** They are not subject to the customer-level limit and do not receive `X-RateLimit-Limit`, `X-RateLimit-Remaining` or `X-RateLimit-Reset` — do not wait on those headers or design around a customer-level allowance on this path. The account-level limit still applies to them on the account-data endpoints above, reported in the `X-RateLimit-Account-*` headers. On operations using the default throttles the per-user limit above applies to them as well, so an OAuth request can be rejected while the account headers still show capacity; on the few operations that override those throttles, OAuth callers have no per-user ceiling at all. Drive retries from `Retry-After` and exponential backoff with jitter rather than from the headers. See https://docs.snaptrade.com/docs/ratelimiting.
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ Contact: api@snaptrade.com
8
+ =end
9
+
10
+ require 'date'
11
+ require 'time'
12
+
13
+ module SnapTrade
14
+ class AccountInformationGetUserHoldings409Response
15
+ attr_accessor :detail
16
+
17
+ attr_accessor :status_code
18
+
19
+ attr_accessor :code
20
+
21
+ # Attribute mapping from ruby-style variable name to JSON key.
22
+ def self.attribute_map
23
+ {
24
+ :'detail' => :'detail',
25
+ :'status_code' => :'status_code',
26
+ :'code' => :'code'
27
+ }
28
+ end
29
+
30
+ # Returns all the JSON keys this model knows about
31
+ def self.acceptable_attributes
32
+ attribute_map.values
33
+ end
34
+
35
+ # Attribute type mapping.
36
+ def self.openapi_types
37
+ {
38
+ :'detail' => :'String',
39
+ :'status_code' => :'Integer',
40
+ :'code' => :'String'
41
+ }
42
+ end
43
+
44
+ # List of attributes with nullable: true
45
+ def self.openapi_nullable
46
+ Set.new([
47
+ ])
48
+ end
49
+
50
+ # Initializes the object
51
+ # @param [Hash] attributes Model attributes in the form of hash
52
+ def initialize(attributes = {})
53
+ if (!attributes.is_a?(Hash))
54
+ fail ArgumentError, "The input argument (attributes) must be a hash in `SnapTrade::AccountInformationGetUserHoldings409Response` initialize method"
55
+ end
56
+
57
+ # check to see if the attribute exists and convert string to symbol for hash key
58
+ attributes = attributes.each_with_object({}) { |(k, v), h|
59
+ if (!self.class.attribute_map.key?(k.to_sym))
60
+ fail ArgumentError, "`#{k}` is not a valid attribute in `SnapTrade::AccountInformationGetUserHoldings409Response`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
61
+ end
62
+ h[k.to_sym] = v
63
+ }
64
+
65
+ if attributes.key?(:'detail')
66
+ self.detail = attributes[:'detail']
67
+ end
68
+
69
+ if attributes.key?(:'status_code')
70
+ self.status_code = attributes[:'status_code']
71
+ end
72
+
73
+ if attributes.key?(:'code')
74
+ self.code = attributes[:'code']
75
+ end
76
+ end
77
+
78
+ # Show invalid properties with the reasons. Usually used together with valid?
79
+ # @return Array for valid properties with the reasons
80
+ def list_invalid_properties
81
+ invalid_properties = Array.new
82
+ invalid_properties
83
+ end
84
+
85
+ # Check to see if the all the properties in the model are valid
86
+ # @return true if the model is valid
87
+ def valid?
88
+ true
89
+ end
90
+
91
+ # Checks equality by comparing each attribute.
92
+ # @param [Object] Object to be compared
93
+ def ==(o)
94
+ return true if self.equal?(o)
95
+ self.class == o.class &&
96
+ detail == o.detail &&
97
+ status_code == o.status_code &&
98
+ code == o.code
99
+ end
100
+
101
+ # @see the `==` method
102
+ # @param [Object] Object to be compared
103
+ def eql?(o)
104
+ self == o
105
+ end
106
+
107
+ # Calculates hash code according to all attributes.
108
+ # @return [Integer] Hash code
109
+ def hash
110
+ [detail, status_code, code].hash
111
+ end
112
+
113
+ # Builds the object from hash
114
+ # @param [Hash] attributes Model attributes in the form of hash
115
+ # @return [Object] Returns the model itself
116
+ def self.build_from_hash(attributes)
117
+ new.build_from_hash(attributes)
118
+ end
119
+
120
+ # Builds the object from hash
121
+ # @param [Hash] attributes Model attributes in the form of hash
122
+ # @return [Object] Returns the model itself
123
+ def build_from_hash(attributes)
124
+ return nil unless attributes.is_a?(Hash)
125
+ attributes = attributes.transform_keys(&:to_sym)
126
+ self.class.openapi_types.each_pair do |key, type|
127
+ if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
128
+ self.send("#{key}=", nil)
129
+ elsif type =~ /\AArray<(.*)>/i
130
+ # check to ensure the input is an array given that the attribute
131
+ # is documented as an array but the input is not
132
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
133
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
134
+ end
135
+ elsif !attributes[self.class.attribute_map[key]].nil?
136
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
137
+ end
138
+ end
139
+
140
+ self
141
+ end
142
+
143
+ # Deserializes the data based on type
144
+ # @param string type Data type
145
+ # @param string value Value to be deserialized
146
+ # @return [Object] Deserialized data
147
+ def _deserialize(type, value)
148
+ case type.to_sym
149
+ when :Time
150
+ Time.parse(value)
151
+ when :Date
152
+ Date.parse(value)
153
+ when :String
154
+ value.to_s
155
+ when :Integer
156
+ value.to_i
157
+ when :Float
158
+ value.to_f
159
+ when :Boolean
160
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
161
+ true
162
+ else
163
+ false
164
+ end
165
+ when :Object
166
+ # generic object (usually a Hash), return directly
167
+ value
168
+ when /\AArray<(?<inner_type>.+)>\z/
169
+ inner_type = Regexp.last_match[:inner_type]
170
+ value.map { |v| _deserialize(inner_type, v) }
171
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
172
+ k_type = Regexp.last_match[:k_type]
173
+ v_type = Regexp.last_match[:v_type]
174
+ {}.tap do |hash|
175
+ value.each do |k, v|
176
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
177
+ end
178
+ end
179
+ else # model
180
+ # models (e.g. Pet) or oneOf
181
+ klass = SnapTrade.const_get(type)
182
+ klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
183
+ end
184
+ end
185
+
186
+ # Returns the string representation of the object
187
+ # @return [String] String presentation of the object
188
+ def to_s
189
+ to_hash.to_s
190
+ end
191
+
192
+ # to_body is an alias to to_hash (backward compatibility)
193
+ # @return [Hash] Returns the object in the form of hash
194
+ def to_body
195
+ to_hash
196
+ end
197
+
198
+ # Returns the object in the form of hash
199
+ # @return [Hash] Returns the object in the form of hash
200
+ def to_hash
201
+ hash = {}
202
+ self.class.attribute_map.each_pair do |attr, param|
203
+ value = self.send(attr)
204
+ if value.nil?
205
+ is_nullable = self.class.openapi_nullable.include?(attr)
206
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
207
+ end
208
+
209
+ hash[param] = _to_hash(value)
210
+ end
211
+ hash
212
+ end
213
+
214
+ # Outputs non-array value in the form of hash
215
+ # For object, use to_hash. Otherwise, just return the value
216
+ # @param [Object] value Any valid value
217
+ # @return [Hash] Returns the value in the form of hash
218
+ def _to_hash(value)
219
+ if value.is_a?(Array)
220
+ value.compact.map { |v| _to_hash(v) }
221
+ elsif value.is_a?(Hash)
222
+ {}.tap do |hash|
223
+ value.each { |k, v| hash[k] = _to_hash(v) }
224
+ end
225
+ elsif value.respond_to? :to_hash
226
+ value.to_hash
227
+ else
228
+ value
229
+ end
230
+ end
231
+
232
+ end
233
+
234
+ end
@@ -8,5 +8,5 @@ Contact: api@snaptrade.com
8
8
  =end
9
9
 
10
10
  module SnapTrade
11
- VERSION = '3.0.31'
11
+ VERSION = '3.0.33'
12
12
  end
data/lib/snaptrade.rb CHANGED
@@ -23,6 +23,7 @@ require 'snaptrade/models/account_category'
23
23
  require 'snaptrade/models/account_holdings'
24
24
  require 'snaptrade/models/account_holdings_account'
25
25
  require 'snaptrade/models/account_information_get_user_account_order_detail_request'
26
+ require 'snaptrade/models/account_information_get_user_holdings409_response'
26
27
  require 'snaptrade/models/account_order_record'
27
28
  require 'snaptrade/models/account_order_record_child_brokerage_order_ids'
28
29
  require 'snaptrade/models/account_order_record_leg'
@@ -165,7 +165,7 @@ describe 'AccountInformationApi' do
165
165
 
166
166
  # unit tests for get_user_holdings
167
167
  # List account holdings
168
- # **Deprecated.** Use the finer-grained account data endpoints instead: [balances](/reference/Account%20Information/AccountInformation_getUserAccountBalance), [positions](/reference/Account%20Information/AccountInformation_getAllAccountPositions), and [orders](/reference/Account%20Information/AccountInformation_getUserAccountOrders). This endpoint will return HTTP 410 Gone for all customers that sign up after May 11, 2026. Returns a list of balances, positions, and recent orders for the specified account. Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access: - If you do, this endpoint returns real-time data. - If you don&#39;t, Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. If you need real-time, use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint. If the connection has become disabled, it can no longer access the latest data from the brokerage, but will continue to return the last available cached state. Please see [this guide](/docs/fix-broken-connections) on how to fix a disabled connection.
168
+ # **Deprecated.** Use the finer-grained account data endpoints instead: [balances](/reference/Account%20Information/AccountInformation_getUserAccountBalance), [positions](/reference/Account%20Information/AccountInformation_getAllAccountPositions), and [orders](/reference/Account%20Information/AccountInformation_getUserAccountOrders). This endpoint will return HTTP 410 Gone for all customers that sign up after May 11, 2026. Returns a list of balances, positions, and recent orders for the specified account. Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access: - If you do, this endpoint returns real-time data. - If you don&#39;t, Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. If you need real-time, use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint. If the connection has become disabled, it can no longer access the latest data from the brokerage, but will continue to return the last available cached state. Please see [this guide](/docs/fix-broken-connections) on how to fix a disabled connection. Concurrent live holdings requests for the same account fail immediately with HTTP 409 and error code &#x60;1166&#x60;. Wait for the in-flight request to complete before retrying.
169
169
  # @param account_id
170
170
  # @param user_id
171
171
  # @param user_secret
@@ -0,0 +1,41 @@
1
+ =begin
2
+ #SnapTrade
3
+
4
+ #Connect brokerage accounts to your app for live positions and trading. ## Rate limiting Two limits apply to requests signed with your `clientId`. The stricter one wins, and exceeding either returns `429 Too Many Requests`. - **Customer-level** — 250 requests/minute by default, scoped to your `clientId` and applied across all endpoints. Reported in `X-RateLimit-Limit`, `X-RateLimit-Remaining` and `X-RateLimit-Reset`. - **Account-level** — 10 requests/minute per account, scoped to (`clientId`, `accountId`). All covered operations for one account draw on the same bucket — reading balances and reading positions share it — and enforcement does not depend on the HTTP method, so updating an account consumes the same bucket as reading it. Only enforced for Personal users, and only for integrations it has been rolled out to — it is not yet in force for every Personal integration. It also does not apply on every operation that documents a 429 below. Where it applies it is reported in `X-RateLimit-Account-Limit`, `X-RateLimit-Account-Remaining` and `X-RateLimit-Account-Reset`. Do not read the absence of those headers as proof the limit is off — some configurations omit the rate limit headers while still enforcing the limit, so header absence tells you nothing about your allowance. On a 429, `X-RateLimit-Remaining: 0` means you hit the customer-level limit and `X-RateLimit-Account-Remaining: 0` means the account-level one. Wait for the corresponding `*-Reset` value (seconds) before retrying, or fall back to exponential backoff with jitter. Not every 429 is explained by those headers. A separate per-authenticated-user limit, reported in no `X-RateLimit-*` header, covers OAuth-authenticated requests and signed requests in configurations where the customer-level limit is not in effect — on the operations that use the default throttles. A few operations override those and are governed by the customer-level limit alone. The two do not stack: a signed request governed by the customer-level limit above is not additionally subject to the per-user one. If a 429 arrives with no header at zero — or with no `X-RateLimit-*` headers at all — honour `Retry-After` and back off. Treat the remaining counts as a hint, not a guarantee that the next request will succeed. Because the customer-level limit applies everywhere, any signed request can return 429. **OAuth-authenticated requests are an exception.** They are not subject to the customer-level limit and do not receive `X-RateLimit-Limit`, `X-RateLimit-Remaining` or `X-RateLimit-Reset` — do not wait on those headers or design around a customer-level allowance on this path. The account-level limit still applies to them on the account-data endpoints above, reported in the `X-RateLimit-Account-*` headers. On operations using the default throttles the per-user limit above applies to them as well, so an OAuth request can be rejected while the account headers still show capacity; on the few operations that override those throttles, OAuth callers have no per-user ceiling at all. Drive retries from `Retry-After` and exponential backoff with jitter rather than from the headers. See https://docs.snaptrade.com/docs/ratelimiting.
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ Contact: api@snaptrade.com
8
+ =end
9
+
10
+ require 'spec_helper'
11
+ require 'json'
12
+ require 'date'
13
+
14
+ # Unit tests for SnapTrade::AccountInformationGetUserHoldings409Response
15
+ describe SnapTrade::AccountInformationGetUserHoldings409Response do
16
+ let(:instance) { SnapTrade::AccountInformationGetUserHoldings409Response.new }
17
+
18
+ describe 'test an instance of AccountInformationGetUserHoldings409Response' do
19
+ it 'should create an instance of AccountInformationGetUserHoldings409Response' do
20
+ expect(instance).to be_instance_of(SnapTrade::AccountInformationGetUserHoldings409Response)
21
+ end
22
+ end
23
+ describe 'test attribute "detail"' do
24
+ it 'should work' do
25
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
26
+ end
27
+ end
28
+
29
+ describe 'test attribute "status_code"' do
30
+ it 'should work' do
31
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
32
+ end
33
+ end
34
+
35
+ describe 'test attribute "code"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ end
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: 3.0.31
4
+ version: 3.0.33
5
5
  platform: ruby
6
6
  authors:
7
7
  - SnapTrade
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-10-07 00:00:00.000000000 Z
11
+ date: 2026-10-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -137,6 +137,7 @@ files:
137
137
  - lib/snaptrade/models/account_holdings.rb
138
138
  - lib/snaptrade/models/account_holdings_account.rb
139
139
  - lib/snaptrade/models/account_information_get_user_account_order_detail_request.rb
140
+ - lib/snaptrade/models/account_information_get_user_holdings409_response.rb
140
141
  - lib/snaptrade/models/account_order_record.rb
141
142
  - lib/snaptrade/models/account_order_record_child_brokerage_order_ids.rb
142
143
  - lib/snaptrade/models/account_order_record_leg.rb
@@ -410,6 +411,7 @@ files:
410
411
  - spec/models/account_holdings_account_spec.rb
411
412
  - spec/models/account_holdings_spec.rb
412
413
  - spec/models/account_information_get_user_account_order_detail_request_spec.rb
414
+ - spec/models/account_information_get_user_holdings409_response_spec.rb
413
415
  - spec/models/account_order_record_child_brokerage_order_ids_spec.rb
414
416
  - spec/models/account_order_record_leg_instrument_spec.rb
415
417
  - spec/models/account_order_record_leg_spec.rb
@@ -696,279 +698,280 @@ signing_key:
696
698
  specification_version: 4
697
699
  summary: SnapTrade Ruby Gem
698
700
  test_files:
699
- - spec/api/experimental_endpoints_api_spec.rb
701
+ - spec/api/account_information_api_spec.rb
700
702
  - spec/api/connections_api_spec.rb
701
703
  - spec/api/trading_api_spec.rb
704
+ - spec/api/experimental_endpoints_api_spec.rb
705
+ - spec/api/api_status_api_spec.rb
702
706
  - spec/api/authentication_api_spec.rb
703
- - spec/api/account_information_api_spec.rb
704
707
  - spec/api/reference_data_api_spec.rb
705
- - spec/api/api_status_api_spec.rb
706
708
  - spec/api_client_spec.rb
707
709
  - spec/configuration_spec.rb
708
710
  - spec/getting_started_spec.rb
709
- - spec/models/manual_trade_replace_form_spec.rb
710
- - spec/models/account_universal_activity_currency_spec.rb
711
- - spec/models/currency_spec.rb
712
- - spec/models/etf_instrument_spec.rb
713
- - spec/models/net_contributions_spec.rb
714
- - spec/models/adr_instrument_kind_spec.rb
715
- - spec/models/symbol_exchange_spec.rb
716
- - spec/models/brokerage_authorization_transactions_sync_confirmation_spec.rb
717
- - spec/models/brokerage_authorization_disabled_confirmation_spec.rb
718
- - spec/models/trade_detection_subscription_spec.rb
719
- - spec/models/deposit_account_sync_status_spec.rb
720
- - spec/models/user_i_dand_secret_spec.rb
721
- - spec/models/stock_instrument_spec.rb
722
- - spec/models/price_effect_spec.rb
723
- - spec/models/dividend_at_date_spec.rb
724
- - spec/models/brokerage_instrument_spec.rb
725
- - spec/models/account_universal_activity_currency_universal_symbol_spec.rb
726
- - spec/models/cancel_order_response_spec.rb
727
- - spec/models/brokerage_type_spec.rb
728
- - spec/models/action_strict_with_options_spec.rb
729
- - spec/models/us_exchange_spec.rb
730
- - spec/models/crypto_trading_instrument_spec.rb
731
- - spec/models/manual_trade_and_impact_spec.rb
732
- - spec/models/adr_instrument_spec.rb
711
+ - spec/models/connection_type_spec.rb
712
+ - spec/models/complex_order_response_type_spec.rb
733
713
  - spec/models/exchange_spec.rb
734
- - spec/models/account_balance_total_spec.rb
735
- - spec/models/brokerage_authorization_type_read_only_type_spec.rb
736
- - spec/models/simple_trade_leg_action_spec.rb
737
- - spec/models/account_information_get_user_account_order_detail_request_spec.rb
738
- - spec/models/account_order_record_quote_currency_spec.rb
739
- - spec/models/simple_trade_instrument_spec.rb
740
- - spec/models/model400_failed_request_response_spec.rb
741
- - spec/models/future_option_instrument_spec.rb
742
- - spec/models/transactions_status_spec.rb
743
- - spec/models/simple_order_form_time_in_force_spec.rb
744
- - spec/models/security_type_spec.rb
745
- - spec/models/all_account_positions_response_data_freshness_spec.rb
746
- - spec/models/account_universal_activity_symbol_spec.rb
747
- - spec/models/underlying_symbol_spec.rb
748
- - spec/models/balance_currency_spec.rb
749
- - spec/models/etf_instrument_kind_spec.rb
750
- - spec/models/trading_search_cryptocurrency_pair_instruments200_response_spec.rb
751
- - spec/models/paginated_universal_activity_spec.rb
752
- - spec/models/manual_trade_form_notional_value_spec.rb
753
714
  - spec/models/strategy_quotes_spec.rb
754
- - spec/models/manual_trade_impact_spec.rb
715
+ - spec/models/security_type_spec.rb
716
+ - spec/models/simple_trade_instrument_spec.rb
717
+ - spec/models/figi_instrument_spec.rb
755
718
  - spec/models/option_type_spec.rb
756
- - spec/models/brokerage_authorization_data_freshness_mode_spec.rb
757
- - spec/models/manual_trade_form_complex_spec.rb
758
- - spec/models/brokerage_authorization_type_read_only_spec.rb
759
- - spec/models/simple_order_form_type_spec.rb
760
- - spec/models/mleg_trading_instrument_spec.rb
761
- - spec/models/exchange_rate_pairs_spec.rb
762
- - spec/models/mleg_order_response_spec.rb
763
- - spec/models/option_impact_spec.rb
764
- - spec/models/action_strict_spec.rb
719
+ - spec/models/mleg_instrument_type_spec.rb
720
+ - spec/models/manual_trade_impact_spec.rb
721
+ - spec/models/trade_detection_add_subscription_request_spec.rb
722
+ - spec/models/user_i_dand_secret_spec.rb
723
+ - spec/models/account_order_record_status_v2_spec.rb
724
+ - spec/models/underlying_symbol_exchange_spec.rb
725
+ - spec/models/trailing_stop_spec.rb
726
+ - spec/models/symbol_query_spec.rb
727
+ - spec/models/model402_brokerage_auth_already_disabled_exception_spec.rb
728
+ - spec/models/account_order_record_trailing_stop_spec.rb
729
+ - spec/models/manual_trade_form_with_options_spec.rb
730
+ - spec/models/simple_trade_leg_action_spec.rb
731
+ - spec/models/type_spec.rb
732
+ - spec/models/options_symbol_spec.rb
733
+ - spec/models/tax_lot_spec.rb
734
+ - spec/models/model503_brokerage_request_response_spec.rb
735
+ - spec/models/mleg_action_strict_spec.rb
736
+ - spec/models/price_effect_spec.rb
737
+ - spec/models/trade_detection_cancel_subscription_request_spec.rb
738
+ - spec/models/crypto_order_form_time_in_force_spec.rb
765
739
  - spec/models/cash_or_margin_spec.rb
766
- - spec/models/symbols_quotes_inner_spec.rb
767
- - spec/models/tokenized_asset_instrument_spec.rb
768
- - spec/models/session_event_spec.rb
769
- - spec/models/partner_data_spec.rb
770
- - spec/models/symbol_currency_spec.rb
771
- - spec/models/investment_account_net_value_spec.rb
772
- - spec/models/brokerage_instruments_response_spec.rb
773
- - spec/models/kind_spec.rb
774
- - spec/models/trading_session_spec.rb
775
- - spec/models/cryptocurrency_pair_quote_spec.rb
740
+ - spec/models/account_order_record_child_brokerage_order_ids_spec.rb
741
+ - spec/models/tokenized_asset_instrument_kind_spec.rb
742
+ - spec/models/crypto_trading_instrument_spec.rb
743
+ - spec/models/etf_instrument_spec.rb
744
+ - spec/models/cef_instrument_spec.rb
776
745
  - spec/models/snap_trade_holdings_total_value_spec.rb
746
+ - spec/models/future_instrument_kind_spec.rb
747
+ - spec/models/position_symbol_spec.rb
748
+ - spec/models/deposit_account_kind_spec.rb
749
+ - spec/models/brokerage_authorization_data_freshness_mode_spec.rb
750
+ - spec/models/underlying_symbol_spec.rb
751
+ - spec/models/order_updated_response_spec.rb
752
+ - spec/models/exchange_rate_pairs_spec.rb
753
+ - spec/models/option_instrument_kind_spec.rb
777
754
  - spec/models/pagination_details_spec.rb
778
- - spec/models/model401_failed_request_response_spec.rb
779
- - spec/models/account_orders_v2_response_spec.rb
755
+ - spec/models/simple_order_form_type_spec.rb
756
+ - spec/models/model402_brokerage_auth_disabled_response_spec.rb
757
+ - spec/models/simple_trade_instrument_kind_spec.rb
758
+ - spec/models/status_spec.rb
759
+ - spec/models/symbol_exchange_spec.rb
760
+ - spec/models/position_spec.rb
761
+ - spec/models/crypto_instrument_spec.rb
762
+ - spec/models/line_of_credit_account_net_value_spec.rb
763
+ - spec/models/mutual_fund_instrument_spec.rb
780
764
  - spec/models/account_balance_spec.rb
781
- - spec/models/simple_trade_form_time_in_force_spec.rb
782
765
  - spec/models/cash_change_direction_spec.rb
783
- - spec/models/underlying_cfd_instrument_spec.rb
784
- - spec/models/manual_trade_form_with_options_spec.rb
785
- - spec/models/snap_trade_register_user_request_body_spec.rb
786
- - spec/models/tokenized_asset_instrument_kind_spec.rb
787
- - spec/models/o_auth_webhook_base_spec.rb
788
- - spec/models/model500_unexpected_exception_response_spec.rb
789
- - spec/models/delete_connection_confirmation_spec.rb
790
- - spec/models/account_universal_activity_spec.rb
791
- - spec/models/options_position_currency_spec.rb
792
- - spec/models/account_spec.rb
793
- - spec/models/trade_detection_add_subscription_request_spec.rb
794
- - spec/models/simple_trade_leg_spec.rb
795
- - spec/models/option_brokerage_symbol_spec.rb
796
- - spec/models/account_order_record_leg_instrument_spec.rb
797
- - spec/models/line_of_credit_account_minimum_payment_amount_spec.rb
798
- - spec/models/future_option_instrument_kind_spec.rb
799
- - spec/models/institution_connection_spec.rb
800
- - spec/models/option_strategy_legs_inner_spec.rb
801
- - spec/models/mleg_action_strict_spec.rb
802
- - spec/models/brokerage_authorization_type_read_only_brokerage_spec.rb
803
- - spec/models/deposit_account_spec.rb
804
- - spec/models/other_instrument_spec.rb
805
- - spec/models/model404_failed_request_response_spec.rb
806
- - spec/models/future_instrument_spec.rb
807
- - spec/models/line_of_credit_account_available_credit_spec.rb
808
- - spec/models/model425_failed_request_response_spec.rb
809
- - spec/models/account_holdings_spec.rb
810
- - spec/models/option_chain_inner_chain_per_root_inner_chain_per_strike_price_inner_spec.rb
811
- - spec/models/option_quote_spec.rb
812
- - spec/models/position_symbol_spec.rb
813
- - spec/models/all_account_positions_response_spec.rb
814
- - spec/models/encrypted_response_encrypted_message_data_spec.rb
815
- - spec/models/manual_trade_spec.rb
766
+ - spec/models/complex_order_leg_order_role_spec.rb
816
767
  - spec/models/time_in_force_strict_spec.rb
817
- - spec/models/option_instrument_option_type_spec.rb
818
- - spec/models/option_chain_inner_chain_per_root_inner_spec.rb
768
+ - spec/models/option_leg_action_spec.rb
769
+ - spec/models/currency_spec.rb
819
770
  - spec/models/account_category_spec.rb
820
- - spec/models/cryptocurrency_pair_spec.rb
821
- - spec/models/account_universal_activity_option_symbol_spec.rb
822
- - spec/models/underlying_option_instrument_spec.rb
823
- - spec/models/brokerage_authorization_spec.rb
824
- - spec/models/all_user_accounts_response_spec.rb
771
+ - spec/models/strategy_order_record_spec.rb
772
+ - spec/models/rate_of_return_response_spec.rb
773
+ - spec/models/crypto_instrument_kind_spec.rb
774
+ - spec/models/trading_session_spec.rb
775
+ - spec/models/connection_account_sync_status_spec.rb
776
+ - spec/models/account_position_spec.rb
777
+ - spec/models/net_dividend_spec.rb
825
778
  - spec/models/option_instrument_spec.rb
826
- - spec/models/status_spec.rb
827
- - spec/models/take_profit_spec.rb
828
779
  - spec/models/strategy_order_record_status_spec.rb
829
- - spec/models/auth_type_spec.rb
830
- - spec/models/connection_account_spec.rb
831
- - spec/models/figi_instrument_spec.rb
832
- - spec/models/universal_symbol_spec.rb
780
+ - spec/models/line_of_credit_account_minimum_payment_amount_spec.rb
781
+ - spec/models/account_universal_activity_currency_universal_symbol_spec.rb
782
+ - spec/models/underlying_option_instrument_spec.rb
783
+ - spec/models/simple_trade_response_spec.rb
784
+ - spec/models/instrument_spec.rb
785
+ - spec/models/strategy_type_spec.rb
786
+ - spec/models/balance_currency_spec.rb
787
+ - spec/models/account_sync_status_spec.rb
788
+ - spec/models/line_of_credit_account_sync_status_spec.rb
789
+ - spec/models/simple_trade_leg_spec.rb
790
+ - spec/models/manual_trade_balance_spec.rb
791
+ - spec/models/simple_trade_form_trading_session_spec.rb
792
+ - spec/models/account_orders_v2_response_spec.rb
793
+ - spec/models/model403_feature_not_enabled_response_spec.rb
794
+ - spec/models/all_user_accounts_response_spec.rb
795
+ - spec/models/model401_failed_request_response_spec.rb
796
+ - spec/models/mleg_leg_spec.rb
797
+ - spec/models/account_holdings_account_spec.rb
798
+ - spec/models/past_value_spec.rb
799
+ - spec/models/investment_account_net_value_spec.rb
833
800
  - spec/models/account_value_history_response_spec.rb
834
- - spec/models/position_currency_spec.rb
835
- - spec/models/trade_detection_cancel_subscription_response_spec.rb
836
- - spec/models/account_simple_spec.rb
837
- - spec/models/notional_value_spec.rb
838
- - spec/models/connection_portal_version_spec.rb
839
- - spec/models/account_order_record_status_spec.rb
840
- - spec/models/stock_instrument_figi_instrument_spec.rb
801
+ - spec/models/mleg_trading_instrument_spec.rb
802
+ - spec/models/balance_spec.rb
803
+ - spec/models/partner_data_spec.rb
804
+ - spec/models/snap_trade_holdings_account_spec.rb
805
+ - spec/models/mutual_fund_instrument_kind_spec.rb
806
+ - spec/models/underlying_symbol_type_spec.rb
807
+ - spec/models/all_account_positions_response_data_freshness_spec.rb
808
+ - spec/models/manual_trade_spec.rb
809
+ - spec/models/deposit_account_spec.rb
841
810
  - spec/models/underlying_tokenized_asset_instrument_spec.rb
842
- - spec/models/mleg_price_effect_strict_spec.rb
843
- - spec/models/line_of_credit_account_kind_spec.rb
844
- - spec/models/account_order_record_quote_universal_symbol_spec.rb
845
- - spec/models/snaptrade_spec.rb
846
- - spec/models/encrypted_response_spec.rb
811
+ - spec/models/complex_order_leg_spec.rb
812
+ - spec/models/institution_spec.rb
847
813
  - spec/models/trading_get_user_account_option_quotes410_response_spec.rb
848
- - spec/models/order_role_spec.rb
849
- - spec/models/model429_too_many_requests_response_spec.rb
850
- - spec/models/simple_trade_form_spec.rb
851
- - spec/models/model501_not_implemented_response_spec.rb
852
- - spec/models/underlying_symbol_exchange_spec.rb
853
- - spec/models/timeframe_spec.rb
854
- - spec/models/mleg_trade_form_spec.rb
855
- - spec/models/connection_account_sync_status_spec.rb
856
- - spec/models/investment_account_spec.rb
857
- - spec/models/simple_trade_form_price_effect_spec.rb
858
- - spec/models/manual_trade_place_time_in_force_strict_spec.rb
859
- - spec/models/account_order_record_status_v2_spec.rb
860
- - spec/models/performance_custom_spec.rb
861
- - spec/models/monthly_dividends_spec.rb
814
+ - spec/models/mleg_order_response_spec.rb
862
815
  - spec/models/account_order_record_option_symbol_spec.rb
863
- - spec/models/session_event_type_spec.rb
864
- - spec/models/rate_of_return_response_spec.rb
865
- - spec/models/cfd_instrument_kind_spec.rb
866
- - spec/models/mutual_fund_instrument_kind_spec.rb
867
- - spec/models/strategy_quotes_greek_spec.rb
868
- - spec/models/account_holdings_account_spec.rb
869
- - spec/models/brokerage_authorization_institution_spec.rb
870
- - spec/models/instrument_spec.rb
871
- - spec/models/institution_spec.rb
872
- - spec/models/underlying_symbol_type_spec.rb
873
- - spec/models/simple_trade_form_trading_session_spec.rb
874
- - spec/models/crypto_instrument_kind_spec.rb
816
+ - spec/models/future_instrument_spec.rb
817
+ - spec/models/line_of_credit_account_kind_spec.rb
818
+ - spec/models/future_option_instrument_spec.rb
819
+ - spec/models/delete_connection_confirmation_spec.rb
875
820
  - spec/models/crypto_order_preview_estimated_fee_spec.rb
876
- - spec/models/other_instrument_kind_spec.rb
877
- - spec/models/model402_brokerage_auth_disabled_response_spec.rb
878
- - spec/models/complex_order_leg_spec.rb
879
- - spec/models/login_redirect_uri_spec.rb
880
- - spec/models/account_sync_status_spec.rb
881
- - spec/models/symbol_spec.rb
882
- - spec/models/connection_type_spec.rb
883
- - spec/models/account_order_record_v2_spec.rb
884
- - spec/models/option_instrument_kind_spec.rb
885
- - spec/models/child_brokerage_order_ids_spec.rb
886
- - spec/models/model402_brokerage_auth_already_disabled_exception_spec.rb
887
- - spec/models/mleg_instrument_type_spec.rb
888
- - spec/models/order_updated_response_spec.rb
889
- - spec/models/cef_instrument_kind_spec.rb
890
- - spec/models/holdings_status_spec.rb
891
- - spec/models/crypto_order_preview_spec.rb
892
- - spec/models/account_order_record_spec.rb
893
- - spec/models/stop_loss_spec.rb
894
- - spec/models/position_spec.rb
895
- - spec/models/trading_instrument_type_spec.rb
821
+ - spec/models/mleg_trade_form_spec.rb
822
+ - spec/models/trade_detection_subscription_spec.rb
823
+ - spec/models/account_spec.rb
824
+ - spec/models/universal_symbol_spec.rb
825
+ - spec/models/account_universal_activity_currency_spec.rb
826
+ - spec/models/options_symbol_option_type_spec.rb
827
+ - spec/models/mleg_price_effect_strict_spec.rb
828
+ - spec/models/tokenized_asset_instrument_spec.rb
829
+ - spec/models/option_chain_inner_spec.rb
830
+ - spec/models/account_information_get_user_account_order_detail_request_spec.rb
831
+ - spec/models/option_brokerage_symbol_spec.rb
832
+ - spec/models/manual_trade_form_spec.rb
833
+ - spec/models/o_auth_webhook_base_spec.rb
834
+ - spec/models/stock_instrument_spec.rb
835
+ - spec/models/cryptocurrency_pair_quote_spec.rb
896
836
  - spec/models/stock_instrument_kind_spec.rb
897
- - spec/models/option_quote_greeks_spec.rb
898
837
  - spec/models/crypto_order_form_spec.rb
899
- - spec/models/simple_trade_instrument_kind_spec.rb
900
- - spec/models/past_value_spec.rb
901
- - spec/models/cfd_instrument_spec.rb
902
- - spec/models/option_leg_spec.rb
903
- - spec/models/mleg_leg_spec.rb
904
- - spec/models/model503_brokerage_request_response_spec.rb
905
- - spec/models/order_updated_response_order_spec.rb
906
- - spec/models/symbol_query_spec.rb
907
- - spec/models/mutual_fund_instrument_spec.rb
908
- - spec/models/release_stage_spec.rb
909
- - spec/models/trade_detection_cancel_subscription_request_spec.rb
838
+ - spec/models/cryptocurrency_pair_spec.rb
839
+ - spec/models/notional_value_spec.rb
910
840
  - spec/models/options_position_spec.rb
911
- - spec/models/account_position_spec.rb
912
- - spec/models/manual_trade_form_bracket_spec.rb
913
- - spec/models/strategy_type_spec.rb
914
- - spec/models/snap_trade_holdings_account_spec.rb
915
- - spec/models/line_of_credit_account_spec.rb
916
- - spec/models/option_leg_action_spec.rb
917
- - spec/models/authentication_login_snap_trade_user200_response_spec.rb
918
- - spec/models/rate_of_return_object_spec.rb
919
- - spec/models/strategy_order_record_spec.rb
841
+ - spec/models/model404_failed_request_response_spec.rb
842
+ - spec/models/mleg_order_type_strict_spec.rb
843
+ - spec/models/dividend_at_date_spec.rb
844
+ - spec/models/option_instrument_option_type_spec.rb
845
+ - spec/models/brokerage_instruments_response_spec.rb
846
+ - spec/models/future_option_instrument_kind_spec.rb
847
+ - spec/models/deposit_account_sync_status_spec.rb
848
+ - spec/models/options_position_currency_spec.rb
849
+ - spec/models/brokerage_authorization_type_read_only_spec.rb
850
+ - spec/models/option_quote_spec.rb
851
+ - spec/models/cancel_order_response_spec.rb
852
+ - spec/models/account_universal_activity_spec.rb
853
+ - spec/models/other_instrument_spec.rb
854
+ - spec/models/timeframe_spec.rb
855
+ - spec/models/encrypted_response_encrypted_message_data_spec.rb
856
+ - spec/models/account_order_record_v2_spec.rb
857
+ - spec/models/connection_portal_version_spec.rb
858
+ - spec/models/brokerage_type_spec.rb
859
+ - spec/models/option_strategy_legs_inner_spec.rb
860
+ - spec/models/account_order_record_quote_universal_symbol_spec.rb
861
+ - spec/models/simple_trade_form_order_type_spec.rb
862
+ - spec/models/option_leg_spec.rb
920
863
  - spec/models/account_order_record_universal_symbol_spec.rb
921
- - spec/models/connection_accounts_response_spec.rb
922
- - spec/models/line_of_credit_account_net_value_spec.rb
864
+ - spec/models/adr_instrument_spec.rb
865
+ - spec/models/stop_loss_spec.rb
866
+ - spec/models/simple_trade_form_spec.rb
867
+ - spec/models/account_order_record_spec.rb
868
+ - spec/models/encrypted_response_spec.rb
869
+ - spec/models/stock_instrument_figi_instrument_spec.rb
870
+ - spec/models/model425_failed_request_response_spec.rb
871
+ - spec/models/performance_custom_spec.rb
872
+ - spec/models/account_order_record_quote_currency_spec.rb
873
+ - spec/models/snaptrade_spec.rb
874
+ - spec/models/account_balance_total_spec.rb
875
+ - spec/models/kind_spec.rb
876
+ - spec/models/brokerage_authorization_institution_spec.rb
877
+ - spec/models/rate_of_return_object_spec.rb
878
+ - spec/models/trading_search_cryptocurrency_pair_instruments200_response_spec.rb
879
+ - spec/models/strategy_quotes_greek_spec.rb
880
+ - spec/models/action_strict_with_options_spec.rb
881
+ - spec/models/order_type_strict_spec.rb
882
+ - spec/models/institution_connection_spec.rb
883
+ - spec/models/crypto_trading_instrument_type_spec.rb
884
+ - spec/models/connection_account_spec.rb
885
+ - spec/models/crypto_order_form_type_spec.rb
886
+ - spec/models/account_universal_activity_symbol_spec.rb
923
887
  - spec/models/model403_failed_request_response_spec.rb
924
- - spec/models/option_chain_inner_spec.rb
925
- - spec/models/tax_lot_spec.rb
926
- - spec/models/recent_orders_response_spec.rb
927
- - spec/models/complex_order_leg_order_role_spec.rb
928
- - spec/models/brokerage_authorization_refresh_confirmation_spec.rb
929
- - spec/models/account_order_record_leg_spec.rb
930
- - spec/models/manual_trade_symbol_spec.rb
931
- - spec/models/line_of_credit_account_sync_status_spec.rb
932
- - spec/models/sub_period_return_rate_spec.rb
933
- - spec/models/simple_trade_form_order_type_spec.rb
934
- - spec/models/trailing_stop_spec.rb
935
- - spec/models/balance_spec.rb
936
- - spec/models/account_order_record_v2_order_role_spec.rb
937
- - spec/models/simple_order_form_spec.rb
888
+ - spec/models/trade_detection_cancel_subscription_response_spec.rb
889
+ - spec/models/account_order_record_leg_instrument_spec.rb
890
+ - spec/models/brokerage_authorization_type_read_only_type_spec.rb
891
+ - spec/models/monthly_dividends_spec.rb
892
+ - spec/models/transactions_status_spec.rb
893
+ - spec/models/paginated_universal_activity_spec.rb
894
+ - spec/models/account_holdings_spec.rb
895
+ - spec/models/trading_instrument_type_spec.rb
938
896
  - spec/models/universal_activity_spec.rb
939
- - spec/models/cef_instrument_spec.rb
940
- - spec/models/manual_trade_form_complex_type_spec.rb
941
- - spec/models/crypto_instrument_spec.rb
942
- - spec/models/brokerage_spec.rb
943
- - spec/models/future_instrument_kind_spec.rb
897
+ - spec/models/model429_too_many_requests_response_spec.rb
898
+ - spec/models/holdings_status_spec.rb
899
+ - spec/models/deposit_account_net_value_spec.rb
900
+ - spec/models/action_strict_spec.rb
901
+ - spec/models/trading_instrument_spec.rb
902
+ - spec/models/authentication_login_snap_trade_user200_response_spec.rb
903
+ - spec/models/adr_instrument_kind_spec.rb
904
+ - spec/models/snap_trade_register_user_request_body_spec.rb
944
905
  - spec/models/delete_user_response_spec.rb
945
- - spec/models/simple_trade_response_spec.rb
946
- - spec/models/deposit_account_kind_spec.rb
947
- - spec/models/snap_trade_login_user_request_body_spec.rb
906
+ - spec/models/order_role_spec.rb
907
+ - spec/models/brokerage_authorization_transactions_sync_confirmation_spec.rb
948
908
  - spec/models/account_value_history_item_spec.rb
949
- - spec/models/account_order_record_child_brokerage_order_ids_spec.rb
950
- - spec/models/options_symbol_spec.rb
951
- - spec/models/net_dividend_spec.rb
952
- - spec/models/account_order_record_trailing_stop_spec.rb
953
- - spec/models/schema_version_spec.rb
954
- - spec/models/model403_feature_not_enabled_response_spec.rb
955
909
  - spec/models/account_status_spec.rb
956
- - spec/models/crypto_trading_instrument_type_spec.rb
957
- - spec/models/complex_order_response_type_spec.rb
958
- - spec/models/manual_trade_form_spec.rb
959
- - spec/models/options_symbol_option_type_spec.rb
960
- - spec/models/mleg_order_type_strict_spec.rb
910
+ - spec/models/model400_failed_request_response_spec.rb
911
+ - spec/models/model501_not_implemented_response_spec.rb
912
+ - spec/models/sub_period_return_rate_spec.rb
913
+ - spec/models/manual_trade_form_notional_value_spec.rb
914
+ - spec/models/brokerage_instrument_spec.rb
915
+ - spec/models/net_contributions_spec.rb
916
+ - spec/models/account_simple_spec.rb
917
+ - spec/models/line_of_credit_account_spec.rb
918
+ - spec/models/simple_order_form_time_in_force_spec.rb
919
+ - spec/models/take_profit_spec.rb
920
+ - spec/models/simple_order_form_spec.rb
961
921
  - spec/models/validated_trade_body_spec.rb
962
- - spec/models/crypto_order_form_time_in_force_spec.rb
963
- - spec/models/manual_trade_balance_spec.rb
964
- - spec/models/complex_order_response_spec.rb
965
- - spec/models/deposit_account_net_value_spec.rb
966
- - spec/models/crypto_order_form_type_spec.rb
967
- - spec/models/trading_instrument_spec.rb
968
- - spec/models/type_spec.rb
969
- - spec/models/order_type_strict_spec.rb
922
+ - spec/models/option_quote_greeks_spec.rb
923
+ - spec/models/manual_trade_form_bracket_spec.rb
924
+ - spec/models/manual_trade_and_impact_spec.rb
925
+ - spec/models/manual_trade_place_time_in_force_strict_spec.rb
926
+ - spec/models/recent_orders_response_spec.rb
927
+ - spec/models/account_order_record_status_spec.rb
928
+ - spec/models/symbols_quotes_inner_spec.rb
929
+ - spec/models/manual_trade_symbol_spec.rb
930
+ - spec/models/brokerage_authorization_disabled_confirmation_spec.rb
931
+ - spec/models/option_chain_inner_chain_per_root_inner_chain_per_strike_price_inner_spec.rb
932
+ - spec/models/order_updated_response_order_spec.rb
933
+ - spec/models/manual_trade_form_complex_spec.rb
934
+ - spec/models/snap_trade_login_user_request_body_spec.rb
935
+ - spec/models/option_impact_spec.rb
936
+ - spec/models/other_instrument_kind_spec.rb
937
+ - spec/models/schema_version_spec.rb
938
+ - spec/models/investment_account_spec.rb
939
+ - spec/models/model500_unexpected_exception_response_spec.rb
940
+ - spec/models/account_universal_activity_option_symbol_spec.rb
970
941
  - spec/models/option_strategy_spec.rb
971
- - spec/regression/request_signing_spec.rb
942
+ - spec/models/brokerage_spec.rb
943
+ - spec/models/release_stage_spec.rb
944
+ - spec/models/session_event_spec.rb
945
+ - spec/models/brokerage_authorization_refresh_confirmation_spec.rb
946
+ - spec/models/account_information_get_user_holdings409_response_spec.rb
947
+ - spec/models/us_exchange_spec.rb
948
+ - spec/models/brokerage_authorization_type_read_only_brokerage_spec.rb
949
+ - spec/models/cfd_instrument_spec.rb
950
+ - spec/models/line_of_credit_account_available_credit_spec.rb
951
+ - spec/models/account_order_record_v2_order_role_spec.rb
952
+ - spec/models/brokerage_authorization_spec.rb
953
+ - spec/models/session_event_type_spec.rb
954
+ - spec/models/all_account_positions_response_spec.rb
955
+ - spec/models/cfd_instrument_kind_spec.rb
956
+ - spec/models/child_brokerage_order_ids_spec.rb
957
+ - spec/models/complex_order_response_spec.rb
958
+ - spec/models/login_redirect_uri_spec.rb
959
+ - spec/models/account_order_record_leg_spec.rb
960
+ - spec/models/crypto_order_preview_spec.rb
961
+ - spec/models/connection_accounts_response_spec.rb
962
+ - spec/models/auth_type_spec.rb
963
+ - spec/models/option_chain_inner_chain_per_root_inner_spec.rb
964
+ - spec/models/manual_trade_replace_form_spec.rb
965
+ - spec/models/cef_instrument_kind_spec.rb
966
+ - spec/models/symbol_spec.rb
967
+ - spec/models/manual_trade_form_complex_type_spec.rb
968
+ - spec/models/simple_trade_form_time_in_force_spec.rb
969
+ - spec/models/etf_instrument_kind_spec.rb
970
+ - spec/models/underlying_cfd_instrument_spec.rb
971
+ - spec/models/symbol_currency_spec.rb
972
+ - spec/models/simple_trade_form_price_effect_spec.rb
973
+ - spec/models/position_currency_spec.rb
972
974
  - spec/regression/all_account_positions_spec.rb
975
+ - spec/regression/request_signing_spec.rb
973
976
  - spec/regression/fixtures/all_account_positions.json
974
977
  - spec/spec_helper.rb