snaptrade 2.0.195 → 2.0.196

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.
@@ -8,5 +8,5 @@ Contact: api@snaptrade.com
8
8
  =end
9
9
 
10
10
  module SnapTrade
11
- VERSION = '2.0.195'
11
+ VERSION = '2.0.196'
12
12
  end
data/lib/snaptrade.rb CHANGED
@@ -205,6 +205,8 @@ require 'snaptrade/models/take_profit'
205
205
  require 'snaptrade/models/tax_lot'
206
206
  require 'snaptrade/models/time_in_force_strict'
207
207
  require 'snaptrade/models/timeframe'
208
+ require 'snaptrade/models/trade_detection_cancel_subscription_response'
209
+ require 'snaptrade/models/trade_detection_subscription'
208
210
  require 'snaptrade/models/trading_instrument'
209
211
  require 'snaptrade/models/trading_instrument_type'
210
212
  require 'snaptrade/models/trading_search_cryptocurrency_pair_instruments200_response'
@@ -227,7 +229,6 @@ require 'snaptrade/api/account_information_api'
227
229
  require 'snaptrade/api/api_status_api'
228
230
  require 'snaptrade/api/authentication_api'
229
231
  require 'snaptrade/api/connections_api'
230
- require 'snaptrade/api/experimental_endpoints_api'
231
232
  require 'snaptrade/api/options_api'
232
233
  require 'snaptrade/api/reference_data_api'
233
234
  require 'snaptrade/api/trading_api'
@@ -301,7 +302,6 @@ module SnapTrade
301
302
  attr_reader :api_status
302
303
  attr_reader :authentication
303
304
  attr_reader :connections
304
- attr_reader :experimental_endpoints
305
305
  attr_reader :options
306
306
  attr_reader :reference_data
307
307
  attr_reader :trading
@@ -313,7 +313,6 @@ module SnapTrade
313
313
  @api_status = SnapTrade::APIStatusApi.new(@api_client)
314
314
  @authentication = SnapTrade::AuthenticationApi.new(@api_client)
315
315
  @connections = SnapTrade::ConnectionsApi.new(@api_client)
316
- @experimental_endpoints = SnapTrade::ExperimentalEndpointsApi.new(@api_client)
317
316
  @options = SnapTrade::OptionsApi.new(@api_client)
318
317
  @reference_data = SnapTrade::ReferenceDataApi.new(@api_client)
319
318
  @trading = SnapTrade::TradingApi.new(@api_client)
@@ -0,0 +1,29 @@
1
+ =begin
2
+ #SnapTrade
3
+
4
+ #Connect brokerage accounts to your app for live positions and trading
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::TradeDetectionCancelSubscriptionResponse
15
+ describe SnapTrade::TradeDetectionCancelSubscriptionResponse do
16
+ let(:instance) { SnapTrade::TradeDetectionCancelSubscriptionResponse.new }
17
+
18
+ describe 'test an instance of TradeDetectionCancelSubscriptionResponse' do
19
+ it 'should create an instance of TradeDetectionCancelSubscriptionResponse' do
20
+ expect(instance).to be_instance_of(SnapTrade::TradeDetectionCancelSubscriptionResponse)
21
+ end
22
+ end
23
+ describe 'test attribute "success"' 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
+ end
@@ -0,0 +1,41 @@
1
+ =begin
2
+ #SnapTrade
3
+
4
+ #Connect brokerage accounts to your app for live positions and trading
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::TradeDetectionSubscription
15
+ describe SnapTrade::TradeDetectionSubscription do
16
+ let(:instance) { SnapTrade::TradeDetectionSubscription.new }
17
+
18
+ describe 'test an instance of TradeDetectionSubscription' do
19
+ it 'should create an instance of TradeDetectionSubscription' do
20
+ expect(instance).to be_instance_of(SnapTrade::TradeDetectionSubscription)
21
+ end
22
+ end
23
+ describe 'test attribute "account_id"' 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 "cost"' 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 "check_interval_seconds"' 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: 2.0.195
4
+ version: 2.0.196
5
5
  platform: ruby
