snaptrade 2.0.73 → 2.0.74

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,119 @@
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::AccountUniversalActivity
15
+ describe SnapTrade::AccountUniversalActivity do
16
+ let(:instance) { SnapTrade::AccountUniversalActivity.new }
17
+
18
+ describe 'test an instance of AccountUniversalActivity' do
19
+ it 'should create an instance of AccountUniversalActivity' do
20
+ expect(instance).to be_instance_of(SnapTrade::AccountUniversalActivity)
21
+ end
22
+ end
23
+ describe 'test attribute "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 "symbol"' 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 "option_symbol"' 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
+ describe 'test attribute "price"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ describe 'test attribute "units"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
53
+ describe 'test attribute "amount"' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
59
+ describe 'test attribute "currency"' do
60
+ it 'should work' do
61
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
+ end
63
+ end
64
+
65
+ describe 'test attribute "type"' do
66
+ it 'should work' do
67
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
+ end
69
+ end
70
+
71
+ describe 'test attribute "option_type"' do
72
+ it 'should work' do
73
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
74
+ end
75
+ end
76
+
77
+ describe 'test attribute "description"' do
78
+ it 'should work' do
79
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
80
+ end
81
+ end
82
+
83
+ describe 'test attribute "trade_date"' do
84
+ it 'should work' do
85
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
86
+ end
87
+ end
88
+
89
+ describe 'test attribute "settlement_date"' do
90
+ it 'should work' do
91
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
92
+ end
93
+ end
94
+
95
+ describe 'test attribute "fee"' do
96
+ it 'should work' do
97
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
98
+ end
99
+ end
100
+
101
+ describe 'test attribute "fx_rate"' do
102
+ it 'should work' do
103
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
104
+ end
105
+ end
106
+
107
+ describe 'test attribute "institution"' do
108
+ it 'should work' do
109
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
110
+ end
111
+ end
112
+
113
+ describe 'test attribute "external_reference_id"' do
114
+ it 'should work' do
115
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
116
+ end
117
+ end
118
+
119
+ end
@@ -11,13 +11,13 @@ require 'spec_helper'
11
11
  require 'json'
12
12
  require 'date'
13
13
 
14
- # Unit tests for SnapTrade::UniversalActivitySymbol
15
- describe SnapTrade::UniversalActivitySymbol do
16
- let(:instance) { SnapTrade::UniversalActivitySymbol.new }
14
+ # Unit tests for SnapTrade::AccountUniversalActivitySymbol
15
+ describe SnapTrade::AccountUniversalActivitySymbol do
16
+ let(:instance) { SnapTrade::AccountUniversalActivitySymbol.new }
17
17
 
18
- describe 'test an instance of UniversalActivitySymbol' do
19
- it 'should create an instance of UniversalActivitySymbol' do
20
- expect(instance).to be_instance_of(SnapTrade::UniversalActivitySymbol)
18
+ describe 'test an instance of AccountUniversalActivitySymbol' do
19
+ it 'should create an instance of AccountUniversalActivitySymbol' do
20
+ expect(instance).to be_instance_of(SnapTrade::AccountUniversalActivitySymbol)
21
21
  end
22
22
  end
23
23
  describe 'test attribute "id"' do
@@ -0,0 +1,35 @@
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::PaginatedUniversalActivity
15
+ describe SnapTrade::PaginatedUniversalActivity do
16
+ let(:instance) { SnapTrade::PaginatedUniversalActivity.new }
17
+
18
+ describe 'test an instance of PaginatedUniversalActivity' do
19
+ it 'should create an instance of PaginatedUniversalActivity' do
20
+ expect(instance).to be_instance_of(SnapTrade::PaginatedUniversalActivity)
21
+ end
22
+ end
23
+ describe 'test attribute "data"' 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 "pagination"' 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
+ end
@@ -0,0 +1,35 @@
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::PaginationDetails
15
+ describe SnapTrade::PaginationDetails do
16
+ let(:instance) { SnapTrade::PaginationDetails.new }
17
+
18
+ describe 'test an instance of PaginationDetails' do
19
+ it 'should create an instance of PaginationDetails' do
20
+ expect(instance).to be_instance_of(SnapTrade::PaginationDetails)
21
+ end
22
+ end
23
+ describe 'test attribute "offset"' 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 "limit"' 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
+ 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.73
4
+ version: 2.0.74
5
5
  platform: ruby
