snaptrade 2.0.22 → 2.0.24
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +38 -2
- data/lib/snaptrade/api/connections_api.rb +103 -0
- data/lib/snaptrade/models/amount.rb +1 -1
- data/lib/snaptrade/models/brokerage_authorization_refresh_confirmation.rb +217 -0
- data/lib/snaptrade/models/model402_brokerage_auth_disabled_response.rb +228 -0
- data/lib/snaptrade/models/model403_feature_not_enabled_response.rb +228 -0
- data/lib/snaptrade/models/option_brokerage_symbol.rb +235 -0
- data/lib/snaptrade/models/options_position.rb +1 -1
- data/lib/snaptrade/models/snap_trade_holdings_total_value.rb +1 -1
- data/lib/snaptrade/version.rb +1 -1
- data/lib/snaptrade.rb +4 -0
- data/spec/api/connections_api_spec.rb +14 -0
- data/spec/models/brokerage_authorization_refresh_confirmation_spec.rb +29 -0
- data/spec/models/model402_brokerage_auth_disabled_response_spec.rb +35 -0
- data/spec/models/model403_feature_not_enabled_response_spec.rb +35 -0
- data/spec/models/option_brokerage_symbol_spec.rb +41 -0
- metadata +14 -2
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.24
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- SnapTrade
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-06-
|
11
|
+
date: 2024-06-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -111,6 +111,7 @@ files:
|
|
111
111
|
- lib/snaptrade/models/balance.rb
|
112
112
|
- lib/snaptrade/models/brokerage.rb
|
113
113
|
- lib/snaptrade/models/brokerage_authorization.rb
|
114
|
+
- lib/snaptrade/models/brokerage_authorization_refresh_confirmation.rb
|
114
115
|
- lib/snaptrade/models/brokerage_authorization_type.rb
|
115
116
|
- lib/snaptrade/models/brokerage_authorization_type_read_only.rb
|
116
117
|
- lib/snaptrade/models/brokerage_authorization_type_read_only_brokerage.rb
|
@@ -144,7 +145,9 @@ files:
|
|
144
145
|
- lib/snaptrade/models/manual_trade_symbol.rb
|
145
146
|
- lib/snaptrade/models/model400_failed_request_response.rb
|
146
147
|
- lib/snaptrade/models/model401_failed_request_response.rb
|
148
|
+
- lib/snaptrade/models/model402_brokerage_auth_disabled_response.rb
|
147
149
|
- lib/snaptrade/models/model403_failed_request_response.rb
|
150
|
+
- lib/snaptrade/models/model403_feature_not_enabled_response.rb
|
148
151
|
- lib/snaptrade/models/model404_failed_request_response.rb
|
149
152
|
- lib/snaptrade/models/model500_unexpected_exception_response.rb
|
150
153
|
- lib/snaptrade/models/model_asset_class.rb
|
@@ -159,6 +162,7 @@ files:
|
|
159
162
|
- lib/snaptrade/models/net_contributions.rb
|
160
163
|
- lib/snaptrade/models/net_dividend.rb
|
161
164
|
- lib/snaptrade/models/notional_value.rb
|
165
|
+
- lib/snaptrade/models/option_brokerage_symbol.rb
|
162
166
|
- lib/snaptrade/models/option_chain_inner.rb
|
163
167
|
- lib/snaptrade/models/option_chain_inner_chain_per_root_inner.rb
|
164
168
|
- lib/snaptrade/models/option_chain_inner_chain_per_root_inner_chain_per_strike_price_inner.rb
|
@@ -256,6 +260,7 @@ files:
|
|
256
260
|
- spec/models/auth_type_spec.rb
|
257
261
|
- spec/models/authentication_login_snap_trade_user200_response_spec.rb
|
258
262
|
- spec/models/balance_spec.rb
|
263
|
+
- spec/models/brokerage_authorization_refresh_confirmation_spec.rb
|
259
264
|
- spec/models/brokerage_authorization_spec.rb
|
260
265
|
- spec/models/brokerage_authorization_type_read_only_brokerage_spec.rb
|
261
266
|
- spec/models/brokerage_authorization_type_read_only_spec.rb
|
@@ -291,7 +296,9 @@ files:
|
|
291
296
|
- spec/models/manual_trade_symbol_spec.rb
|
292
297
|
- spec/models/model400_failed_request_response_spec.rb
|
293
298
|
- spec/models/model401_failed_request_response_spec.rb
|
299
|
+
- spec/models/model402_brokerage_auth_disabled_response_spec.rb
|
294
300
|
- spec/models/model403_failed_request_response_spec.rb
|
301
|
+
- spec/models/model403_feature_not_enabled_response_spec.rb
|
295
302
|
- spec/models/model404_failed_request_response_spec.rb
|
296
303
|
- spec/models/model500_unexpected_exception_response_spec.rb
|
297
304
|
- spec/models/model_asset_class_details_spec.rb
|
@@ -306,6 +313,7 @@ files:
|
|
306
313
|
- spec/models/net_contributions_spec.rb
|
307
314
|
- spec/models/net_dividend_spec.rb
|
308
315
|
- spec/models/notional_value_spec.rb
|
316
|
+
- spec/models/option_brokerage_symbol_spec.rb
|
309
317
|
- spec/models/option_chain_inner_chain_per_root_inner_chain_per_strike_price_inner_spec.rb
|
310
318
|
- spec/models/option_chain_inner_chain_per_root_inner_spec.rb
|
311
319
|
- spec/models/option_chain_inner_spec.rb
|
@@ -421,6 +429,7 @@ test_files:
|
|
421
429
|
- spec/models/brokerage_authorization_spec.rb
|
422
430
|
- spec/models/balance_spec.rb
|
423
431
|
- spec/models/exchange_spec.rb
|
432
|
+
- spec/models/model403_feature_not_enabled_response_spec.rb
|
424
433
|
- spec/models/brokerage_symbol_spec.rb
|
425
434
|
- spec/models/exchange_rate_pairs_spec.rb
|
426
435
|
- spec/models/user_settings_spec.rb
|
@@ -463,6 +472,7 @@ test_files:
|
|
463
472
|
- spec/models/connection_portal_version_spec.rb
|
464
473
|
- spec/models/account_order_record_status_spec.rb
|
465
474
|
- spec/models/snap_trade_api_disclaimer_accept_status_spec.rb
|
475
|
+
- spec/models/option_brokerage_symbol_spec.rb
|
466
476
|
- spec/models/snap_trade_login_user_request_body_spec.rb
|
467
477
|
- spec/models/brokerage_authorization_type_type_spec.rb
|
468
478
|
- spec/models/portfolio_group_settings_spec.rb
|
@@ -519,11 +529,13 @@ test_files:
|
|
519
529
|
- spec/models/target_asset_spec.rb
|
520
530
|
- spec/models/user_i_dand_secret_spec.rb
|
521
531
|
- spec/models/strategy_order_place_orders_inner_legs_inner_spec.rb
|
532
|
+
- spec/models/brokerage_authorization_refresh_confirmation_spec.rb
|
522
533
|
- spec/models/us_exchange_spec.rb
|
523
534
|
- spec/models/trade_spec.rb
|
524
535
|
- spec/models/model_portfolio_asset_class_spec.rb
|
525
536
|
- spec/models/option_chain_inner_spec.rb
|
526
537
|
- spec/models/option_leg_spec.rb
|
538
|
+
- spec/models/model402_brokerage_auth_disabled_response_spec.rb
|
527
539
|
- spec/models/model401_failed_request_response_spec.rb
|
528
540
|
- spec/models/brokerage_symbol_symbol_spec.rb
|
529
541
|
- spec/models/partner_data_spec.rb
|