snaptrade 2.0.38 → 2.0.39

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.
@@ -32,37 +32,37 @@ describe SnapTrade::ManualTradeForm do
32
32
  end
33
33
  end
34
34
 
35
- describe 'test attribute "order_type"' do
35
+ describe 'test attribute "universal_symbol_id"' do
36
36
  it 'should work' do
37
37
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
38
  end
39
39
  end
40
40
 
41
- describe 'test attribute "price"' do
41
+ describe 'test attribute "order_type"' do
42
42
  it 'should work' do
43
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
44
  end
45
45
  end
46
46
 
47
- describe 'test attribute "stop"' do
47
+ describe 'test attribute "time_in_force"' do
48
48
  it 'should work' do
49
49
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
50
  end
51
51
  end
52
52
 
53
- describe 'test attribute "time_in_force"' do
53
+ describe 'test attribute "price"' do
54
54
  it 'should work' do
55
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
56
  end
57
57
  end
58
58
 
59
- describe 'test attribute "units"' do
59
+ describe 'test attribute "stop"' do
60
60
  it 'should work' do
61
61
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
62
  end
63
63
  end
64
64
 
65
- describe 'test attribute "universal_symbol_id"' do
65
+ describe 'test attribute "units"' do
66
66
  it 'should work' do
67
67
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
68
  end
@@ -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::ManualTradeImpact
15
+ describe SnapTrade::ManualTradeImpact do
16
+ let(:instance) { SnapTrade::ManualTradeImpact.new }
17
+
18
+ describe 'test an instance of ManualTradeImpact' do
19
+ it 'should create an instance of ManualTradeImpact' do
20
+ expect(instance).to be_instance_of(SnapTrade::ManualTradeImpact)
21
+ end
22
+ end
23
+ describe 'test attribute "account"' 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 "currency"' 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 "remaining_cash"' 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 "estimated_commission"' 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 "forex_fees"' 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
@@ -26,19 +26,19 @@ describe SnapTrade::SymbolsQuotesInner do
26
26
  end
27
27
  end
28
28
 
29
- describe 'test attribute "bid_price"' do
29
+ describe 'test attribute "last_trade_price"' do
30
30
  it 'should work' do
31
31
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
32
32
  end
33
33
  end
34
34
 
35
- describe 'test attribute "ask_price"' do
35
+ describe 'test attribute "bid_price"' do
36
36
  it 'should work' do
37
37
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
38
  end
39
39
  end
40
40
 
41
- describe 'test attribute "last_trade_price"' do
41
+ describe 'test attribute "ask_price"' do
42
42
  it 'should work' do
43
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
44
  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.38
4
+ version: 2.0.39
5
5
  platform: ruby
6
6
  authors:
7
7
  - SnapTrade
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-08-21 00:00:00.000000000 Z
11
+ date: 2024-08-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -136,6 +136,7 @@ files:
136
136
  - lib/snaptrade/models/manual_trade_balance.rb
137
137
  - lib/snaptrade/models/manual_trade_form.rb
138
138
  - lib/snaptrade/models/manual_trade_form_notional_value.rb
139
+ - lib/snaptrade/models/manual_trade_impact.rb
139
140
  - lib/snaptrade/models/manual_trade_symbol.rb
140
141
  - lib/snaptrade/models/model400_failed_request_response.rb
141
142
  - lib/snaptrade/models/model401_failed_request_response.rb
@@ -257,6 +258,7 @@ files:
257
258
  - spec/models/manual_trade_balance_spec.rb
258
259
  - spec/models/manual_trade_form_notional_value_spec.rb
259
260
  - spec/models/manual_trade_form_spec.rb
261
+ - spec/models/manual_trade_impact_spec.rb
260
262
  - spec/models/manual_trade_spec.rb
261
263
  - spec/models/manual_trade_symbol_spec.rb
262
264
  - spec/models/model400_failed_request_response_spec.rb
@@ -425,6 +427,7 @@ test_files:
425
427
  - spec/models/brokerage_authorization_refresh_confirmation_spec.rb
426
428
  - spec/models/options_symbol_spec.rb
427
429
  - spec/models/exchange_rate_pairs_spec.rb
430
+ - spec/models/manual_trade_impact_spec.rb
428
431
  - spec/models/manual_trade_and_impact_spec.rb
429
432
  - spec/models/auth_type_spec.rb
430
433
  - spec/models/model500_unexpected_exception_response_spec.rb