snaptrade 2.0.144 → 2.0.145

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.
@@ -0,0 +1,53 @@
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::AccountOrderRecordLegInstrument
15
+ describe SnapTrade::AccountOrderRecordLegInstrument do
16
+ let(:instance) { SnapTrade::AccountOrderRecordLegInstrument.new }
17
+
18
+ describe 'test an instance of AccountOrderRecordLegInstrument' do
19
+ it 'should create an instance of AccountOrderRecordLegInstrument' do
20
+ expect(instance).to be_instance_of(SnapTrade::AccountOrderRecordLegInstrument)
21
+ end
22
+ end
23
+ describe 'test attribute "symbol"' 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 "description"' 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 "asset_type"' 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 "exchange_mic_code"' 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 "figi_code"' 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
+ end
@@ -0,0 +1,71 @@
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::AccountOrderRecordLeg
15
+ describe SnapTrade::AccountOrderRecordLeg do
16
+ let(:instance) { SnapTrade::AccountOrderRecordLeg.new }
17
+
18
+ describe 'test an instance of AccountOrderRecordLeg' do
19
+ it 'should create an instance of AccountOrderRecordLeg' do
20
+ expect(instance).to be_instance_of(SnapTrade::AccountOrderRecordLeg)
21
+ end
22
+ end
23
+ describe 'test attribute "leg_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 "instrument"' 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 "action"' 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 "execution_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 "total_quantity"' 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 "canceled_quantity"' 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 "filled_quantity"' 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 "status"' 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
+ end
@@ -0,0 +1,23 @@
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::AccountOrderRecordStatusV2
15
+ describe SnapTrade::AccountOrderRecordStatusV2 do
16
+ let(:instance) { SnapTrade::AccountOrderRecordStatusV2.new }
17
+
18
+ describe 'test an instance of AccountOrderRecordStatusV2' do
19
+ it 'should create an instance of AccountOrderRecordStatusV2' do
20
+ expect(instance).to be_instance_of(SnapTrade::AccountOrderRecordStatusV2)
21
+ end
22
+ end
23
+ end
@@ -0,0 +1,89 @@
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::AccountOrderRecordV2
15
+ describe SnapTrade::AccountOrderRecordV2 do
16
+ let(:instance) { SnapTrade::AccountOrderRecordV2.new }
17
+
18
+ describe 'test an instance of AccountOrderRecordV2' do
19
+ it 'should create an instance of AccountOrderRecordV2' do
20
+ expect(instance).to be_instance_of(SnapTrade::AccountOrderRecordV2)
21
+ end
22
+ end
23
+ describe 'test attribute "brokerage_order_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 "status"' 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 "order_type"' 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 "time_in_force"' 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 "time_placed"' 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 "time_executed"' 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 "quote_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 "execution_price"' 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 "limit_price"' 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 "stop_price"' 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 "legs"' 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
+ end
@@ -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::AccountOrdersV2Response
15
+ describe SnapTrade::AccountOrdersV2Response do
16
+ let(:instance) { SnapTrade::AccountOrdersV2Response.new }
17
+
18
+ describe 'test an instance of AccountOrdersV2Response' do
19
+ it 'should create an instance of AccountOrdersV2Response' do
20
+ expect(instance).to be_instance_of(SnapTrade::AccountOrdersV2Response)
21
+ end
22
+ end
23
+ describe 'test attribute "orders"' 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
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.144
4
+ version: 2.0.145
5
5
  platform: ruby
6
6
  authors:
7
7
  - SnapTrade
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-11-04 00:00:00.000000000 Z
11
+ date: 2025-11-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -87,6 +87,7 @@ 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
90
91
  - lib/snaptrade/api/options_api.rb
91
92
  - lib/snaptrade/api/reference_data_api.rb
92
93
  - lib/snaptrade/api/trading_api.rb
@@ -103,11 +104,16 @@ files:
103
104
  - lib/snaptrade/models/account_information_get_user_account_order_detail_request.rb
104
105
  - lib/snaptrade/models/account_order_record.rb
105
106
  - lib/snaptrade/models/account_order_record_child_brokerage_order_ids.rb
107
+ - lib/snaptrade/models/account_order_record_leg.rb
108
+ - lib/snaptrade/models/account_order_record_leg_instrument.rb
106
109
  - lib/snaptrade/models/account_order_record_option_symbol.rb
107
110
  - lib/snaptrade/models/account_order_record_quote_currency.rb
108
111
  - lib/snaptrade/models/account_order_record_quote_universal_symbol.rb
109
112
  - lib/snaptrade/models/account_order_record_status.rb
113
+ - lib/snaptrade/models/account_order_record_status_v2.rb
110
114
  - lib/snaptrade/models/account_order_record_universal_symbol.rb
