snaptrade 2.0.31 → 2.0.33
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +31 -29
- data/README.md +4 -2
- data/lib/snaptrade/api/account_information_api.rb +6 -2
- data/lib/snaptrade/models/account.rb +2 -1
- data/lib/snaptrade/models/account_holdings_account.rb +2 -2
- data/lib/snaptrade/models/account_order_record.rb +25 -19
- data/lib/snaptrade/models/{brokerage_symbol_option_symbol.rb → account_order_record_option_symbol.rb} +15 -26
- data/lib/snaptrade/models/{brokerage_symbol_symbol.rb → account_order_record_universal_symbol.rb} +12 -5
- data/lib/snaptrade/models/brokerage_authorization_type_read_only.rb +1 -1
- data/lib/snaptrade/models/exchange.rb +9 -1
- data/lib/snaptrade/models/figi_instrument.rb +3 -1
- data/lib/snaptrade/models/monthly_dividends.rb +1 -1
- data/lib/snaptrade/models/net_contributions.rb +1 -1
- data/lib/snaptrade/models/option_brokerage_symbol.rb +3 -1
- data/lib/snaptrade/models/options_position.rb +1 -1
- data/lib/snaptrade/models/options_position_currency.rb +1 -0
- data/lib/snaptrade/models/options_symbol.rb +12 -24
- data/lib/snaptrade/models/order_type_strict.rb +2 -2
- data/lib/snaptrade/models/past_value.rb +1 -1
- data/lib/snaptrade/models/position_symbol.rb +6 -1
- data/lib/snaptrade/models/security_type.rb +5 -1
- data/lib/snaptrade/models/snap_trade_holdings_account_account_id.rb +1 -1
- data/lib/snaptrade/models/strategy_order_record.rb +1 -1
- data/lib/snaptrade/models/sub_period_return_rate.rb +2 -2
- data/lib/snaptrade/models/symbol_figi_instrument.rb +2 -0
- data/lib/snaptrade/models/type.rb +3 -3
- data/lib/snaptrade/models/underlying_symbol.rb +20 -5
- data/lib/snaptrade/models/{model_portfolio.rb → underlying_symbol_exchange.rb} +73 -12
- data/lib/snaptrade/models/{brokerage_symbol.rb → underlying_symbol_type.rb} +28 -38
- data/lib/snaptrade/models/universal_symbol.rb +9 -3
- data/lib/snaptrade/models/{portfolio_group.rb → universal_symbol_currency.rb} +24 -4
- data/lib/snaptrade/models/{model_asset_class.rb → universal_symbol_exchange.rb} +78 -7
- data/lib/snaptrade/version.rb +1 -1
- data/lib/snaptrade.rb +6 -38
- data/spec/api/account_information_api_spec.rb +1 -1
- data/spec/models/{strategy_impact_legs_inner_spec.rb → account_order_record_option_symbol_spec.rb} +13 -13
- data/spec/models/{brokerage_symbol_symbol_spec.rb → account_order_record_universal_symbol_spec.rb} +6 -6
- data/spec/models/options_symbol_spec.rb +0 -12
- data/spec/models/{brokerage_symbol_option_symbol_spec.rb → underlying_symbol_exchange_spec.rb} +14 -14
- data/spec/models/underlying_symbol_spec.rb +6 -0
- data/spec/models/{cash_restriction_spec.rb → underlying_symbol_type_spec.rb} +9 -15
- data/spec/models/{model_portfolio_spec.rb → universal_symbol_currency_spec.rb} +8 -8
- data/spec/models/{trade_spec.rb → universal_symbol_exchange_spec.rb} +13 -13
- metadata +117 -213
- data/lib/snaptrade/models/brokerage_authorization_type.rb +0 -216
- data/lib/snaptrade/models/brokerage_authorization_type_read_only_type.rb +0 -37
- data/lib/snaptrade/models/brokerage_authorization_type_type.rb +0 -37
- data/lib/snaptrade/models/calculated_trade.rb +0 -228
- data/lib/snaptrade/models/cash_restriction.rb +0 -253
- data/lib/snaptrade/models/excluded_asset.rb +0 -217
- data/lib/snaptrade/models/jwt.rb +0 -217
- data/lib/snaptrade/models/model_asset_class_details.rb +0 -227
- data/lib/snaptrade/models/model_asset_class_target.rb +0 -216
- data/lib/snaptrade/models/model_portfolio_asset_class.rb +0 -249
- data/lib/snaptrade/models/model_portfolio_details.rb +0 -238
- data/lib/snaptrade/models/model_portfolio_security.rb +0 -249
- data/lib/snaptrade/models/model_type.rb +0 -38
- data/lib/snaptrade/models/portfolio_group_info.rb +0 -325
- data/lib/snaptrade/models/portfolio_group_position.rb +0 -237
- data/lib/snaptrade/models/portfolio_group_settings.rb +0 -276
- data/lib/snaptrade/models/redirect_tokenand_pin.rb +0 -226
- data/lib/snaptrade/models/snap_trade_api_disclaimer_accept_status.rb +0 -226
- data/lib/snaptrade/models/state.rb +0 -40
- data/lib/snaptrade/models/strategy_impact.rb +0 -309
- data/lib/snaptrade/models/strategy_impact_legs_inner.rb +0 -270
- data/lib/snaptrade/models/strategy_order_place.rb +0 -228
- data/lib/snaptrade/models/strategy_order_place_orders_inner.rb +0 -596
- data/lib/snaptrade/models/strategy_order_place_orders_inner_legs_inner.rb +0 -270
- data/lib/snaptrade/models/target_asset.rb +0 -289
- data/lib/snaptrade/models/trade.rb +0 -280
- data/lib/snaptrade/models/trade_action.rb +0 -37
- data/lib/snaptrade/models/trade_execution_status.rb +0 -297
- data/lib/snaptrade/models/trade_execution_status_action.rb +0 -37
- data/lib/snaptrade/models/trade_impact.rb +0 -256
- data/lib/snaptrade/models/user_error_log.rb +0 -262
- data/lib/snaptrade/models/user_settings.rb +0 -298
- data/spec/models/brokerage_authorization_type_read_only_type_spec.rb +0 -23
- data/spec/models/brokerage_authorization_type_spec.rb +0 -29
- data/spec/models/brokerage_authorization_type_type_spec.rb +0 -23
- data/spec/models/brokerage_symbol_spec.rb +0 -59
- data/spec/models/calculated_trade_spec.rb +0 -35
- data/spec/models/excluded_asset_spec.rb +0 -29
- data/spec/models/jwt_spec.rb +0 -29
- data/spec/models/model_asset_class_details_spec.rb +0 -35
- data/spec/models/model_asset_class_spec.rb +0 -35
- data/spec/models/model_asset_class_target_spec.rb +0 -29
- data/spec/models/model_portfolio_asset_class_spec.rb +0 -35
- data/spec/models/model_portfolio_details_spec.rb +0 -41
- data/spec/models/model_portfolio_security_spec.rb +0 -35
- data/spec/models/model_type_spec.rb +0 -23
- data/spec/models/portfolio_group_info_spec.rb +0 -89
- data/spec/models/portfolio_group_position_spec.rb +0 -41
- data/spec/models/portfolio_group_settings_spec.rb +0 -53
- data/spec/models/portfolio_group_spec.rb +0 -35
- data/spec/models/redirect_tokenand_pin_spec.rb +0 -35
- data/spec/models/snap_trade_api_disclaimer_accept_status_spec.rb +0 -35
- data/spec/models/state_spec.rb +0 -23
- data/spec/models/strategy_impact_spec.rb +0 -89
- data/spec/models/strategy_order_place_orders_inner_legs_inner_spec.rb +0 -65
- data/spec/models/strategy_order_place_orders_inner_spec.rb +0 -281
- data/spec/models/strategy_order_place_spec.rb +0 -35
- data/spec/models/target_asset_spec.rb +0 -59
- data/spec/models/trade_action_spec.rb +0 -23
- data/spec/models/trade_execution_status_action_spec.rb +0 -23
- data/spec/models/trade_execution_status_spec.rb +0 -77
- data/spec/models/trade_impact_spec.rb +0 -53
- data/spec/models/user_error_log_spec.rb +0 -59
- data/spec/models/user_settings_spec.rb +0 -83
@@ -11,13 +11,13 @@ require 'spec_helper'
|
|
11
11
|
require 'json'
|
12
12
|
require 'date'
|
13
13
|
|
14
|
-
# Unit tests for SnapTrade::
|
15
|
-
describe SnapTrade::
|
16
|
-
let(:instance) { SnapTrade::
|
14
|
+
# Unit tests for SnapTrade::UniversalSymbolExchange
|
15
|
+
describe SnapTrade::UniversalSymbolExchange do
|
16
|
+
let(:instance) { SnapTrade::UniversalSymbolExchange.new }
|
17
17
|
|
18
|
-
describe 'test an instance of
|
19
|
-
it 'should create an instance of
|
20
|
-
expect(instance).to be_instance_of(SnapTrade::
|
18
|
+
describe 'test an instance of UniversalSymbolExchange' do
|
19
|
+
it 'should create an instance of UniversalSymbolExchange' do
|
20
|
+
expect(instance).to be_instance_of(SnapTrade::UniversalSymbolExchange)
|
21
21
|
end
|
22
22
|
end
|
23
23
|
describe 'test attribute "id"' do
|
@@ -26,43 +26,43 @@ describe SnapTrade::Trade do
|
|
26
26
|
end
|
27
27
|
end
|
28
28
|
|
29
|
-
describe 'test attribute "
|
29
|
+
describe 'test attribute "code"' do
|
30
30
|
it 'should work' do
|
31
31
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
35
|
-
describe 'test attribute "
|
35
|
+
describe 'test attribute "mic_code"' do
|
36
36
|
it 'should work' do
|
37
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
-
describe 'test attribute "
|
41
|
+
describe 'test attribute "name"' do
|
42
42
|
it 'should work' do
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
-
describe 'test attribute "
|
47
|
+
describe 'test attribute "timezone"' do
|
48
48
|
it 'should work' do
|
49
49
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
50
|
end
|
51
51
|
end
|
52
52
|
|
53
|
-
describe 'test attribute "
|
53
|
+
describe 'test attribute "start_time"' do
|
54
54
|
it 'should work' do
|
55
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
56
|
end
|
57
57
|
end
|
58
58
|
|
59
|
-
describe 'test attribute "
|
59
|
+
describe 'test attribute "close_time"' do
|
60
60
|
it 'should work' do
|
61
61
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
62
|
end
|
63
63
|
end
|
64
64
|
|
65
|
-
describe 'test attribute "
|
65
|
+
describe 'test attribute "suffix"' do
|
66
66
|
it 'should work' do
|
67
67
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
68
|
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: 2.0.
|
4
|
+
version: 2.0.33
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- SnapTrade
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-08-
|
11
|
+
date: 2024-08-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -101,7 +101,9 @@ files:
|
|
101
101
|
- lib/snaptrade/models/account_holdings.rb
|
102
102
|
- lib/snaptrade/models/account_holdings_account.rb
|
103
103
|
- lib/snaptrade/models/account_order_record.rb
|
104
|
+
- lib/snaptrade/models/account_order_record_option_symbol.rb
|
104
105
|
- lib/snaptrade/models/account_order_record_status.rb
|
106
|
+
- lib/snaptrade/models/account_order_record_universal_symbol.rb
|
105
107
|
- lib/snaptrade/models/account_simple.rb
|
106
108
|
- lib/snaptrade/models/account_sync_status.rb
|
107
109
|
- lib/snaptrade/models/action_strict.rb
|
@@ -113,17 +115,9 @@ files:
|
|
113
115
|
- lib/snaptrade/models/brokerage_authorization.rb
|
114
116
|
- lib/snaptrade/models/brokerage_authorization_disabled_confirmation.rb
|
115
117
|
- lib/snaptrade/models/brokerage_authorization_refresh_confirmation.rb
|
116
|
-
- lib/snaptrade/models/brokerage_authorization_type.rb
|
117
118
|
- lib/snaptrade/models/brokerage_authorization_type_read_only.rb
|
118
119
|
- lib/snaptrade/models/brokerage_authorization_type_read_only_brokerage.rb
|
119
|
-
- lib/snaptrade/models/brokerage_authorization_type_read_only_type.rb
|
120
|
-
- lib/snaptrade/models/brokerage_authorization_type_type.rb
|
121
|
-
- lib/snaptrade/models/brokerage_symbol.rb
|
122
|
-
- lib/snaptrade/models/brokerage_symbol_option_symbol.rb
|
123
|
-
- lib/snaptrade/models/brokerage_symbol_symbol.rb
|
124
120
|
- lib/snaptrade/models/brokerage_type.rb
|
125
|
-
- lib/snaptrade/models/calculated_trade.rb
|
126
|
-
- lib/snaptrade/models/cash_restriction.rb
|
127
121
|
- lib/snaptrade/models/connection_portal_version.rb
|
128
122
|
- lib/snaptrade/models/connection_type.rb
|
129
123
|
- lib/snaptrade/models/connections_session_events200_response_inner.rb
|
@@ -134,10 +128,8 @@ files:
|
|
134
128
|
- lib/snaptrade/models/encrypted_response_encrypted_message_data.rb
|
135
129
|
- lib/snaptrade/models/exchange.rb
|
136
130
|
- lib/snaptrade/models/exchange_rate_pairs.rb
|
137
|
-
- lib/snaptrade/models/excluded_asset.rb
|
138
131
|
- lib/snaptrade/models/figi_instrument.rb
|
139
132
|
- lib/snaptrade/models/holdings_status.rb
|
140
|
-
- lib/snaptrade/models/jwt.rb
|
141
133
|
- lib/snaptrade/models/login_redirect_uri.rb
|
142
134
|
- lib/snaptrade/models/manual_trade.rb
|
143
135
|
- lib/snaptrade/models/manual_trade_and_impact.rb
|
@@ -153,14 +145,6 @@ files:
|
|
153
145
|
- lib/snaptrade/models/model403_feature_not_enabled_response.rb
|
154
146
|
- lib/snaptrade/models/model404_failed_request_response.rb
|
155
147
|
- lib/snaptrade/models/model500_unexpected_exception_response.rb
|
156
|
-
- lib/snaptrade/models/model_asset_class.rb
|
157
|
-
- lib/snaptrade/models/model_asset_class_details.rb
|
158
|
-
- lib/snaptrade/models/model_asset_class_target.rb
|
159
|
-
- lib/snaptrade/models/model_portfolio.rb
|
160
|
-
- lib/snaptrade/models/model_portfolio_asset_class.rb
|
161
|
-
- lib/snaptrade/models/model_portfolio_details.rb
|
162
|
-
- lib/snaptrade/models/model_portfolio_security.rb
|
163
|
-
- lib/snaptrade/models/model_type.rb
|
164
148
|
- lib/snaptrade/models/monthly_dividends.rb
|
165
149
|
- lib/snaptrade/models/net_contributions.rb
|
166
150
|
- lib/snaptrade/models/net_dividend.rb
|
@@ -183,30 +167,18 @@ files:
|
|
183
167
|
- lib/snaptrade/models/partner_data.rb
|
184
168
|
- lib/snaptrade/models/past_value.rb
|
185
169
|
- lib/snaptrade/models/performance_custom.rb
|
186
|
-
- lib/snaptrade/models/portfolio_group.rb
|
187
|
-
- lib/snaptrade/models/portfolio_group_info.rb
|
188
|
-
- lib/snaptrade/models/portfolio_group_position.rb
|
189
|
-
- lib/snaptrade/models/portfolio_group_settings.rb
|
190
170
|
- lib/snaptrade/models/position.rb
|
191
171
|
- lib/snaptrade/models/position_symbol.rb
|
192
|
-
- lib/snaptrade/models/redirect_tokenand_pin.rb
|
193
172
|
- lib/snaptrade/models/security_type.rb
|
194
173
|
- lib/snaptrade/models/session_event.rb
|
195
174
|
- lib/snaptrade/models/session_event_type.rb
|
196
|
-
- lib/snaptrade/models/snap_trade_api_disclaimer_accept_status.rb
|
197
175
|
- lib/snaptrade/models/snap_trade_holdings_account.rb
|
198
176
|
- lib/snaptrade/models/snap_trade_holdings_account_account_id.rb
|
199
177
|
- lib/snaptrade/models/snap_trade_holdings_account_account_id_balance.rb
|
200
178
|
- lib/snaptrade/models/snap_trade_holdings_total_value.rb
|
201
179
|
- lib/snaptrade/models/snap_trade_login_user_request_body.rb
|
202
180
|
- lib/snaptrade/models/snap_trade_register_user_request_body.rb
|
203
|
-
- lib/snaptrade/models/state.rb
|
204
181
|
- lib/snaptrade/models/status.rb
|
205
|
-
- lib/snaptrade/models/strategy_impact.rb
|
206
|
-
- lib/snaptrade/models/strategy_impact_legs_inner.rb
|
207
|
-
- lib/snaptrade/models/strategy_order_place.rb
|
208
|
-
- lib/snaptrade/models/strategy_order_place_orders_inner.rb
|
209
|
-
- lib/snaptrade/models/strategy_order_place_orders_inner_legs_inner.rb
|
210
182
|
- lib/snaptrade/models/strategy_order_record.rb
|
211
183
|
- lib/snaptrade/models/strategy_order_record_status.rb
|
212
184
|
- lib/snaptrade/models/strategy_quotes.rb
|
@@ -217,23 +189,19 @@ files:
|
|
217
189
|
- lib/snaptrade/models/symbol_figi_instrument.rb
|
218
190
|
- lib/snaptrade/models/symbol_query.rb
|
219
191
|
- lib/snaptrade/models/symbols_quotes_inner.rb
|
220
|
-
- lib/snaptrade/models/target_asset.rb
|
221
192
|
- lib/snaptrade/models/time_in_force_strict.rb
|
222
|
-
- lib/snaptrade/models/trade.rb
|
223
|
-
- lib/snaptrade/models/trade_action.rb
|
224
|
-
- lib/snaptrade/models/trade_execution_status.rb
|
225
|
-
- lib/snaptrade/models/trade_execution_status_action.rb
|
226
|
-
- lib/snaptrade/models/trade_impact.rb
|
227
193
|
- lib/snaptrade/models/trading_cancel_user_account_order_request.rb
|
228
194
|
- lib/snaptrade/models/transactions_status.rb
|
229
195
|
- lib/snaptrade/models/type.rb
|
230
196
|
- lib/snaptrade/models/underlying_symbol.rb
|
197
|
+
- lib/snaptrade/models/underlying_symbol_exchange.rb
|
198
|
+
- lib/snaptrade/models/underlying_symbol_type.rb
|
231
199
|
- lib/snaptrade/models/universal_activity.rb
|
232
200
|
- lib/snaptrade/models/universal_symbol.rb
|
201
|
+
- lib/snaptrade/models/universal_symbol_currency.rb
|
202
|
+
- lib/snaptrade/models/universal_symbol_exchange.rb
|
233
203
|
- lib/snaptrade/models/us_exchange.rb
|
234
|
-
- lib/snaptrade/models/user_error_log.rb
|
235
204
|
- lib/snaptrade/models/user_i_dand_secret.rb
|
236
|
-
- lib/snaptrade/models/user_settings.rb
|
237
205
|
- lib/snaptrade/models/validated_trade_body.rb
|
238
206
|
- lib/snaptrade/version.rb
|
239
207
|
- snaptrade.gemspec
|
@@ -252,8 +220,10 @@ files:
|
|
252
220
|
- spec/models/account_balance_total_spec.rb
|
253
221
|
- spec/models/account_holdings_account_spec.rb
|
254
222
|
- spec/models/account_holdings_spec.rb
|
223
|
+
- spec/models/account_order_record_option_symbol_spec.rb
|
255
224
|
- spec/models/account_order_record_spec.rb
|
256
225
|
- spec/models/account_order_record_status_spec.rb
|
226
|
+
- spec/models/account_order_record_universal_symbol_spec.rb
|
257
227
|
- spec/models/account_simple_spec.rb
|
258
228
|
- spec/models/account_spec.rb
|
259
229
|
- spec/models/account_sync_status_spec.rb
|
@@ -267,16 +237,8 @@ files:
|
|
267
237
|
- spec/models/brokerage_authorization_spec.rb
|
268
238
|
- spec/models/brokerage_authorization_type_read_only_brokerage_spec.rb
|
269
239
|
- spec/models/brokerage_authorization_type_read_only_spec.rb
|
270
|
-
- spec/models/brokerage_authorization_type_read_only_type_spec.rb
|
271
|
-
- spec/models/brokerage_authorization_type_spec.rb
|
272
|
-
- spec/models/brokerage_authorization_type_type_spec.rb
|
273
240
|
- spec/models/brokerage_spec.rb
|
274
|
-
- spec/models/brokerage_symbol_option_symbol_spec.rb
|
275
|
-
- spec/models/brokerage_symbol_spec.rb
|
276
|
-
- spec/models/brokerage_symbol_symbol_spec.rb
|
277
241
|
- spec/models/brokerage_type_spec.rb
|
278
|
-
- spec/models/calculated_trade_spec.rb
|
279
|
-
- spec/models/cash_restriction_spec.rb
|
280
242
|
- spec/models/connection_portal_version_spec.rb
|
281
243
|
- spec/models/connection_type_spec.rb
|
282
244
|
- spec/models/connections_session_events200_response_inner_spec.rb
|
@@ -287,10 +249,8 @@ files:
|
|
287
249
|
- spec/models/encrypted_response_spec.rb
|
288
250
|
- spec/models/exchange_rate_pairs_spec.rb
|
289
251
|
- spec/models/exchange_spec.rb
|
290
|
-
- spec/models/excluded_asset_spec.rb
|
291
252
|
- spec/models/figi_instrument_spec.rb
|
292
253
|
- spec/models/holdings_status_spec.rb
|
293
|
-
- spec/models/jwt_spec.rb
|
294
254
|
- spec/models/login_redirect_uri_spec.rb
|
295
255
|
- spec/models/manual_trade_and_impact_spec.rb
|
296
256
|
- spec/models/manual_trade_balance_spec.rb
|
@@ -306,14 +266,6 @@ files:
|
|
306
266
|
- spec/models/model403_feature_not_enabled_response_spec.rb
|
307
267
|
- spec/models/model404_failed_request_response_spec.rb
|
308
268
|
- spec/models/model500_unexpected_exception_response_spec.rb
|
309
|
-
- spec/models/model_asset_class_details_spec.rb
|
310
|
-
- spec/models/model_asset_class_spec.rb
|
311
|
-
- spec/models/model_asset_class_target_spec.rb
|
312
|
-
- spec/models/model_portfolio_asset_class_spec.rb
|
313
|
-
- spec/models/model_portfolio_details_spec.rb
|
314
|
-
- spec/models/model_portfolio_security_spec.rb
|
315
|
-
- spec/models/model_portfolio_spec.rb
|
316
|
-
- spec/models/model_type_spec.rb
|
317
269
|
- spec/models/monthly_dividends_spec.rb
|
318
270
|
- spec/models/net_contributions_spec.rb
|
319
271
|
- spec/models/net_dividend_spec.rb
|
@@ -336,30 +288,18 @@ files:
|
|
336
288
|
- spec/models/partner_data_spec.rb
|
337
289
|
- spec/models/past_value_spec.rb
|
338
290
|
- spec/models/performance_custom_spec.rb
|
339
|
-
- spec/models/portfolio_group_info_spec.rb
|
340
|
-
- spec/models/portfolio_group_position_spec.rb
|
341
|
-
- spec/models/portfolio_group_settings_spec.rb
|
342
|
-
- spec/models/portfolio_group_spec.rb
|
343
291
|
- spec/models/position_spec.rb
|
344
292
|
- spec/models/position_symbol_spec.rb
|
345
|
-
- spec/models/redirect_tokenand_pin_spec.rb
|
346
293
|
- spec/models/security_type_spec.rb
|
347
294
|
- spec/models/session_event_spec.rb
|
348
295
|
- spec/models/session_event_type_spec.rb
|
349
|
-
- spec/models/snap_trade_api_disclaimer_accept_status_spec.rb
|
350
296
|
- spec/models/snap_trade_holdings_account_account_id_balance_spec.rb
|
351
297
|
- spec/models/snap_trade_holdings_account_account_id_spec.rb
|
352
298
|
- spec/models/snap_trade_holdings_account_spec.rb
|
353
299
|
- spec/models/snap_trade_holdings_total_value_spec.rb
|
354
300
|
- spec/models/snap_trade_login_user_request_body_spec.rb
|
355
301
|
- spec/models/snap_trade_register_user_request_body_spec.rb
|
356
|
-
- spec/models/state_spec.rb
|
357
302
|
- spec/models/status_spec.rb
|
358
|
-
- spec/models/strategy_impact_legs_inner_spec.rb
|
359
|
-
- spec/models/strategy_impact_spec.rb
|
360
|
-
- spec/models/strategy_order_place_orders_inner_legs_inner_spec.rb
|
361
|
-
- spec/models/strategy_order_place_orders_inner_spec.rb
|
362
|
-
- spec/models/strategy_order_place_spec.rb
|
363
303
|
- spec/models/strategy_order_record_spec.rb
|
364
304
|
- spec/models/strategy_order_record_status_spec.rb
|
365
305
|
- spec/models/strategy_quotes_greek_spec.rb
|
@@ -370,23 +310,19 @@ files:
|
|
370
310
|
- spec/models/symbol_query_spec.rb
|
371
311
|
- spec/models/symbol_spec.rb
|
372
312
|
- spec/models/symbols_quotes_inner_spec.rb
|
373
|
-
- spec/models/target_asset_spec.rb
|
374
313
|
- spec/models/time_in_force_strict_spec.rb
|
375
|
-
- spec/models/trade_action_spec.rb
|
376
|
-
- spec/models/trade_execution_status_action_spec.rb
|
377
|
-
- spec/models/trade_execution_status_spec.rb
|
378
|
-
- spec/models/trade_impact_spec.rb
|
379
|
-
- spec/models/trade_spec.rb
|
380
314
|
- spec/models/trading_cancel_user_account_order_request_spec.rb
|
381
315
|
- spec/models/transactions_status_spec.rb
|
382
316
|
- spec/models/type_spec.rb
|
317
|
+
- spec/models/underlying_symbol_exchange_spec.rb
|
383
318
|
- spec/models/underlying_symbol_spec.rb
|
319
|
+
- spec/models/underlying_symbol_type_spec.rb
|
384
320
|
- spec/models/universal_activity_spec.rb
|
321
|
+
- spec/models/universal_symbol_currency_spec.rb
|
322
|
+
- spec/models/universal_symbol_exchange_spec.rb
|
385
323
|
- spec/models/universal_symbol_spec.rb
|
386
324
|
- spec/models/us_exchange_spec.rb
|
387
|
-
- spec/models/user_error_log_spec.rb
|
388
325
|
- spec/models/user_i_dand_secret_spec.rb
|
389
|
-
- spec/models/user_settings_spec.rb
|
390
326
|
- spec/models/validated_trade_body_spec.rb
|
391
327
|
- spec/spec_helper.rb
|
392
328
|
homepage: https://snaptrade.com/
|
@@ -395,7 +331,7 @@ licenses:
|
|
395
331
|
metadata:
|
396
332
|
documentation_uri: https://github.com/passiv/snaptrade-sdks/tree/master/sdks/ruby
|
397
333
|
source_code_uri: https://github.com/passiv/snaptrade-sdks/tree/master/sdks/ruby
|
398
|
-
post_install_message:
|
334
|
+
post_install_message:
|
399
335
|
rdoc_options: []
|
400
336
|
require_paths:
|
401
337
|
- lib
|
@@ -410,160 +346,128 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
410
346
|
- !ruby/object:Gem::Version
|
411
347
|
version: '0'
|
412
348
|
requirements: []
|
413
|
-
rubygems_version: 3.
|
414
|
-
signing_key:
|
349
|
+
rubygems_version: 3.2.5
|
350
|
+
signing_key:
|
415
351
|
specification_version: 4
|
416
352
|
summary: SnapTrade Ruby Gem
|
417
353
|
test_files:
|
418
|
-
- spec/api/transactions_and_reporting_api_spec.rb
|
419
|
-
- spec/api/options_api_spec.rb
|
420
|
-
- spec/api/authentication_api_spec.rb
|
421
|
-
- spec/api/api_status_api_spec.rb
|
422
|
-
- spec/api/connections_api_spec.rb
|
423
354
|
- spec/api/reference_data_api_spec.rb
|
355
|
+
- spec/api/connections_api_spec.rb
|
356
|
+
- spec/api/api_status_api_spec.rb
|
424
357
|
- spec/api/trading_api_spec.rb
|
425
358
|
- spec/api/account_information_api_spec.rb
|
359
|
+
- spec/api/options_api_spec.rb
|
360
|
+
- spec/api/authentication_api_spec.rb
|
361
|
+
- spec/api/transactions_and_reporting_api_spec.rb
|
426
362
|
- spec/api_client_spec.rb
|
427
363
|
- spec/configuration_spec.rb
|
428
364
|
- spec/getting_started_spec.rb
|
429
|
-
- spec/models/excluded_asset_spec.rb
|
430
|
-
- spec/models/brokerage_type_spec.rb
|
431
365
|
- spec/models/universal_symbol_spec.rb
|
432
|
-
- spec/models/
|
433
|
-
- spec/models/brokerage_authorization_spec.rb
|
434
|
-
- spec/models/balance_spec.rb
|
435
|
-
- spec/models/exchange_spec.rb
|
436
|
-
- spec/models/model403_feature_not_enabled_response_spec.rb
|
437
|
-
- spec/models/brokerage_symbol_spec.rb
|
438
|
-
- spec/models/exchange_rate_pairs_spec.rb
|
439
|
-
- spec/models/user_settings_spec.rb
|
440
|
-
- spec/models/portfolio_group_info_spec.rb
|
441
|
-
- spec/models/brokerage_authorization_disabled_confirmation_spec.rb
|
442
|
-
- spec/models/account_order_record_spec.rb
|
443
|
-
- spec/models/manual_trade_spec.rb
|
444
|
-
- spec/models/model400_failed_request_response_spec.rb
|
445
|
-
- spec/models/strategy_quotes_greek_spec.rb
|
446
|
-
- spec/models/account_spec.rb
|
447
|
-
- spec/models/action_strict_spec.rb
|
448
|
-
- spec/models/net_contributions_spec.rb
|
449
|
-
- spec/models/delete_user_response_spec.rb
|
450
|
-
- spec/models/net_dividend_spec.rb
|
451
|
-
- spec/models/encrypted_response_encrypted_message_data_spec.rb
|
452
|
-
- spec/models/sub_period_return_rate_spec.rb
|
366
|
+
- spec/models/snap_trade_holdings_account_account_id_spec.rb
|
453
367
|
- spec/models/monthly_dividends_spec.rb
|
454
|
-
- spec/models/
|
455
|
-
- spec/models/model402_brokerage_auth_already_disabled_exception_spec.rb
|
456
|
-
- spec/models/account_balance_total_spec.rb
|
457
|
-
- spec/models/strategy_order_place_spec.rb
|
458
|
-
- spec/models/model_asset_class_target_spec.rb
|
459
|
-
- spec/models/validated_trade_body_spec.rb
|
460
|
-
- spec/models/option_strategy_spec.rb
|
461
|
-
- spec/models/strategy_quotes_spec.rb
|
462
|
-
- spec/models/model_asset_class_details_spec.rb
|
463
|
-
- spec/models/manual_trade_and_impact_spec.rb
|
464
|
-
- spec/models/model500_unexpected_exception_response_spec.rb
|
465
|
-
- spec/models/brokerage_authorization_type_read_only_type_spec.rb
|
466
|
-
- spec/models/manual_trade_symbol_spec.rb
|
467
|
-
- spec/models/holdings_status_spec.rb
|
468
|
-
- spec/models/position_spec.rb
|
469
|
-
- spec/models/notional_value_spec.rb
|
470
|
-
- spec/models/trade_action_spec.rb
|
471
|
-
- spec/models/authentication_login_snap_trade_user200_response_spec.rb
|
472
|
-
- spec/models/model_portfolio_details_spec.rb
|
473
|
-
- spec/models/model_asset_class_spec.rb
|
474
|
-
- spec/models/account_holdings_account_spec.rb
|
475
|
-
- spec/models/trading_cancel_user_account_order_request_spec.rb
|
476
|
-
- spec/models/options_position_spec.rb
|
477
|
-
- spec/models/jwt_spec.rb
|
478
|
-
- spec/models/brokerage_spec.rb
|
368
|
+
- spec/models/symbol_query_spec.rb
|
479
369
|
- spec/models/connection_portal_version_spec.rb
|
480
|
-
- spec/models/
|
481
|
-
- spec/models/
|
482
|
-
- spec/models/
|
370
|
+
- spec/models/underlying_symbol_exchange_spec.rb
|
371
|
+
- spec/models/type_spec.rb
|
372
|
+
- spec/models/sub_period_return_rate_spec.rb
|
373
|
+
- spec/models/brokerage_spec.rb
|
374
|
+
- spec/models/snap_trade_holdings_account_account_id_balance_spec.rb
|
375
|
+
- spec/models/underlying_symbol_spec.rb
|
376
|
+
- spec/models/model404_failed_request_response_spec.rb
|
483
377
|
- spec/models/snap_trade_login_user_request_body_spec.rb
|
484
|
-
- spec/models/
|
485
|
-
- spec/models/
|
486
|
-
- spec/models/
|
487
|
-
- spec/models/
|
488
|
-
- spec/models/
|
378
|
+
- spec/models/manual_trade_form_spec.rb
|
379
|
+
- spec/models/option_strategy_legs_inner_spec.rb
|
380
|
+
- spec/models/session_event_type_spec.rb
|
381
|
+
- spec/models/account_holdings_spec.rb
|
382
|
+
- spec/models/exchange_spec.rb
|
383
|
+
- spec/models/transactions_status_spec.rb
|
384
|
+
- spec/models/brokerage_authorization_spec.rb
|
385
|
+
- spec/models/snap_trade_holdings_account_spec.rb
|
386
|
+
- spec/models/options_get_option_strategy_request_spec.rb
|
387
|
+
- spec/models/net_dividend_spec.rb
|
489
388
|
- spec/models/manual_trade_balance_spec.rb
|
490
389
|
- spec/models/session_event_spec.rb
|
491
|
-
- spec/models/
|
492
|
-
- spec/models/
|
493
|
-
- spec/models/
|
494
|
-
- spec/models/
|
495
|
-
- spec/models/redirect_tokenand_pin_spec.rb
|
496
|
-
- spec/models/type_spec.rb
|
497
|
-
- spec/models/model403_failed_request_response_spec.rb
|
498
|
-
- spec/models/amount_spec.rb
|
499
|
-
- spec/models/account_holdings_spec.rb
|
500
|
-
- spec/models/snap_trade_holdings_account_account_id_spec.rb
|
501
|
-
- spec/models/trade_execution_status_action_spec.rb
|
502
|
-
- spec/models/account_sync_status_spec.rb
|
503
|
-
- spec/models/connections_session_events200_response_inner_spec.rb
|
504
|
-
- spec/models/brokerage_symbol_option_symbol_spec.rb
|
505
|
-
- spec/models/auth_type_spec.rb
|
506
|
-
- spec/models/options_position_currency_spec.rb
|
507
|
-
- spec/models/brokerage_authorization_type_spec.rb
|
390
|
+
- spec/models/option_strategy_spec.rb
|
391
|
+
- spec/models/authentication_login_snap_trade_user200_response_spec.rb
|
392
|
+
- spec/models/partner_data_spec.rb
|
393
|
+
- spec/models/account_balance_total_spec.rb
|
508
394
|
- spec/models/option_chain_inner_chain_per_root_inner_chain_per_strike_price_inner_spec.rb
|
509
|
-
- spec/models/
|
510
|
-
- spec/models/
|
511
|
-
- spec/models/
|
512
|
-
- spec/models/
|
513
|
-
- spec/models/
|
395
|
+
- spec/models/options_position_currency_spec.rb
|
396
|
+
- spec/models/universal_activity_spec.rb
|
397
|
+
- spec/models/symbol_figi_instrument_spec.rb
|
398
|
+
- spec/models/action_strict_spec.rb
|
399
|
+
- spec/models/options_position_spec.rb
|
400
|
+
- spec/models/balance_spec.rb
|
401
|
+
- spec/models/strategy_quotes_spec.rb
|
402
|
+
- spec/models/dividend_at_date_spec.rb
|
403
|
+
- spec/models/net_contributions_spec.rb
|
404
|
+
- spec/models/model403_failed_request_response_spec.rb
|
405
|
+
- spec/models/currency_spec.rb
|
406
|
+
- spec/models/strategy_order_record_status_spec.rb
|
407
|
+
- spec/models/option_leg_spec.rb
|
408
|
+
- spec/models/login_redirect_uri_spec.rb
|
514
409
|
- spec/models/status_spec.rb
|
515
|
-
- spec/models/
|
516
|
-
- spec/models/strategy_type_spec.rb
|
517
|
-
- spec/models/figi_instrument_spec.rb
|
518
|
-
- spec/models/order_type_strict_spec.rb
|
410
|
+
- spec/models/account_spec.rb
|
519
411
|
- spec/models/option_leg_action_spec.rb
|
520
|
-
- spec/models/
|
521
|
-
- spec/models/
|
522
|
-
- spec/models/
|
523
|
-
- spec/models/
|
524
|
-
- spec/models/
|
525
|
-
- spec/models/
|
526
|
-
- spec/models/options_place_option_strategy_request_spec.rb
|
527
|
-
- spec/models/account_balance_spec.rb
|
528
|
-
- spec/models/options_get_option_strategy_request_spec.rb
|
529
|
-
- spec/models/currency_spec.rb
|
530
|
-
- spec/models/option_type_spec.rb
|
412
|
+
- spec/models/us_exchange_spec.rb
|
413
|
+
- spec/models/strategy_order_record_spec.rb
|
414
|
+
- spec/models/account_sync_status_spec.rb
|
415
|
+
- spec/models/time_in_force_strict_spec.rb
|
416
|
+
- spec/models/symbol_spec.rb
|
417
|
+
- spec/models/underlying_symbol_type_spec.rb
|
531
418
|
- spec/models/security_type_spec.rb
|
532
|
-
- spec/models/
|
533
|
-
- spec/models/
|
534
|
-
- spec/models/
|
535
|
-
- spec/models/
|
536
|
-
- spec/models/
|
537
|
-
- spec/models/
|
419
|
+
- spec/models/amount_spec.rb
|
420
|
+
- spec/models/account_order_record_option_symbol_spec.rb
|
421
|
+
- spec/models/account_simple_spec.rb
|
422
|
+
- spec/models/symbols_quotes_inner_spec.rb
|
423
|
+
- spec/models/account_balance_spec.rb
|
424
|
+
- spec/models/validated_trade_body_spec.rb
|
538
425
|
- spec/models/brokerage_authorization_refresh_confirmation_spec.rb
|
539
|
-
- spec/models/
|
540
|
-
- spec/models/
|
541
|
-
- spec/models/
|
542
|
-
- spec/models/
|
543
|
-
- spec/models/
|
544
|
-
- spec/models/
|
545
|
-
- spec/models/
|
546
|
-
- spec/models/
|
547
|
-
- spec/models/
|
426
|
+
- spec/models/options_symbol_spec.rb
|
427
|
+
- spec/models/exchange_rate_pairs_spec.rb
|
428
|
+
- spec/models/manual_trade_and_impact_spec.rb
|
429
|
+
- spec/models/auth_type_spec.rb
|
430
|
+
- spec/models/model500_unexpected_exception_response_spec.rb
|
431
|
+
- spec/models/brokerage_authorization_type_read_only_spec.rb
|
432
|
+
- spec/models/manual_trade_symbol_spec.rb
|
433
|
+
- spec/models/user_i_dand_secret_spec.rb
|
434
|
+
- spec/models/model403_feature_not_enabled_response_spec.rb
|
435
|
+
- spec/models/manual_trade_spec.rb
|
436
|
+
- spec/models/universal_symbol_currency_spec.rb
|
437
|
+
- spec/models/account_order_record_spec.rb
|
438
|
+
- spec/models/universal_symbol_exchange_spec.rb
|
439
|
+
- spec/models/trading_cancel_user_account_order_request_spec.rb
|
440
|
+
- spec/models/manual_trade_form_notional_value_spec.rb
|
441
|
+
- spec/models/order_type_strict_spec.rb
|
442
|
+
- spec/models/notional_value_spec.rb
|
443
|
+
- spec/models/brokerage_authorization_disabled_confirmation_spec.rb
|
444
|
+
- spec/models/option_type_spec.rb
|
548
445
|
- spec/models/snap_trade_holdings_total_value_spec.rb
|
549
|
-
- spec/models/
|
550
|
-
- spec/models/
|
551
|
-
- spec/models/
|
552
|
-
- spec/models/
|
553
|
-
- spec/models/
|
554
|
-
- spec/models/
|
555
|
-
- spec/models/
|
556
|
-
- spec/models/
|
446
|
+
- spec/models/model402_brokerage_auth_disabled_response_spec.rb
|
447
|
+
- spec/models/option_chain_inner_chain_per_root_inner_spec.rb
|
448
|
+
- spec/models/options_place_option_strategy_request_spec.rb
|
449
|
+
- spec/models/strategy_quotes_greek_spec.rb
|
450
|
+
- spec/models/position_spec.rb
|
451
|
+
- spec/models/brokerage_authorization_type_read_only_brokerage_spec.rb
|
452
|
+
- spec/models/model402_brokerage_auth_already_disabled_exception_spec.rb
|
453
|
+
- spec/models/option_chain_inner_spec.rb
|
454
|
+
- spec/models/account_order_record_universal_symbol_spec.rb
|
455
|
+
- spec/models/connections_session_events200_response_inner_spec.rb
|
456
|
+
- spec/models/figi_instrument_spec.rb
|
457
|
+
- spec/models/encrypted_response_encrypted_message_data_spec.rb
|
557
458
|
- spec/models/performance_custom_spec.rb
|
558
|
-
- spec/models/snap_trade_holdings_account_spec.rb
|
559
|
-
- spec/models/portfolio_group_spec.rb
|
560
|
-
- spec/models/model_type_spec.rb
|
561
|
-
- spec/models/session_event_type_spec.rb
|
562
|
-
- spec/models/transactions_status_spec.rb
|
563
|
-
- spec/models/brokerage_authorization_type_read_only_spec.rb
|
564
|
-
- spec/models/symbols_quotes_inner_spec.rb
|
565
|
-
- spec/models/dividend_at_date_spec.rb
|
566
|
-
- spec/models/snap_trade_holdings_account_account_id_balance_spec.rb
|
567
459
|
- spec/models/past_value_spec.rb
|
568
|
-
- spec/models/
|
460
|
+
- spec/models/position_symbol_spec.rb
|
461
|
+
- spec/models/encrypted_response_spec.rb
|
462
|
+
- spec/models/account_order_record_status_spec.rb
|
463
|
+
- spec/models/connection_type_spec.rb
|
464
|
+
- spec/models/snap_trade_register_user_request_body_spec.rb
|
465
|
+
- spec/models/delete_user_response_spec.rb
|
466
|
+
- spec/models/strategy_type_spec.rb
|
467
|
+
- spec/models/brokerage_type_spec.rb
|
468
|
+
- spec/models/holdings_status_spec.rb
|
469
|
+
- spec/models/option_brokerage_symbol_spec.rb
|
470
|
+
- spec/models/model401_failed_request_response_spec.rb
|
471
|
+
- spec/models/model400_failed_request_response_spec.rb
|
472
|
+
- spec/models/account_holdings_account_spec.rb
|
569
473
|
- spec/spec_helper.rb
|