6
6
  authors:
7
7
  - SnapTrade
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-01-31 00:00:00.000000000 Z
11
+ date: 2025-02-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -106,6 +106,10 @@ files:
106
106
  - lib/snaptrade/models/account_order_record_universal_symbol.rb
107
107
  - lib/snaptrade/models/account_simple.rb
108
108
  - lib/snaptrade/models/account_sync_status.rb
109
+ - lib/snaptrade/models/account_universal_activity.rb
110
+ - lib/snaptrade/models/account_universal_activity_currency.rb
111
+ - lib/snaptrade/models/account_universal_activity_option_symbol.rb
112
+ - lib/snaptrade/models/account_universal_activity_symbol.rb
109
113
  - lib/snaptrade/models/action_strict.rb
110
114
  - lib/snaptrade/models/action_strict_with_options.rb
111
115
  - lib/snaptrade/models/auth_type.rb
@@ -171,6 +175,8 @@ files:
171
175
  - lib/snaptrade/models/options_symbol.rb
172
176
  - lib/snaptrade/models/order_class.rb
173
177
  - lib/snaptrade/models/order_type_strict.rb
178
+ - lib/snaptrade/models/paginated_universal_activity.rb
179
+ - lib/snaptrade/models/pagination_details.rb
174
180
  - lib/snaptrade/models/partner_data.rb
175
181
  - lib/snaptrade/models/past_value.rb
176
182
  - lib/snaptrade/models/performance_custom.rb
@@ -210,9 +216,6 @@ files:
210
216
  - lib/snaptrade/models/underlying_symbol_exchange.rb
211
217
  - lib/snaptrade/models/underlying_symbol_type.rb
212
218
  - lib/snaptrade/models/universal_activity.rb
213
- - lib/snaptrade/models/universal_activity_currency.rb
214
- - lib/snaptrade/models/universal_activity_option_symbol.rb
215
- - lib/snaptrade/models/universal_activity_symbol.rb
216
219
  - lib/snaptrade/models/universal_symbol.rb
217
220
  - lib/snaptrade/models/us_exchange.rb
218
221
  - lib/snaptrade/models/user_i_dand_secret.rb
@@ -241,6 +244,10 @@ files:
241
244
  - spec/models/account_simple_spec.rb
242
245
  - spec/models/account_spec.rb
243
246
  - spec/models/account_sync_status_spec.rb
247
+ - spec/models/account_universal_activity_currency_spec.rb
248
+ - spec/models/account_universal_activity_option_symbol_spec.rb
249
+ - spec/models/account_universal_activity_spec.rb
250
+ - spec/models/account_universal_activity_symbol_spec.rb
244
251
  - spec/models/action_strict_spec.rb
245
252
  - spec/models/action_strict_with_options_spec.rb
246
253
  - spec/models/auth_type_spec.rb
@@ -306,6 +313,8 @@ files:
306
313
  - spec/models/options_symbol_spec.rb
307
314
  - spec/models/order_class_spec.rb
308
315
  - spec/models/order_type_strict_spec.rb
316
+ - spec/models/paginated_universal_activity_spec.rb
317
+ - spec/models/pagination_details_spec.rb
309
318
  - spec/models/partner_data_spec.rb
310
319
  - spec/models/past_value_spec.rb
311
320
  - spec/models/performance_custom_spec.rb
@@ -344,10 +353,7 @@ files:
344
353
  - spec/models/underlying_symbol_exchange_spec.rb
345
354
  - spec/models/underlying_symbol_spec.rb
346
355
  - spec/models/underlying_symbol_type_spec.rb
347
- - spec/models/universal_activity_currency_spec.rb
348
- - spec/models/universal_activity_option_symbol_spec.rb
349
356
  - spec/models/universal_activity_spec.rb
