snaptrade 2.0.185 → 2.0.186
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.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +52 -2
- data/lib/snaptrade/api/experimental_endpoints_api.rb +141 -0
- data/lib/snaptrade/models/account_order_record_option_symbol.rb +1 -1
- data/lib/snaptrade/models/account_order_record_quote_universal_symbol.rb +1 -1
- data/lib/snaptrade/models/account_order_record_universal_symbol.rb +1 -1
- data/lib/snaptrade/models/account_position.rb +288 -0
- data/lib/snaptrade/models/account_universal_activity_option_symbol.rb +1 -1
- data/lib/snaptrade/models/account_universal_activity_symbol.rb +1 -1
- data/lib/snaptrade/models/all_account_positions_response.rb +262 -0
- data/lib/snaptrade/models/crypto_instrument.rb +311 -0
- data/lib/snaptrade/models/crypto_instrument_kind.rb +36 -0
- data/lib/snaptrade/models/etf_instrument.rb +311 -0
- data/lib/snaptrade/models/etf_instrument_kind.rb +36 -0
- data/lib/snaptrade/models/future_instrument.rb +326 -0
- data/lib/snaptrade/models/future_instrument_kind.rb +36 -0
- data/lib/snaptrade/models/instrument.rb +61 -0
- data/lib/snaptrade/models/kind.rb +36 -0
- data/lib/snaptrade/models/option_instrument.rb +322 -0
- data/lib/snaptrade/models/option_instrument_kind.rb +36 -0
- data/lib/snaptrade/models/options_symbol.rb +1 -1
- data/lib/snaptrade/models/options_symbol_option_type.rb +37 -0
- data/lib/snaptrade/models/other_instrument.rb +311 -0
- data/lib/snaptrade/models/other_instrument_kind.rb +36 -0
- data/lib/snaptrade/models/stock_instrument.rb +311 -0
- data/lib/snaptrade/models/{symbol_figi_instrument.rb → stock_instrument_figi_instrument.rb} +3 -3
- data/lib/snaptrade/models/symbol.rb +1 -1
- data/lib/snaptrade/models/underlying_option_instrument.rb +57 -0
- data/lib/snaptrade/models/underlying_symbol.rb +1 -1
- data/lib/snaptrade/models/universal_symbol.rb +1 -1
- data/lib/snaptrade/version.rb +1 -1
- data/lib/snaptrade.rb +18 -1
- data/spec/api/experimental_endpoints_api_spec.rb +16 -0
- data/spec/models/account_position_spec.rb +65 -0
- data/spec/models/all_account_positions_response_spec.rb +47 -0
- data/spec/models/crypto_instrument_kind_spec.rb +23 -0
- data/spec/models/crypto_instrument_spec.rb +71 -0
- data/spec/models/etf_instrument_kind_spec.rb +23 -0
- data/spec/models/etf_instrument_spec.rb +71 -0
- data/spec/models/future_instrument_kind_spec.rb +23 -0
- data/spec/models/future_instrument_spec.rb +77 -0
- data/spec/models/instrument_spec.rb +38 -0
- data/spec/models/kind_spec.rb +23 -0
- data/spec/models/option_instrument_kind_spec.rb +23 -0
- data/spec/models/option_instrument_spec.rb +71 -0
- data/spec/models/options_symbol_option_type_spec.rb +23 -0
- data/spec/models/other_instrument_kind_spec.rb +23 -0
- data/spec/models/other_instrument_spec.rb +71 -0
- data/spec/models/{symbol_figi_instrument_spec.rb → stock_instrument_figi_instrument_spec.rb} +6 -6
- data/spec/models/stock_instrument_spec.rb +71 -0
- data/spec/models/underlying_option_instrument_spec.rb +38 -0
- metadata +56 -5
|
@@ -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::OptionInstrumentKind
|
|
15
|
+
describe SnapTrade::OptionInstrumentKind do
|
|
16
|
+
let(:instance) { SnapTrade::OptionInstrumentKind.new }
|
|
17
|
+
|
|
18
|
+
describe 'test an instance of OptionInstrumentKind' do
|
|
19
|
+
it 'should create an instance of OptionInstrumentKind' do
|
|
20
|
+
expect(instance).to be_instance_of(SnapTrade::OptionInstrumentKind)
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
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::OptionInstrument
|
|
15
|
+
describe SnapTrade::OptionInstrument do
|
|
16
|
+
let(:instance) { SnapTrade::OptionInstrument.new }
|
|
17
|
+
|
|
18
|
+
describe 'test an instance of OptionInstrument' do
|
|
19
|
+
it 'should create an instance of OptionInstrument' do
|
|
20
|
+
expect(instance).to be_instance_of(SnapTrade::OptionInstrument)
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
describe 'test attribute "kind"' 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 "id"' 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 "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 "option_type"' 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 "strike_price"' 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 "expiration_date"' 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 "description"' 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 "underlying"' 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::OptionsSymbolOptionType
|
|
15
|
+
describe SnapTrade::OptionsSymbolOptionType do
|
|
16
|
+
let(:instance) { SnapTrade::OptionsSymbolOptionType.new }
|
|
17
|
+
|
|
18
|
+
describe 'test an instance of OptionsSymbolOptionType' do
|
|
19
|
+
it 'should create an instance of OptionsSymbolOptionType' do
|
|
20
|
+
expect(instance).to be_instance_of(SnapTrade::OptionsSymbolOptionType)
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
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::OtherInstrumentKind
|
|
15
|
+
describe SnapTrade::OtherInstrumentKind do
|
|
16
|
+
let(:instance) { SnapTrade::OtherInstrumentKind.new }
|
|
17
|
+
|
|
18
|
+
describe 'test an instance of OtherInstrumentKind' do
|
|
19
|
+
it 'should create an instance of OtherInstrumentKind' do
|
|
20
|
+
expect(instance).to be_instance_of(SnapTrade::OtherInstrumentKind)
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
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::OtherInstrument
|
|
15
|
+
describe SnapTrade::OtherInstrument do
|
|
16
|
+
let(:instance) { SnapTrade::OtherInstrument.new }
|
|
17
|
+
|
|
18
|
+
describe 'test an instance of OtherInstrument' do
|
|
19
|
+
it 'should create an instance of OtherInstrument' do
|
|
20
|
+
expect(instance).to be_instance_of(SnapTrade::OtherInstrument)
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
describe 'test attribute "kind"' 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 "id"' 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 "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 "raw_symbol"' 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 "description"' 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 "currency"' 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 "exchange"' 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 "figi_instrument"' 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
|
data/spec/models/{symbol_figi_instrument_spec.rb → stock_instrument_figi_instrument_spec.rb}
RENAMED
|
@@ -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::StockInstrumentFigiInstrument
|
|
15
|
+
describe SnapTrade::StockInstrumentFigiInstrument do
|
|
16
|
+
let(:instance) { SnapTrade::StockInstrumentFigiInstrument.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 StockInstrumentFigiInstrument' do
|
|
19
|
+
it 'should create an instance of StockInstrumentFigiInstrument' do
|
|
20
|
+
expect(instance).to be_instance_of(SnapTrade::StockInstrumentFigiInstrument)
|
|
21
21
|
end
|
|
22
22
|
end
|
|
23
23
|
describe 'test attribute "figi_code"' do
|
|
@@ -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::StockInstrument
|
|
15
|
+
describe SnapTrade::StockInstrument do
|
|
16
|
+
let(:instance) { SnapTrade::StockInstrument.new }
|
|
17
|
+
|
|
18
|
+
describe 'test an instance of StockInstrument' do
|
|
19
|
+
it 'should create an instance of StockInstrument' do
|
|
20
|
+
expect(instance).to be_instance_of(SnapTrade::StockInstrument)
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
describe 'test attribute "kind"' 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 "id"' 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 "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 "raw_symbol"' 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 "description"' 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 "currency"' 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 "exchange"' 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 "figi_instrument"' 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,38 @@
|
|
|
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::UnderlyingOptionInstrument
|
|
15
|
+
describe SnapTrade::UnderlyingOptionInstrument do
|
|
16
|
+
describe '.openapi_one_of' do
|
|
17
|
+
it 'lists the items referenced in the oneOf array' do
|
|
18
|
+
expect(described_class.openapi_one_of).to_not be_empty
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
|
|
22
|
+
describe '.openapi_discriminator_name' do
|
|
23
|
+
it 'returns the value of the "discriminator" property' do
|
|
24
|
+
expect(described_class.openapi_discriminator_name).to_not be_empty
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
|
|
28
|
+
describe '.openapi_discriminator_mapping' do
|
|
29
|
+
it 'returns the key/values of the "mapping" property' do
|
|
30
|
+
expect(described_class.openapi_discriminator_mapping.values.sort).to eq(described_class.openapi_one_of.sort)
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
describe '.build' do
|
|
35
|
+
it 'returns the correct model' do
|
|
36
|
+
end
|
|
37
|
+
end
|
|
38
|
+
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.186
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- SnapTrade
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-04-
|
|
11
|
+
date: 2026-04-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|
|
@@ -116,6 +116,7 @@ files:
|
|
|
116
116
|
- lib/snaptrade/models/account_order_record_universal_symbol.rb
|
|
117
117
|
- lib/snaptrade/models/account_order_record_v2.rb
|
|
118
118
|
- lib/snaptrade/models/account_orders_v2_response.rb
|
|
119
|
+
- lib/snaptrade/models/account_position.rb
|
|
119
120
|
- lib/snaptrade/models/account_simple.rb
|
|
120
121
|
- lib/snaptrade/models/account_status.rb
|
|
121
122
|
- lib/snaptrade/models/account_sync_status.rb
|
|
@@ -127,6 +128,7 @@ files:
|
|
|
127
128
|
- lib/snaptrade/models/account_value_history_response.rb
|
|
128
129
|
- lib/snaptrade/models/action_strict.rb
|
|
129
130
|
- lib/snaptrade/models/action_strict_with_options.rb
|
|
131
|
+
- lib/snaptrade/models/all_account_positions_response.rb
|
|
130
132
|
- lib/snaptrade/models/auth_type.rb
|
|
131
133
|
- lib/snaptrade/models/authentication_login_snap_trade_user200_response.rb
|
|
132
134
|
- lib/snaptrade/models/balance.rb
|
|
@@ -151,6 +153,8 @@ files:
|
|
|
151
153
|
- lib/snaptrade/models/connection_portal_version.rb
|
|
152
154
|
- lib/snaptrade/models/connection_type.rb
|
|
153
155
|
- lib/snaptrade/models/connections_session_events200_response_inner.rb
|
|
156
|
+
- lib/snaptrade/models/crypto_instrument.rb
|
|
157
|
+
- lib/snaptrade/models/crypto_instrument_kind.rb
|
|
154
158
|
- lib/snaptrade/models/crypto_order_form.rb
|
|
155
159
|
- lib/snaptrade/models/crypto_order_form_time_in_force.rb
|
|
156
160
|
- lib/snaptrade/models/crypto_order_form_type.rb
|
|
@@ -166,10 +170,16 @@ files:
|
|
|
166
170
|
- lib/snaptrade/models/dividend_at_date.rb
|
|
167
171
|
- lib/snaptrade/models/encrypted_response.rb
|
|
168
172
|
- lib/snaptrade/models/encrypted_response_encrypted_message_data.rb
|
|
173
|
+
- lib/snaptrade/models/etf_instrument.rb
|
|
174
|
+
- lib/snaptrade/models/etf_instrument_kind.rb
|
|
169
175
|
- lib/snaptrade/models/exchange.rb
|
|
170
176
|
- lib/snaptrade/models/exchange_rate_pairs.rb
|
|
171
177
|
- lib/snaptrade/models/figi_instrument.rb
|
|
178
|
+
- lib/snaptrade/models/future_instrument.rb
|
|
179
|
+
- lib/snaptrade/models/future_instrument_kind.rb
|
|
172
180
|
- lib/snaptrade/models/holdings_status.rb
|
|
181
|
+
- lib/snaptrade/models/instrument.rb
|
|
182
|
+
- lib/snaptrade/models/kind.rb
|
|
173
183
|
- lib/snaptrade/models/login_redirect_uri.rb
|
|
174
184
|
- lib/snaptrade/models/manual_trade.rb
|
|
175
185
|
- lib/snaptrade/models/manual_trade_and_impact.rb
|
|
@@ -209,6 +219,8 @@ files:
|
|
|
209
219
|
- lib/snaptrade/models/option_chain_inner_chain_per_root_inner.rb
|
|
210
220
|
- lib/snaptrade/models/option_chain_inner_chain_per_root_inner_chain_per_strike_price_inner.rb
|
|
211
221
|
- lib/snaptrade/models/option_impact.rb
|
|
222
|
+
- lib/snaptrade/models/option_instrument.rb
|
|
223
|
+
- lib/snaptrade/models/option_instrument_kind.rb
|
|
212
224
|
- lib/snaptrade/models/option_leg.rb
|
|
213
225
|
- lib/snaptrade/models/option_leg_action.rb
|
|
214
226
|
- lib/snaptrade/models/option_quote.rb
|
|
@@ -219,10 +231,13 @@ files:
|
|
|
219
231
|
- lib/snaptrade/models/options_position.rb
|
|
220
232
|
- lib/snaptrade/models/options_position_currency.rb
|
|
221
233
|
- lib/snaptrade/models/options_symbol.rb
|
|
234
|
+
- lib/snaptrade/models/options_symbol_option_type.rb
|
|
222
235
|
- lib/snaptrade/models/order_role.rb
|
|
223
236
|
- lib/snaptrade/models/order_type_strict.rb
|
|
224
237
|
- lib/snaptrade/models/order_updated_response.rb
|
|
225
238
|
- lib/snaptrade/models/order_updated_response_order.rb
|
|
239
|
+
- lib/snaptrade/models/other_instrument.rb
|
|
240
|
+
- lib/snaptrade/models/other_instrument_kind.rb
|
|
226
241
|
- lib/snaptrade/models/paginated_universal_activity.rb
|
|
227
242
|
- lib/snaptrade/models/pagination_details.rb
|
|
228
243
|
- lib/snaptrade/models/partner_data.rb
|
|
@@ -245,6 +260,8 @@ files:
|
|
|
245
260
|
- lib/snaptrade/models/snap_trade_login_user_request_body.rb
|
|
246
261
|
- lib/snaptrade/models/snap_trade_register_user_request_body.rb
|
|
247
262
|
- lib/snaptrade/models/status.rb
|
|
263
|
+
- lib/snaptrade/models/stock_instrument.rb
|
|
264
|
+
- lib/snaptrade/models/stock_instrument_figi_instrument.rb
|
|
248
265
|
- lib/snaptrade/models/stop_loss.rb
|
|
249
266
|
- lib/snaptrade/models/strategy_order_record.rb
|
|
250
267
|
- lib/snaptrade/models/strategy_order_record_status.rb
|
|
@@ -255,7 +272,6 @@ files:
|
|
|
255
272
|
- lib/snaptrade/models/symbol.rb
|
|
256
273
|
- lib/snaptrade/models/symbol_currency.rb
|
|
257
274
|
- lib/snaptrade/models/symbol_exchange.rb
|
|
258
|
-
- lib/snaptrade/models/symbol_figi_instrument.rb
|
|
259
275
|
- lib/snaptrade/models/symbol_query.rb
|
|
260
276
|
- lib/snaptrade/models/symbols_quotes_inner.rb
|
|
261
277
|
- lib/snaptrade/models/take_profit.rb
|
|
@@ -269,6 +285,7 @@ files:
|
|
|
269
285
|
- lib/snaptrade/models/trailing_stop.rb
|
|
270
286
|
- lib/snaptrade/models/transactions_status.rb
|
|
271
287
|
- lib/snaptrade/models/type.rb
|
|
288
|
+
- lib/snaptrade/models/underlying_option_instrument.rb
|
|
272
289
|
- lib/snaptrade/models/underlying_symbol.rb
|
|
273
290
|
- lib/snaptrade/models/underlying_symbol_exchange.rb
|
|
274
291
|
- lib/snaptrade/models/underlying_symbol_type.rb
|
|
@@ -310,6 +327,7 @@ files:
|
|
|
310
327
|
- spec/models/account_order_record_universal_symbol_spec.rb
|
|
311
328
|
- spec/models/account_order_record_v2_spec.rb
|
|
312
329
|
- spec/models/account_orders_v2_response_spec.rb
|
|
330
|
+
- spec/models/account_position_spec.rb
|
|
313
331
|
- spec/models/account_simple_spec.rb
|
|
314
332
|
- spec/models/account_spec.rb
|
|
315
333
|
- spec/models/account_status_spec.rb
|
|
@@ -322,6 +340,7 @@ files:
|
|
|
322
340
|
- spec/models/account_value_history_response_spec.rb
|
|
323
341
|
- spec/models/action_strict_spec.rb
|
|
324
342
|
- spec/models/action_strict_with_options_spec.rb
|
|
343
|
+
- spec/models/all_account_positions_response_spec.rb
|
|
325
344
|
- spec/models/auth_type_spec.rb
|
|
326
345
|
- spec/models/authentication_login_snap_trade_user200_response_spec.rb
|
|
327
346
|
- spec/models/balance_currency_spec.rb
|
|
@@ -346,6 +365,8 @@ files:
|
|
|
346
365
|
- spec/models/connection_portal_version_spec.rb
|
|
347
366
|
- spec/models/connection_type_spec.rb
|
|
348
367
|
- spec/models/connections_session_events200_response_inner_spec.rb
|
|
368
|
+
- spec/models/crypto_instrument_kind_spec.rb
|
|
369
|
+
- spec/models/crypto_instrument_spec.rb
|
|
349
370
|
- spec/models/crypto_order_form_spec.rb
|
|
350
371
|
- spec/models/crypto_order_form_time_in_force_spec.rb
|
|
351
372
|
- spec/models/crypto_order_form_type_spec.rb
|
|
@@ -361,10 +382,16 @@ files:
|
|
|
361
382
|
- spec/models/dividend_at_date_spec.rb
|
|
362
383
|
- spec/models/encrypted_response_encrypted_message_data_spec.rb
|
|
363
384
|
- spec/models/encrypted_response_spec.rb
|
|
385
|
+
- spec/models/etf_instrument_kind_spec.rb
|
|
386
|
+
- spec/models/etf_instrument_spec.rb
|
|
364
387
|
- spec/models/exchange_rate_pairs_spec.rb
|
|
365
388
|
- spec/models/exchange_spec.rb
|
|
366
389
|
- spec/models/figi_instrument_spec.rb
|
|
390
|
+
- spec/models/future_instrument_kind_spec.rb
|
|
391
|
+
- spec/models/future_instrument_spec.rb
|
|
367
392
|
- spec/models/holdings_status_spec.rb
|
|
393
|
+
- spec/models/instrument_spec.rb
|
|
394
|
+
- spec/models/kind_spec.rb
|
|
368
395
|
- spec/models/login_redirect_uri_spec.rb
|
|
369
396
|
- spec/models/manual_trade_and_impact_spec.rb
|
|
370
397
|
- spec/models/manual_trade_balance_spec.rb
|
|
@@ -404,6 +431,8 @@ files:
|
|
|
404
431
|
- spec/models/option_chain_inner_chain_per_root_inner_spec.rb
|
|
405
432
|
- spec/models/option_chain_inner_spec.rb
|
|
406
433
|
- spec/models/option_impact_spec.rb
|
|
434
|
+
- spec/models/option_instrument_kind_spec.rb
|
|
435
|
+
- spec/models/option_instrument_spec.rb
|
|
407
436
|
- spec/models/option_leg_action_spec.rb
|
|
408
437
|
- spec/models/option_leg_spec.rb
|
|
409
438
|
- spec/models/option_quote_greeks_spec.rb
|
|
@@ -413,11 +442,14 @@ files:
|
|
|
413
442
|
- spec/models/option_type_spec.rb
|
|
414
443
|
- spec/models/options_position_currency_spec.rb
|
|
415
444
|
- spec/models/options_position_spec.rb
|
|
445
|
+
- spec/models/options_symbol_option_type_spec.rb
|
|
416
446
|
- spec/models/options_symbol_spec.rb
|
|
417
447
|
- spec/models/order_role_spec.rb
|
|
418
448
|
- spec/models/order_type_strict_spec.rb
|
|
419
449
|
- spec/models/order_updated_response_order_spec.rb
|
|
420
450
|
- spec/models/order_updated_response_spec.rb
|
|
451
|
+
- spec/models/other_instrument_kind_spec.rb
|
|
452
|
+
- spec/models/other_instrument_spec.rb
|
|
421
453
|
- spec/models/paginated_universal_activity_spec.rb
|
|
422
454
|
- spec/models/pagination_details_spec.rb
|
|
423
455
|
- spec/models/partner_data_spec.rb
|
|
@@ -440,6 +472,8 @@ files:
|
|
|
440
472
|
- spec/models/snap_trade_login_user_request_body_spec.rb
|
|
441
473
|
- spec/models/snap_trade_register_user_request_body_spec.rb
|
|
442
474
|
- spec/models/status_spec.rb
|
|
475
|
+
- spec/models/stock_instrument_figi_instrument_spec.rb
|
|
476
|
+
- spec/models/stock_instrument_spec.rb
|
|
443
477
|
- spec/models/stop_loss_spec.rb
|
|
444
478
|
- spec/models/strategy_order_record_spec.rb
|
|
445
479
|
- spec/models/strategy_order_record_status_spec.rb
|
|
@@ -449,7 +483,6 @@ files:
|
|
|
449
483
|
- spec/models/sub_period_return_rate_spec.rb
|
|
450
484
|
- spec/models/symbol_currency_spec.rb
|
|
451
485
|
- spec/models/symbol_exchange_spec.rb
|
|
452
|
-
- spec/models/symbol_figi_instrument_spec.rb
|
|
453
486
|
- spec/models/symbol_query_spec.rb
|
|
454
487
|
- spec/models/symbol_spec.rb
|
|
455
488
|
- spec/models/symbols_quotes_inner_spec.rb
|
|
@@ -464,6 +497,7 @@ files:
|
|
|
464
497
|
- spec/models/trailing_stop_spec.rb
|
|
465
498
|
- spec/models/transactions_status_spec.rb
|
|
466
499
|
- spec/models/type_spec.rb
|
|
500
|
+
- spec/models/underlying_option_instrument_spec.rb
|
|
467
501
|
- spec/models/underlying_symbol_exchange_spec.rb
|
|
468
502
|
- spec/models/underlying_symbol_spec.rb
|
|
469
503
|
- spec/models/underlying_symbol_type_spec.rb
|
|
@@ -516,6 +550,7 @@ test_files:
|
|
|
516
550
|
- spec/models/timeframe_spec.rb
|
|
517
551
|
- spec/models/brokerage_authorization_type_read_only_spec.rb
|
|
518
552
|
- spec/models/authentication_login_snap_trade_user200_response_spec.rb
|
|
553
|
+
- spec/models/stock_instrument_spec.rb
|
|
519
554
|
- spec/models/complex_order_response_spec.rb
|
|
520
555
|
- spec/models/account_balance_total_spec.rb
|
|
521
556
|
- spec/models/position_currency_spec.rb
|
|
@@ -529,6 +564,7 @@ test_files:
|
|
|
529
564
|
- spec/models/account_order_record_status_spec.rb
|
|
530
565
|
- spec/models/session_event_spec.rb
|
|
531
566
|
- spec/models/model403_feature_not_enabled_response_spec.rb
|
|
567
|
+
- spec/models/option_instrument_spec.rb
|
|
532
568
|
- spec/models/transactions_status_spec.rb
|
|
533
569
|
- spec/models/option_type_spec.rb
|
|
534
570
|
- spec/models/manual_trade_impact_spec.rb
|
|
@@ -547,6 +583,7 @@ test_files:
|
|
|
547
583
|
- spec/models/crypto_order_form_time_in_force_spec.rb
|
|
548
584
|
- spec/models/mleg_leg_spec.rb
|
|
549
585
|
- spec/models/strategy_quotes_greek_spec.rb
|
|
586
|
+
- spec/models/all_account_positions_response_spec.rb
|
|
550
587
|
- spec/models/account_information_get_user_account_order_detail_request_spec.rb
|
|
551
588
|
- spec/models/crypto_order_form_type_spec.rb
|
|
552
589
|
- spec/models/delete_user_response_spec.rb
|
|
@@ -562,8 +599,10 @@ test_files:
|
|
|
562
599
|
- spec/models/mleg_order_type_strict_spec.rb
|
|
563
600
|
- spec/models/complex_order_leg_spec.rb
|
|
564
601
|
- spec/models/crypto_order_preview_estimated_fee_spec.rb
|
|
602
|
+
- spec/models/stock_instrument_figi_instrument_spec.rb
|
|
565
603
|
- spec/models/us_exchange_spec.rb
|
|
566
604
|
- spec/models/net_contributions_spec.rb
|
|
605
|
+
- spec/models/future_instrument_kind_spec.rb
|
|
567
606
|
- spec/models/account_spec.rb
|
|
568
607
|
- spec/models/manual_trade_balance_spec.rb
|
|
569
608
|
- spec/models/brokerage_authorization_refresh_confirmation_spec.rb
|
|
@@ -587,10 +626,13 @@ test_files:
|
|
|
587
626
|
- spec/models/monthly_dividends_spec.rb
|
|
588
627
|
- spec/models/option_impact_spec.rb
|
|
589
628
|
- spec/models/validated_trade_body_spec.rb
|
|
629
|
+
- spec/models/kind_spec.rb
|
|
590
630
|
- spec/models/account_sync_status_spec.rb
|
|
591
631
|
- spec/models/simple_order_form_type_spec.rb
|
|
632
|
+
- spec/models/underlying_option_instrument_spec.rb
|
|
592
633
|
- spec/models/trading_search_cryptocurrency_pair_instruments200_response_spec.rb
|
|
593
634
|
- spec/models/mleg_order_response_spec.rb
|
|
635
|
+
- spec/models/etf_instrument_spec.rb
|
|
594
636
|
- spec/models/options_symbol_spec.rb
|
|
595
637
|
- spec/models/connections_session_events200_response_inner_spec.rb
|
|
596
638
|
- spec/models/cryptocurrency_pair_spec.rb
|
|
@@ -608,6 +650,7 @@ test_files:
|
|
|
608
650
|
- spec/models/simple_order_form_spec.rb
|
|
609
651
|
- spec/models/status_spec.rb
|
|
610
652
|
- spec/models/brokerage_type_spec.rb
|
|
653
|
+
- spec/models/other_instrument_spec.rb
|
|
611
654
|
- spec/models/holdings_status_spec.rb
|
|
612
655
|
- spec/models/cash_change_direction_spec.rb
|
|
613
656
|
- spec/models/account_universal_activity_spec.rb
|
|
@@ -622,11 +665,14 @@ test_files:
|
|
|
622
665
|
- spec/models/login_redirect_uri_spec.rb
|
|
623
666
|
- spec/models/snap_trade_login_user_request_body_spec.rb
|
|
624
667
|
- spec/models/recent_orders_response_spec.rb
|
|
668
|
+
- spec/models/crypto_instrument_kind_spec.rb
|
|
625
669
|
- spec/models/symbol_currency_spec.rb
|
|
626
670
|
- spec/models/account_universal_activity_currency_spec.rb
|
|
671
|
+
- spec/models/crypto_instrument_spec.rb
|
|
627
672
|
- spec/models/cancel_order_response_spec.rb
|
|
628
673
|
- spec/models/brokerage_authorization_type_read_only_type_spec.rb
|
|
629
674
|
- spec/models/account_order_record_quote_currency_spec.rb
|
|
675
|
+
- spec/models/other_instrument_kind_spec.rb
|
|
630
676
|
- spec/models/symbol_query_spec.rb
|
|
631
677
|
- spec/models/mleg_trade_form_spec.rb
|
|
632
678
|
- spec/models/dividend_at_date_spec.rb
|
|
@@ -653,10 +699,13 @@ test_files:
|
|
|
653
699
|
- spec/models/connection_type_spec.rb
|
|
654
700
|
- spec/models/symbol_spec.rb
|
|
655
701
|
- spec/models/manual_trade_and_impact_spec.rb
|
|
702
|
+
- spec/models/future_instrument_spec.rb
|
|
656
703
|
- spec/models/tax_lot_spec.rb
|
|
657
704
|
- spec/models/manual_trade_spec.rb
|
|
658
705
|
- spec/models/account_orders_v2_response_spec.rb
|
|
659
706
|
- spec/models/user_i_dand_secret_spec.rb
|
|
707
|
+
- spec/models/options_symbol_option_type_spec.rb
|
|
708
|
+
- spec/models/instrument_spec.rb
|
|
660
709
|
- spec/models/manual_trade_replace_form_spec.rb
|
|
661
710
|
- spec/models/option_leg_spec.rb
|
|
662
711
|
- spec/models/order_updated_response_spec.rb
|
|
@@ -670,10 +719,12 @@ test_files:
|
|
|
670
719
|
- spec/models/account_order_record_quote_universal_symbol_spec.rb
|
|
671
720
|
- spec/models/manual_trade_form_complex_type_spec.rb
|
|
672
721
|
- spec/models/rate_of_return_object_spec.rb
|
|
722
|
+
- spec/models/option_instrument_kind_spec.rb
|
|
673
723
|
- spec/models/model402_brokerage_auth_already_disabled_exception_spec.rb
|
|
674
|
-
- spec/models/
|
|
724
|
+
- spec/models/account_position_spec.rb
|
|
675
725
|
- spec/models/brokerage_instrument_spec.rb
|
|
676
726
|
- spec/models/order_updated_response_order_spec.rb
|
|
727
|
+
- spec/models/etf_instrument_kind_spec.rb
|
|
677
728
|
- spec/models/brokerage_authorization_disabled_confirmation_spec.rb
|
|
678
729
|
- spec/models/brokerage_spec.rb
|
|
679
730
|
- spec/models/crypto_order_preview_spec.rb
|