115
+ - lib/snaptrade/models/account_order_record_v2.rb
116
+ - lib/snaptrade/models/account_orders_v2_response.rb
111
117
  - lib/snaptrade/models/account_simple.rb
112
118
  - lib/snaptrade/models/account_status.rb
113
119
  - lib/snaptrade/models/account_sync_status.rb
@@ -257,6 +263,7 @@ files:
257
263
  - spec/api/api_status_api_spec.rb
258
264
  - spec/api/authentication_api_spec.rb
259
265
  - spec/api/connections_api_spec.rb
266
+ - spec/api/experimental_endpoints_api_spec.rb
260
267
  - spec/api/options_api_spec.rb
261
268
  - spec/api/reference_data_api_spec.rb
262
269
  - spec/api/trading_api_spec.rb
@@ -270,12 +277,17 @@ files:
270
277
  - spec/models/account_holdings_spec.rb
271
278
  - spec/models/account_information_get_user_account_order_detail_request_spec.rb
272
279
  - spec/models/account_order_record_child_brokerage_order_ids_spec.rb
280
+ - spec/models/account_order_record_leg_instrument_spec.rb
281
+ - spec/models/account_order_record_leg_spec.rb
273
282
  - spec/models/account_order_record_option_symbol_spec.rb
274
283
  - spec/models/account_order_record_quote_currency_spec.rb
275
284
  - spec/models/account_order_record_quote_universal_symbol_spec.rb
276
285
  - spec/models/account_order_record_spec.rb
277
286
  - spec/models/account_order_record_status_spec.rb
287
+ - spec/models/account_order_record_status_v2_spec.rb
278
288
  - spec/models/account_order_record_universal_symbol_spec.rb
289
+ - spec/models/account_order_record_v2_spec.rb
290
+ - spec/models/account_orders_v2_response_spec.rb
279
291
  - spec/models/account_simple_spec.rb
280
292
  - spec/models/account_spec.rb
281
293
  - spec/models/account_status_spec.rb
@@ -450,6 +462,7 @@ test_files:
450
462
  - spec/api/trading_api_spec.rb
451
463
  - spec/api/options_api_spec.rb
452
464
  - spec/api/api_status_api_spec.rb
465
+ - spec/api/experimental_endpoints_api_spec.rb
453
466
  - spec/api/connections_api_spec.rb
454
467
  - spec/api/transactions_and_reporting_api_spec.rb
455
468
  - spec/api/account_information_api_spec.rb
@@ -505,6 +518,7 @@ test_files:
505
518
  - spec/models/timeframe_spec.rb
506
519
  - spec/models/crypto_trading_instrument_type_spec.rb
507
520
  - spec/models/trading_instrument_spec.rb
521
+ - spec/models/account_orders_v2_response_spec.rb
508
522
  - spec/models/order_updated_response_spec.rb
509
523
  - spec/models/partner_data_spec.rb
510
524
  - spec/models/sub_period_return_rate_spec.rb
@@ -536,11 +550,13 @@ test_files:
536
550
  - spec/models/universal_activity_spec.rb
537
551
  - spec/models/session_event_type_spec.rb
538
552
  - spec/models/mleg_leg_spec.rb
553
+ - spec/models/account_order_record_status_v2_spec.rb
539
554
  - spec/models/brokerage_instrument_spec.rb
540
555
  - spec/models/account_sync_status_spec.rb
541
556
  - spec/models/simple_order_form_type_spec.rb
542
557
  - spec/models/past_value_spec.rb
543
558
  - spec/models/time_in_force_strict_spec.rb
559
+ - spec/models/account_order_record_leg_spec.rb
544
560
  - spec/models/authentication_login_snap_trade_user200_response_spec.rb
545
561
  - spec/models/account_order_record_quote_universal_symbol_spec.rb
546
562
  - spec/models/symbol_figi_instrument_spec.rb
@@ -593,6 +609,7 @@ test_files:
593
609
  - spec/models/pagination_details_spec.rb
594
610
  - spec/models/session_event_spec.rb
595
611
  - spec/models/account_holdings_spec.rb
612
+ - spec/models/account_order_record_leg_instrument_spec.rb
596
613
  - spec/models/manual_trade_form_notional_value_spec.rb
597
614
  - spec/models/option_strategy_legs_inner_spec.rb
598
615
  - spec/models/brokerage_authorization_spec.rb
@@ -607,6 +624,7 @@ test_files:
607
624
  - spec/models/account_order_record_spec.rb
608
625
  - spec/models/action_strict_with_options_spec.rb
609
626
  - spec/models/simple_order_form_time_in_force_spec.rb
627
+ - spec/models/account_order_record_v2_spec.rb
610
628
  - spec/models/child_brokerage_order_ids_spec.rb
611
629
  - spec/models/encrypted_response_spec.rb
612
630
  - spec/models/position_symbol_spec.rb