6
6
  authors:
7
7
  - SnapTrade
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-05-14 00:00:00.000000000 Z
11
+ date: 2026-05-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -87,7 +87,6 @@ files:
87
87
  - lib/snaptrade/api/api_status_api.rb
88
88
  - lib/snaptrade/api/authentication_api.rb
89
89
  - lib/snaptrade/api/connections_api.rb
90
- - lib/snaptrade/api/experimental_endpoints_api.rb
91
90
  - lib/snaptrade/api/options_api.rb
92
91
  - lib/snaptrade/api/reference_data_api.rb
93
92
  - lib/snaptrade/api/trading_api.rb
@@ -285,6 +284,8 @@ files:
285
284
  - lib/snaptrade/models/tax_lot.rb
286
285
  - lib/snaptrade/models/time_in_force_strict.rb
287
286
  - lib/snaptrade/models/timeframe.rb
287
+ - lib/snaptrade/models/trade_detection_cancel_subscription_response.rb
288
+ - lib/snaptrade/models/trade_detection_subscription.rb
288
289
  - lib/snaptrade/models/trading_instrument.rb
289
290
  - lib/snaptrade/models/trading_instrument_type.rb
290
291
  - lib/snaptrade/models/trading_search_cryptocurrency_pair_instruments200_response.rb
@@ -307,7 +308,6 @@ files:
307
308
  - spec/api/api_status_api_spec.rb
308
309
  - spec/api/authentication_api_spec.rb
309
310
  - spec/api/connections_api_spec.rb
310
- - spec/api/experimental_endpoints_api_spec.rb
311
311
  - spec/api/options_api_spec.rb
312
312
  - spec/api/reference_data_api_spec.rb
313
313
  - spec/api/trading_api_spec.rb
@@ -504,6 +504,8 @@ files:
504
504
  - spec/models/tax_lot_spec.rb
505
505
  - spec/models/time_in_force_strict_spec.rb
506
506
  - spec/models/timeframe_spec.rb
507
+ - spec/models/trade_detection_cancel_subscription_response_spec.rb
508
+ - spec/models/trade_detection_subscription_spec.rb
507
509
  - spec/models/trading_instrument_spec.rb
508
510
  - spec/models/trading_instrument_type_spec.rb
509
511
  - spec/models/trading_search_cryptocurrency_pair_instruments200_response_spec.rb
@@ -552,7 +554,6 @@ test_files:
552
554
  - spec/api/trading_api_spec.rb
553
555
  - spec/api/account_information_api_spec.rb
554
556
  - spec/api/reference_data_api_spec.rb
555
- - spec/api/experimental_endpoints_api_spec.rb
556
557
  - spec/api/authentication_api_spec.rb
557
558
  - spec/api/connections_api_spec.rb
558
559
  - spec/api/transactions_and_reporting_api_spec.rb
@@ -572,6 +573,7 @@ test_files:
572
573
  - spec/models/account_status_spec.rb
573
574
  - spec/models/account_universal_activity_currency_spec.rb
574
575
  - spec/models/option_instrument_spec.rb
576
+ - spec/models/trade_detection_subscription_spec.rb
575
577
  - spec/models/account_order_record_trailing_stop_spec.rb
576
578
  - spec/models/symbol_exchange_spec.rb
577
579
  - spec/models/authentication_login_snap_trade_user200_response_spec.rb
@@ -642,6 +644,7 @@ test_files:
642
644
  - spec/models/account_universal_activity_symbol_spec.rb
643
645
  - spec/models/brokerage_authorization_disabled_confirmation_spec.rb
644
646
  - spec/models/simple_order_form_time_in_force_spec.rb
647
+ - spec/models/trade_detection_cancel_subscription_response_spec.rb
645
648
  - spec/models/etf_instrument_spec.rb
646
649
  - spec/models/brokerage_authorization_type_read_only_spec.rb
647
650
  - spec/models/model404_failed_request_response_spec.rb