350
- - spec/models/universal_activity_symbol_spec.rb
351
357
  - spec/models/universal_symbol_spec.rb
352
358
  - spec/models/us_exchange_spec.rb
353
359
  - spec/models/user_i_dand_secret_spec.rb
@@ -400,7 +406,6 @@ test_files:
400
406
  - spec/models/encrypted_response_spec.rb
401
407
  - spec/models/model404_failed_request_response_spec.rb
402
408
  - spec/models/option_strategy_legs_inner_spec.rb
403
- - spec/models/universal_activity_currency_spec.rb
404
409
  - spec/models/position_symbol_spec.rb
405
410
  - spec/models/option_chain_inner_spec.rb
406
411
  - spec/models/brokerage_authorization_type_read_only_brokerage_spec.rb
@@ -432,6 +437,7 @@ test_files:
432
437
  - spec/models/session_event_type_spec.rb
433
438
  - spec/models/option_chain_inner_chain_per_root_inner_spec.rb
434
439
  - spec/models/recent_orders_response_spec.rb
440
+ - spec/models/pagination_details_spec.rb
435
441
  - spec/models/universal_symbol_spec.rb
436
442
  - spec/models/manual_trade_form_with_options_spec.rb
437
443
  - spec/models/delete_user_response_spec.rb
@@ -454,7 +460,6 @@ test_files:
454
460
  - spec/models/account_sync_status_spec.rb
455
461
  - spec/models/account_order_record_universal_symbol_spec.rb
456
462
  - spec/models/symbol_query_spec.rb
457
- - spec/models/universal_activity_option_symbol_spec.rb
458
463
  - spec/models/account_spec.rb
459
464
  - spec/models/model425_failed_request_response_spec.rb
460
465
  - spec/models/strategy_type_spec.rb
@@ -477,22 +482,25 @@ test_files:
477
482
  - spec/models/snap_trade_register_user_request_body_spec.rb
478
483
  - spec/models/option_brokerage_symbol_spec.rb
479
484
  - spec/models/manual_trade_form_notional_value_spec.rb
480
- - spec/models/universal_activity_symbol_spec.rb
481
485
  - spec/models/manual_trade_spec.rb
482
486
  - spec/models/take_profit_spec.rb
487
+ - spec/models/paginated_universal_activity_spec.rb
483
488
  - spec/models/brokerage_authorization_refresh_confirmation_spec.rb
484
489
  - spec/models/net_dividend_spec.rb
485
490
  - spec/models/account_order_record_spec.rb
486
491
  - spec/models/user_i_dand_secret_spec.rb
487
492
  - spec/models/authentication_login_snap_trade_user200_response_spec.rb
493
+ - spec/models/account_universal_activity_symbol_spec.rb
488
494
  - spec/models/account_balance_total_spec.rb
489
495
  - spec/models/exchange_rate_pairs_spec.rb
490
496
  - spec/models/brokerage_authorization_type_read_only_spec.rb
491
497
  - spec/models/options_get_option_strategy_request_spec.rb
492
498
  - spec/models/strategy_quotes_greek_spec.rb
499
+ - spec/models/account_universal_activity_currency_spec.rb
493
500
  - spec/models/monthly_dividends_spec.rb
494
501
  - spec/models/model400_failed_request_response_spec.rb
495
502
  - spec/models/account_holdings_spec.rb
503
+ - spec/models/account_universal_activity_spec.rb
496
504
  - spec/models/brokerage_authorization_disabled_confirmation_spec.rb
497
505
  - spec/models/connections_session_events200_response_inner_spec.rb
498
506
  - spec/models/order_type_strict_spec.rb
@@ -508,6 +516,7 @@ test_files:
508
516
  - spec/models/strategy_order_record_spec.rb
509
517
  - spec/models/manual_trade_form_with_options_stop_loss_spec.rb
510
518
  - spec/models/login_redirect_uri_spec.rb
519
+ - spec/models/account_universal_activity_option_symbol_spec.rb
511
520
  - spec/models/brokerage_authorization_spec.rb
512
521
  - spec/models/underlying_symbol_exchange_spec.rb
513
522
  - spec/models/action_strict_spec.rb