snaptrade 3.0.1 → 3.0.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ea3b85898b5e717b8d3531fb499de9eafe701b469c77d3d4bc4c90968a1f9926
4
- data.tar.gz: 7f4981c4c355759ec089886ff400b82e566cb987dd28e532747c863a8a8a6c04
3
+ metadata.gz: 9eb41837fba388ae89f7ab2fa9aa827af8d8c794f3c73a55e844af9610f580cb
4
+ data.tar.gz: 34b4dbe47256bf59ba913962e86c6ff93c9549398a303e9de5ab3150463c51be
5
5
  SHA512:
6
- metadata.gz: ece1b549b550c66cd3b4fd4e7a416a04252f5f0dcc578729600d18031f47bafe5e698bea5b92f836c41719f72ab174bf98a60b8685a921941227b0693a9d5b52
7
- data.tar.gz: dee3a397f564f22396be356015884d2383112a1180ec6d159baa5c47b8ac216173c954e17cf487f8a9f9678d89bf547b6b4b9429fca57c704f290854b305e369
6
+ metadata.gz: dae2772d34c712eb5849f2f67d604f0a1a71c92bbdda4c2ff8639ccbb344bd07a778683a98d7b1145af06b5de2411464b8603272db4387ff72395ef4f94b7b6f
7
+ data.tar.gz: b12fd9fe328d9ff3f8a590caa0d9bfbbad10e979db80552d640e90613b5894ee218b39a153dd000e9ffa14ff1d0070ce398743526d72465f662c3f64231b1f0e
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- snaptrade (3.0.1)
4
+ snaptrade (3.0.3)
5
5
  faraday (>= 1.0.1, < 3.0)
6
6
  faraday-multipart (~> 1.0, >= 1.0.4)
7
7
 
data/README.md CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  Connect brokerage accounts to your app for live positions and trading
8
8
 
9
- [![npm](https://img.shields.io/badge/gem-v3.0.1-blue)](https://rubygems.org/gems/snaptrade/versions/3.0.1)
9
+ [![npm](https://img.shields.io/badge/gem-v3.0.3-blue)](https://rubygems.org/gems/snaptrade/versions/3.0.3)
10
10
  [![More Info](https://img.shields.io/badge/More%20Info-Click%20Here-orange)](https://snaptrade.com/)
11
11
 
12
12
  </div>
@@ -82,7 +82,7 @@ Connect brokerage accounts to your app for live positions and trading
82
82
  Add to Gemfile:
83
83
 
84
84
  ```ruby
85
- gem 'snaptrade', '~> 3.0.1'
85
+ gem 'snaptrade', '~> 3.0.3'
86
86
  ```
87
87
 
88
88
  ## Getting Started<a id="getting-started"></a>
@@ -1823,7 +1823,9 @@ immediately will be canceled.
1823
1823
  ##### user_secret: `String`<a id="user_secret-string"></a>
1824
1824
  ##### account_id: `String`<a id="account_id-string"></a>
1825
1825
  ##### limit_price: `Float`<a id="limit_price-float"></a>
1826
- The limit price. Required if the order type is `LIMIT`, `STOP_LOSS_LIMIT`.
1826
+ The limit price. Required if the order type is `LIMIT`, `STOP_LOSS_LIMIT`,
1827
+ unless `price_effect` is `EVEN` - a net-even order is implicitly priced at 0, so
1828
+ the field may be omitted and must be `0` if sent.
1827
1829
 
1828
1830
  ##### stop_price: `Float`<a id="stop_price-float"></a>
1829
1831
  The stop price. Required if the order type is `STOP_LOSS_MARKET`,
@@ -1919,10 +1921,13 @@ The price at which a stop order is triggered for `Stop` and `StopLimit` orders.
1919
1921
 
1920
1922
 
1921
1923
  ### `snaptrade.trading.get_user_account_option_quotes`<a id="snaptradetradingget_user_account_option_quotes"></a>
1924
+ ![Deprecated](https://img.shields.io/badge/deprecated-yellow)
1922
1925
 
1923
1926
  Returns a quote for a single option contract. The option contract is specified using in the 21 character OCC format. For example `AAPL 251114C00240000` represents a call option on AAPL expiring on 2025-11-14 with a strike price of $240. For more information on the OCC format, see [here](https://en.wikipedia.org/wiki/Option_symbol#OCC_format)
1924
1927
  **Note:** These are derived values and are not suitable for trading purposes.
1925
1928
 
1929
+ **This Endpoint is deprecated and will cease to return data as of October 1, 2026**
1930
+
1926
1931
 
1927
1932
  #### 🛠️ Usage<a id="🛠️-usage"></a>
1928
1933
 
@@ -2322,7 +2327,9 @@ immediately will be canceled.
2322
2327
  ##### user_secret: `String`<a id="user_secret-string"></a>
2323
2328
  ##### account_id: `String`<a id="account_id-string"></a>
2324
2329
  ##### limit_price: `Float`<a id="limit_price-float"></a>
2325
- The limit price. Required if the order type is `LIMIT`, `STOP_LOSS_LIMIT`.
2330
+ The limit price. Required if the order type is `LIMIT`, `STOP_LOSS_LIMIT`,
2331
+ unless `price_effect` is `EVEN` - a net-even order is implicitly priced at 0, so
2332
+ the field may be omitted and must be `0` if sent.
2326
2333
 
2327
2334
  ##### stop_price: `Float`<a id="stop_price-float"></a>
2328
2335
  The stop price. Required if the order type is `STOP_LOSS_MARKET`,
@@ -263,7 +263,7 @@ module SnapTrade
263
263
  # @param user_id [String]
264
264
  # @param user_secret [String]
265
265
  # @param account_id [String]
266
- # @param limit_price [Float] The limit price. Required if the order type is `LIMIT`, `STOP_LOSS_LIMIT`.
266
+ # @param limit_price [Float] The limit price. Required if the order type is `LIMIT`, `STOP_LOSS_LIMIT`, unless `price_effect` is `EVEN` - a net-even order is implicitly priced at 0, so the field may be omitted and must be `0` if sent.
267
267
  # @param stop_price [Float] The stop price. Required if the order type is `STOP_LOSS_MARKET`, `STOP_LOSS_LIMIT`.
268
268
  # @param price_effect [MlegPriceEffectStrict]
269
269
  # @param body [MlegTradeForm]
@@ -292,7 +292,7 @@ module SnapTrade
292
292
  # @param user_id [String]
293
293
  # @param user_secret [String]
294
294
  # @param account_id [String]
295
- # @param limit_price [Float] The limit price. Required if the order type is `LIMIT`, `STOP_LOSS_LIMIT`.
295
+ # @param limit_price [Float] The limit price. Required if the order type is `LIMIT`, `STOP_LOSS_LIMIT`, unless `price_effect` is `EVEN` - a net-even order is implicitly priced at 0, so the field may be omitted and must be `0` if sent.
296
296
  # @param stop_price [Float] The stop price. Required if the order type is `STOP_LOSS_MARKET`, `STOP_LOSS_LIMIT`.
297
297
  # @param price_effect [MlegPriceEffectStrict]
298
298
  # @param body [MlegTradeForm]
@@ -550,6 +550,8 @@ module SnapTrade
550
550
  #
551
551
  # Returns a quote for a single option contract. The option contract is specified using in the 21 character OCC format. For example `AAPL 251114C00240000` represents a call option on AAPL expiring on 2025-11-14 with a strike price of $240. For more information on the OCC format, see [here](https://en.wikipedia.org/wiki/Option_symbol#OCC_format)
552
552
  # **Note:** These are derived values and are not suitable for trading purposes.
553
+ #
554
+ # **This Endpoint is deprecated and will cease to return data as of October 1, 2026**
553
555
  #
554
556
  # @param user_id [String]
555
557
  # @param user_secret [String]
@@ -565,6 +567,8 @@ module SnapTrade
565
567
  #
566
568
  # Returns a quote for a single option contract. The option contract is specified using in the 21 character OCC format. For example `AAPL 251114C00240000` represents a call option on AAPL expiring on 2025-11-14 with a strike price of $240. For more information on the OCC format, see [here](https://en.wikipedia.org/wiki/Option_symbol#OCC_format)
567
569
  # **Note:** These are derived values and are not suitable for trading purposes.
570
+ #
571
+ # **This Endpoint is deprecated and will cease to return data as of October 1, 2026**
568
572
  #
569
573
  # @param user_id [String]
570
574
  # @param user_secret [String]
@@ -576,7 +580,7 @@ module SnapTrade
576
580
  end
577
581
 
578
582
  # Get option quote
579
- # Returns a quote for a single option contract. The option contract is specified using in the 21 character OCC format. For example `AAPL 251114C00240000` represents a call option on AAPL expiring on 2025-11-14 with a strike price of $240. For more information on the OCC format, see [here](https://en.wikipedia.org/wiki/Option_symbol#OCC_format) **Note:** These are derived values and are not suitable for trading purposes.
583
+ # Returns a quote for a single option contract. The option contract is specified using in the 21 character OCC format. For example `AAPL 251114C00240000` represents a call option on AAPL expiring on 2025-11-14 with a strike price of $240. For more information on the OCC format, see [here](https://en.wikipedia.org/wiki/Option_symbol#OCC_format) **Note:** These are derived values and are not suitable for trading purposes. **This Endpoint is deprecated and will cease to return data as of October 1, 2026**
580
584
  # @param user_id [String]
581
585
  # @param user_secret [String]
582
586
  # @param account_id [String]
@@ -589,7 +593,7 @@ module SnapTrade
589
593
  end
590
594
 
591
595
  # Get option quote
592
- # Returns a quote for a single option contract. The option contract is specified using in the 21 character OCC format. For example &#x60;AAPL 251114C00240000&#x60; represents a call option on AAPL expiring on 2025-11-14 with a strike price of $240. For more information on the OCC format, see [here](https://en.wikipedia.org/wiki/Option_symbol#OCC_format) **Note:** These are derived values and are not suitable for trading purposes.
596
+ # Returns a quote for a single option contract. The option contract is specified using in the 21 character OCC format. For example &#x60;AAPL 251114C00240000&#x60; represents a call option on AAPL expiring on 2025-11-14 with a strike price of $240. For more information on the OCC format, see [here](https://en.wikipedia.org/wiki/Option_symbol#OCC_format) **Note:** These are derived values and are not suitable for trading purposes. **This Endpoint is deprecated and will cease to return data as of October 1, 2026**
593
597
  # @param user_id [String]
594
598
  # @param user_secret [String]
595
599
  # @param account_id [String]
@@ -1275,7 +1279,7 @@ module SnapTrade
1275
1279
  # @param user_id [String]
1276
1280
  # @param user_secret [String]
1277
1281
  # @param account_id [String]
1278
- # @param limit_price [Float] The limit price. Required if the order type is `LIMIT`, `STOP_LOSS_LIMIT`.
1282
+ # @param limit_price [Float] The limit price. Required if the order type is `LIMIT`, `STOP_LOSS_LIMIT`, unless `price_effect` is `EVEN` - a net-even order is implicitly priced at 0, so the field may be omitted and must be `0` if sent.
1279
1283
  # @param stop_price [Float] The stop price. Required if the order type is `STOP_LOSS_MARKET`, `STOP_LOSS_LIMIT`.
1280
1284
  # @param price_effect [MlegPriceEffectStrict]
1281
1285
  # @param body [MlegTradeForm]
@@ -1303,7 +1307,7 @@ module SnapTrade
1303
1307
  # @param user_id [String]
1304
1308
  # @param user_secret [String]
1305
1309
  # @param account_id [String]
1306
- # @param limit_price [Float] The limit price. Required if the order type is `LIMIT`, `STOP_LOSS_LIMIT`.
1310
+ # @param limit_price [Float] The limit price. Required if the order type is `LIMIT`, `STOP_LOSS_LIMIT`, unless `price_effect` is `EVEN` - a net-even order is implicitly priced at 0, so the field may be omitted and must be `0` if sent.
1307
1311
  # @param stop_price [Float] The stop price. Required if the order type is `STOP_LOSS_MARKET`, `STOP_LOSS_LIMIT`.
1308
1312
  # @param price_effect [MlegPriceEffectStrict]
1309
1313
  # @param body [MlegTradeForm]
@@ -34,10 +34,10 @@ module SnapTrade
34
34
  # Timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format indicating when the account was created in SnapTrade. This is _not_ the account opening date at the brokerage.
35
35
  attr_accessor :created_date
36
36
 
37
- # Timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format indicating when the account was funded.
37
+ # Timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format indicating when the account was funded. Only populated for brokerages that expose this data (Tastytrade, eToro, moomoo, Public, and Unlok); `null` for all other brokerages.
38
38
  attr_accessor :funding_date
39
39
 
40
- # Timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format indicating when the account was opened at the brokerage.
40
+ # Timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format indicating when the account was opened at the brokerage. Only populated for brokerages that expose this data (Tastytrade, eToro, moomoo, Public, and Unlok); `null` for all other brokerages.
41
41
  attr_accessor :opening_date
42
42
 
43
43
  attr_accessor :sync_status
@@ -34,7 +34,7 @@ module SnapTrade
34
34
  # Unique identifier for the institution (brokerage) that holds the account.
35
35
  attr_accessor :institution_id
36
36
 
37
- # Timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format indicating when the account was opened at the brokerage.
37
+ # Timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format indicating when the account was opened at the brokerage. Only populated for brokerages that expose this data (Tastytrade, eToro, moomoo, Public, and Unlok); `null` for all other brokerages.
38
38
  attr_accessor :opening_date
39
39
 
40
40
  attr_accessor :sync_status
@@ -42,7 +42,7 @@ module SnapTrade
42
42
  # The account type as provided by the brokerage.
43
43
  attr_accessor :raw_type
44
44
 
45
- # Timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format indicating when the account was funded.
45
+ # Timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format indicating when the account was funded. Only populated for brokerages that expose this data (Tastytrade, eToro, moomoo, Public, and Unlok); `null` for all other brokerages.
46
46
  attr_accessor :funding_date
47
47
 
48
48
  # Indicates whether the account is a paper (simulated) trading account.
@@ -19,7 +19,7 @@ module SnapTrade
19
19
  # The Time in Force type for the order. This field indicates how long the order will remain active before it is executed or expires. Here are the supported values: - `Day` - Day. The order is valid only for the trading day on which it is placed. - `GTC` - Good Til Canceled. The order is valid until it is executed or canceled. - `FOK` - Fill Or Kill. The order must be executed in its entirety immediately or be canceled completely. - `IOC` - Immediate Or Cancel. The order must be executed immediately. Any portion of the order that cannot be filled immediately will be canceled.
20
20
  attr_accessor :time_in_force
21
21
 
22
- # The limit price. Required if the order type is `LIMIT`, `STOP_LOSS_LIMIT`.
22
+ # The limit price. Required if the order type is `LIMIT`, `STOP_LOSS_LIMIT`, unless `price_effect` is `EVEN` - a net-even order is implicitly priced at 0, so the field may be omitted and must be `0` if sent.
23
23
  attr_accessor :limit_price
24
24
 
25
25
  # The stop price. Required if the order type is `STOP_LOSS_MARKET`, `STOP_LOSS_LIMIT`.
@@ -8,5 +8,5 @@ Contact: api@snaptrade.com
8
8
  =end
9
9
 
10
10
  module SnapTrade
11
- VERSION = '3.0.1'
11
+ VERSION = '3.0.3'
12
12
  end
@@ -88,7 +88,7 @@ describe 'TradingApi' do
88
88
 
89
89
  # unit tests for get_user_account_option_quotes
90
90
  # Get option quote
91
- # Returns a quote for a single option contract. The option contract is specified using in the 21 character OCC format. For example &#x60;AAPL 251114C00240000&#x60; represents a call option on AAPL expiring on 2025-11-14 with a strike price of $240. For more information on the OCC format, see [here](https://en.wikipedia.org/wiki/Option_symbol#OCC_format) **Note:** These are derived values and are not suitable for trading purposes.
91
+ # Returns a quote for a single option contract. The option contract is specified using in the 21 character OCC format. For example &#x60;AAPL 251114C00240000&#x60; represents a call option on AAPL expiring on 2025-11-14 with a strike price of $240. For more information on the OCC format, see [here](https://en.wikipedia.org/wiki/Option_symbol#OCC_format) **Note:** These are derived values and are not suitable for trading purposes. **This Endpoint is deprecated and will cease to return data as of October 1, 2026**
92
92
  # @param user_id
93
93
  # @param user_secret
94
94
  # @param account_id
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: 3.0.1
4
+ version: 3.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - SnapTrade
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-08-11 00:00:00.000000000 Z
11
+ date: 2026-08-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -577,236 +577,236 @@ signing_key:
577
577
  specification_version: 4
578
578
  summary: SnapTrade Ruby Gem
579
579
  test_files:
580
- - spec/api/reference_data_api_spec.rb
581
- - spec/api/trading_api_spec.rb
582
580
  - spec/api/authentication_api_spec.rb
583
- - spec/api/account_information_api_spec.rb
584
- - spec/api/experimental_endpoints_api_spec.rb
585
581
  - spec/api/connections_api_spec.rb
582
+ - spec/api/reference_data_api_spec.rb
583
+ - spec/api/account_information_api_spec.rb
586
584
  - spec/api/api_status_api_spec.rb
585
+ - spec/api/experimental_endpoints_api_spec.rb
586
+ - spec/api/trading_api_spec.rb
587
587
  - spec/api_client_spec.rb
588
588
  - spec/configuration_spec.rb
589
589
  - spec/getting_started_spec.rb
590
- - spec/models/option_leg_spec.rb
591
- - spec/models/stock_instrument_figi_instrument_spec.rb
592
- - spec/models/option_quote_spec.rb
593
- - spec/models/option_strategy_spec.rb
594
- - spec/models/brokerage_spec.rb
595
- - spec/models/etf_instrument_spec.rb
596
- - spec/models/monthly_dividends_spec.rb
597
- - spec/models/manual_trade_impact_spec.rb
598
- - spec/models/crypto_order_preview_spec.rb
599
- - spec/models/figi_instrument_spec.rb
590
+ - spec/models/mleg_action_strict_spec.rb
600
591
  - spec/models/adr_instrument_spec.rb
601
- - spec/models/manual_trade_form_bracket_spec.rb
602
- - spec/models/model401_failed_request_response_spec.rb
603
- - spec/models/connection_account_spec.rb
592
+ - spec/models/connection_portal_version_spec.rb
593
+ - spec/models/balance_spec.rb
594
+ - spec/models/account_universal_activity_currency_spec.rb
595
+ - spec/models/cryptocurrency_pair_quote_spec.rb
596
+ - spec/models/rate_of_return_response_spec.rb
597
+ - spec/models/session_event_spec.rb
598
+ - spec/models/account_order_record_status_spec.rb
599
+ - spec/models/account_order_record_leg_spec.rb
600
+ - spec/models/connection_type_spec.rb
601
+ - spec/models/paginated_universal_activity_spec.rb
604
602
  - spec/models/model503_brokerage_request_response_spec.rb
605
- - spec/models/etf_instrument_kind_spec.rb
606
- - spec/models/model404_failed_request_response_spec.rb
607
- - spec/models/underlying_symbol_spec.rb
608
- - spec/models/account_balance_spec.rb
609
- - spec/models/crypto_order_form_type_spec.rb
610
- - spec/models/snap_trade_holdings_total_value_spec.rb
611
- - spec/models/snap_trade_login_user_request_body_spec.rb
612
- - spec/models/mleg_action_strict_spec.rb
613
- - spec/models/model425_failed_request_response_spec.rb
614
- - spec/models/universal_symbol_spec.rb
615
- - spec/models/manual_trade_form_notional_value_spec.rb
616
- - spec/models/other_instrument_kind_spec.rb
617
- - spec/models/crypto_order_preview_estimated_fee_spec.rb
618
- - spec/models/rate_of_return_object_spec.rb
619
- - spec/models/account_order_record_trailing_stop_spec.rb
603
+ - spec/models/mutual_fund_instrument_spec.rb
620
604
  - spec/models/symbol_spec.rb
621
- - spec/models/option_chain_inner_chain_per_root_inner_spec.rb
622
- - spec/models/type_spec.rb
623
- - spec/models/pagination_details_spec.rb
624
- - spec/models/trading_instrument_spec.rb
625
- - spec/models/session_event_type_spec.rb
605
+ - spec/models/rate_of_return_object_spec.rb
606
+ - spec/models/account_order_record_child_brokerage_order_ids_spec.rb
607
+ - spec/models/cash_change_direction_spec.rb
608
+ - spec/models/model402_brokerage_auth_already_disabled_exception_spec.rb
626
609
  - spec/models/option_chain_inner_chain_per_root_inner_chain_per_strike_price_inner_spec.rb
627
- - spec/models/action_strict_with_options_spec.rb
628
- - spec/models/order_role_spec.rb
629
- - spec/models/all_account_positions_response_data_freshness_spec.rb
630
- - spec/models/user_i_dand_secret_spec.rb
631
- - spec/models/account_universal_activity_symbol_spec.rb
632
- - spec/models/instrument_spec.rb
633
- - spec/models/holdings_status_spec.rb
634
- - spec/models/performance_custom_spec.rb
635
- - spec/models/mutual_fund_instrument_kind_spec.rb
636
- - spec/models/strategy_order_record_spec.rb
637
- - spec/models/account_order_record_v2_spec.rb
638
- - spec/models/strategy_quotes_spec.rb
639
- - spec/models/connection_account_sync_status_spec.rb
640
- - spec/models/exchange_rate_pairs_spec.rb
641
- - spec/models/brokerage_authorization_type_read_only_type_spec.rb
642
- - spec/models/simple_order_form_type_spec.rb
643
- - spec/models/brokerage_instruments_response_spec.rb
644
- - spec/models/future_instrument_kind_spec.rb
645
- - spec/models/cryptocurrency_pair_spec.rb
646
- - spec/models/account_universal_activity_spec.rb
647
- - spec/models/us_exchange_spec.rb
648
- - spec/models/manual_trade_form_complex_type_spec.rb
649
- - spec/models/order_updated_response_spec.rb
650
- - spec/models/model501_not_implemented_response_spec.rb
651
- - spec/models/manual_trade_spec.rb
652
- - spec/models/account_order_record_status_v2_spec.rb
653
- - spec/models/mutual_fund_instrument_spec.rb
654
- - spec/models/delete_user_response_spec.rb
655
- - spec/models/connection_portal_version_spec.rb
656
- - spec/models/stop_loss_spec.rb
657
- - spec/models/brokerage_type_spec.rb
658
- - spec/models/underlying_cfd_instrument_spec.rb
659
- - spec/models/paginated_universal_activity_spec.rb
660
- - spec/models/trade_detection_cancel_subscription_request_spec.rb
661
- - spec/models/past_value_spec.rb
662
- - spec/models/option_strategy_legs_inner_spec.rb
663
- - spec/models/symbol_exchange_spec.rb
664
- - spec/models/complex_order_leg_spec.rb
665
610
  - spec/models/crypto_trading_instrument_spec.rb
666
- - spec/models/option_chain_inner_spec.rb
611
+ - spec/models/recent_orders_response_spec.rb
612
+ - spec/models/cancel_order_response_spec.rb
613
+ - spec/models/option_impact_spec.rb
614
+ - spec/models/past_value_spec.rb
615
+ - spec/models/account_position_spec.rb
616
+ - spec/models/stock_instrument_spec.rb
617
+ - spec/models/account_order_record_trailing_stop_spec.rb
618
+ - spec/models/net_contributions_spec.rb
667
619
  - spec/models/complex_order_response_type_spec.rb
668
- - spec/models/trading_instrument_type_spec.rb
620
+ - spec/models/order_updated_response_spec.rb
621
+ - spec/models/account_order_record_v2_spec.rb
622
+ - spec/models/action_strict_spec.rb
623
+ - spec/models/stop_loss_spec.rb
669
624
  - spec/models/account_value_history_response_spec.rb
670
- - spec/models/net_dividend_spec.rb
671
- - spec/models/all_account_positions_response_spec.rb
672
- - spec/models/sub_period_return_rate_spec.rb
673
- - spec/models/strategy_type_spec.rb
674
- - spec/models/account_universal_activity_currency_spec.rb
675
- - spec/models/symbol_currency_spec.rb
676
- - spec/models/option_impact_spec.rb
677
- - spec/models/brokerage_authorization_refresh_confirmation_spec.rb
678
- - spec/models/auth_type_spec.rb
679
- - spec/models/brokerage_authorization_type_read_only_brokerage_spec.rb
680
- - spec/models/account_order_record_child_brokerage_order_ids_spec.rb
625
+ - spec/models/other_instrument_spec.rb
681
626
  - spec/models/transactions_status_spec.rb
682
- - spec/models/trailing_stop_spec.rb
683
- - spec/models/account_category_spec.rb
684
- - spec/models/symbols_quotes_inner_spec.rb
685
- - spec/models/mleg_leg_spec.rb
686
- - spec/models/strategy_order_record_status_spec.rb
687
- - spec/models/recent_orders_response_spec.rb
688
- - spec/models/manual_trade_symbol_spec.rb
627
+ - spec/models/brokerage_authorization_type_read_only_brokerage_spec.rb
628
+ - spec/models/option_strategy_legs_inner_spec.rb
629
+ - spec/models/option_quote_greeks_spec.rb
630
+ - spec/models/investment_account_spec.rb
631
+ - spec/models/manual_trade_replace_form_spec.rb
632
+ - spec/models/brokerage_authorization_type_read_only_type_spec.rb
633
+ - spec/models/instrument_spec.rb
634
+ - spec/models/account_order_record_leg_instrument_spec.rb
635
+ - spec/models/manual_trade_form_bracket_spec.rb
636
+ - spec/models/user_i_dand_secret_spec.rb
637
+ - spec/models/account_balance_spec.rb
689
638
  - spec/models/crypto_trading_instrument_type_spec.rb
639
+ - spec/models/brokerage_authorization_refresh_confirmation_spec.rb
640
+ - spec/models/snap_trade_holdings_total_value_spec.rb
641
+ - spec/models/manual_trade_form_with_options_spec.rb
642
+ - spec/models/balance_currency_spec.rb
643
+ - spec/models/account_order_record_quote_universal_symbol_spec.rb
644
+ - spec/models/brokerage_authorization_transactions_sync_confirmation_spec.rb
645
+ - spec/models/pagination_details_spec.rb
646
+ - spec/models/account_order_record_universal_symbol_spec.rb
690
647
  - spec/models/account_sync_status_spec.rb
691
- - spec/models/action_strict_spec.rb
648
+ - spec/models/option_quote_spec.rb
649
+ - spec/models/strategy_order_record_spec.rb
650
+ - spec/models/cef_instrument_spec.rb
651
+ - spec/models/type_spec.rb
652
+ - spec/models/account_spec.rb
653
+ - spec/models/us_exchange_spec.rb
654
+ - spec/models/symbol_currency_spec.rb
655
+ - spec/models/model400_failed_request_response_spec.rb
656
+ - spec/models/mutual_fund_instrument_kind_spec.rb
657
+ - spec/models/brokerage_authorization_type_read_only_spec.rb
658
+ - spec/models/order_type_strict_spec.rb
659
+ - spec/models/etf_instrument_spec.rb
660
+ - spec/models/sub_period_return_rate_spec.rb
661
+ - spec/models/complex_order_leg_order_role_spec.rb
662
+ - spec/models/account_orders_v2_response_spec.rb
663
+ - spec/models/position_spec.rb
664
+ - spec/models/underlying_symbol_type_spec.rb
665
+ - spec/models/trading_session_spec.rb
666
+ - spec/models/brokerage_authorization_disabled_confirmation_spec.rb
667
+ - spec/models/model500_unexpected_exception_response_spec.rb
668
+ - spec/models/account_simple_spec.rb
669
+ - spec/models/option_leg_spec.rb
692
670
  - spec/models/option_leg_action_spec.rb
671
+ - spec/models/mleg_leg_spec.rb
672
+ - spec/models/mleg_instrument_type_spec.rb
673
+ - spec/models/order_updated_response_order_spec.rb
674
+ - spec/models/notional_value_spec.rb
675
+ - spec/models/crypto_order_form_spec.rb
676
+ - spec/models/manual_trade_and_impact_spec.rb
677
+ - spec/models/account_order_record_quote_currency_spec.rb
678
+ - spec/models/options_position_currency_spec.rb
679
+ - spec/models/account_status_spec.rb
680
+ - spec/models/account_universal_activity_spec.rb
681
+ - spec/models/account_category_spec.rb
682
+ - spec/models/model401_failed_request_response_spec.rb
683
+ - spec/models/dividend_at_date_spec.rb
684
+ - spec/models/option_strategy_spec.rb
685
+ - spec/models/cfd_instrument_kind_spec.rb
686
+ - spec/models/manual_trade_impact_spec.rb
687
+ - spec/models/performance_custom_spec.rb
688
+ - spec/models/mleg_order_response_spec.rb
689
+ - spec/models/brokerage_authorization_spec.rb
690
+ - spec/models/strategy_quotes_greek_spec.rb
693
691
  - spec/models/mleg_trade_form_spec.rb
694
- - spec/models/manual_trade_form_complex_spec.rb
695
- - spec/models/investment_account_spec.rb
692
+ - spec/models/order_role_spec.rb
693
+ - spec/models/snap_trade_login_user_request_body_spec.rb
694
+ - spec/models/session_event_type_spec.rb
695
+ - spec/models/all_account_positions_response_spec.rb
696
+ - spec/models/crypto_instrument_kind_spec.rb
697
+ - spec/models/manual_trade_form_complex_type_spec.rb
698
+ - spec/models/kind_spec.rb
699
+ - spec/models/net_dividend_spec.rb
700
+ - spec/models/investment_account_market_value_spec.rb
696
701
  - spec/models/crypto_instrument_spec.rb
697
- - spec/models/model402_brokerage_auth_disabled_response_spec.rb
698
- - spec/models/trade_detection_cancel_subscription_response_spec.rb
699
- - spec/models/universal_activity_spec.rb
700
- - spec/models/trading_session_spec.rb
701
- - spec/models/options_symbol_spec.rb
702
- - spec/models/brokerage_authorization_spec.rb
703
- - spec/models/option_instrument_kind_spec.rb
704
- - spec/models/child_brokerage_order_ids_spec.rb
705
- - spec/models/adr_instrument_kind_spec.rb
706
- - spec/models/account_order_record_universal_symbol_spec.rb
702
+ - spec/models/trade_detection_cancel_subscription_request_spec.rb
703
+ - spec/models/login_redirect_uri_spec.rb
704
+ - spec/models/timeframe_spec.rb
705
+ - spec/models/account_information_get_user_account_order_detail_request_spec.rb
706
+ - spec/models/account_holdings_account_spec.rb
707
+ - spec/models/etf_instrument_kind_spec.rb
708
+ - spec/models/crypto_order_form_type_spec.rb
707
709
  - spec/models/account_order_record_spec.rb
708
- - spec/models/cef_instrument_kind_spec.rb
709
- - spec/models/mleg_trading_instrument_spec.rb
710
- - spec/models/cancel_order_response_spec.rb
711
- - spec/models/encrypted_response_encrypted_message_data_spec.rb
712
- - spec/models/account_order_record_quote_currency_spec.rb
713
- - spec/models/option_quote_greeks_spec.rb
714
- - spec/models/account_orders_v2_response_spec.rb
715
- - spec/models/exchange_spec.rb
716
- - spec/models/rate_of_return_response_spec.rb
717
- - spec/models/model402_brokerage_auth_already_disabled_exception_spec.rb
718
- - spec/models/dividend_at_date_spec.rb
719
- - spec/models/brokerage_authorization_type_read_only_spec.rb
720
- - spec/models/currency_spec.rb
721
- - spec/models/account_position_spec.rb
722
710
  - spec/models/symbol_query_spec.rb
711
+ - spec/models/take_profit_spec.rb
712
+ - spec/models/option_type_spec.rb
713
+ - spec/models/account_universal_activity_currency_universal_symbol_spec.rb
723
714
  - spec/models/future_instrument_spec.rb
724
- - spec/models/complex_order_response_spec.rb
725
- - spec/models/stock_instrument_spec.rb
726
- - spec/models/account_order_record_quote_universal_symbol_spec.rb
727
- - spec/models/snap_trade_holdings_account_spec.rb
728
- - spec/models/option_instrument_spec.rb
715
+ - spec/models/brokerage_instrument_spec.rb
716
+ - spec/models/currency_spec.rb
717
+ - spec/models/crypto_order_form_time_in_force_spec.rb
718
+ - spec/models/universal_activity_spec.rb
719
+ - spec/models/brokerage_instruments_response_spec.rb
720
+ - spec/models/cfd_instrument_spec.rb
721
+ - spec/models/figi_instrument_spec.rb
722
+ - spec/models/stock_instrument_figi_instrument_spec.rb
723
+ - spec/models/crypto_order_preview_spec.rb
724
+ - spec/models/manual_trade_symbol_spec.rb
725
+ - spec/models/complex_order_leg_spec.rb
726
+ - spec/models/mleg_order_type_strict_spec.rb
727
+ - spec/models/time_in_force_strict_spec.rb
728
+ - spec/models/stock_instrument_kind_spec.rb
729
+ - spec/models/option_chain_inner_chain_per_root_inner_spec.rb
730
+ - spec/models/security_type_spec.rb
729
731
  - spec/models/snap_trade_register_user_request_body_spec.rb
730
- - spec/models/manual_trade_form_spec.rb
731
- - spec/models/cfd_instrument_kind_spec.rb
732
- - spec/models/account_value_history_item_spec.rb
733
- - spec/models/account_universal_activity_currency_universal_symbol_spec.rb
734
- - spec/models/model429_too_many_requests_response_spec.rb
735
- - spec/models/model403_feature_not_enabled_response_spec.rb
736
- - spec/models/kind_spec.rb
737
- - spec/models/account_holdings_account_spec.rb
738
- - spec/models/option_brokerage_symbol_spec.rb
739
- - spec/models/account_simple_spec.rb
740
- - spec/models/tax_lot_spec.rb
741
732
  - spec/models/account_holdings_spec.rb
742
- - spec/models/other_instrument_spec.rb
743
- - spec/models/account_order_record_leg_spec.rb
744
- - spec/models/underlying_symbol_exchange_spec.rb
745
- - spec/models/validated_trade_body_spec.rb
746
- - spec/models/manual_trade_form_with_options_spec.rb
747
- - spec/models/account_status_spec.rb
748
- - spec/models/encrypted_response_spec.rb
749
- - spec/models/manual_trade_and_impact_spec.rb
750
- - spec/models/delete_connection_confirmation_spec.rb
751
- - spec/models/net_contributions_spec.rb
752
- - spec/models/brokerage_authorization_disabled_confirmation_spec.rb
753
- - spec/models/trade_detection_subscription_spec.rb
754
- - spec/models/manual_trade_place_time_in_force_strict_spec.rb
755
- - spec/models/balance_currency_spec.rb
756
- - spec/models/account_order_record_leg_instrument_spec.rb
757
- - spec/models/model403_failed_request_response_spec.rb
758
- - spec/models/model400_failed_request_response_spec.rb
759
- - spec/models/options_position_currency_spec.rb
760
- - spec/models/mleg_price_effect_strict_spec.rb
761
- - spec/models/balance_spec.rb
762
- - spec/models/crypto_instrument_kind_spec.rb
733
+ - spec/models/option_brokerage_symbol_spec.rb
763
734
  - spec/models/simple_order_form_spec.rb
735
+ - spec/models/other_instrument_kind_spec.rb
736
+ - spec/models/underlying_cfd_instrument_spec.rb
737
+ - spec/models/model404_failed_request_response_spec.rb
738
+ - spec/models/options_symbol_option_type_spec.rb
739
+ - spec/models/option_instrument_kind_spec.rb
740
+ - spec/models/trade_detection_subscription_spec.rb
741
+ - spec/models/model429_too_many_requests_response_spec.rb
742
+ - spec/models/strategy_type_spec.rb
743
+ - spec/models/adr_instrument_kind_spec.rb
744
+ - spec/models/exchange_rate_pairs_spec.rb
745
+ - spec/models/manual_trade_form_complex_spec.rb
746
+ - spec/models/monthly_dividends_spec.rb
764
747
  - spec/models/authentication_login_snap_trade_user200_response_spec.rb
765
- - spec/models/simple_order_form_time_in_force_spec.rb
748
+ - spec/models/action_strict_with_options_spec.rb
749
+ - spec/models/cryptocurrency_pair_spec.rb
750
+ - spec/models/symbol_exchange_spec.rb
751
+ - spec/models/options_position_spec.rb
752
+ - spec/models/symbols_quotes_inner_spec.rb
753
+ - spec/models/model501_not_implemented_response_spec.rb
754
+ - spec/models/brokerage_spec.rb
755
+ - spec/models/account_universal_activity_option_symbol_spec.rb
756
+ - spec/models/manual_trade_balance_spec.rb
757
+ - spec/models/model403_failed_request_response_spec.rb
758
+ - spec/models/brokerage_type_spec.rb
759
+ - spec/models/encrypted_response_spec.rb
760
+ - spec/models/trading_instrument_spec.rb
761
+ - spec/models/trailing_stop_spec.rb
762
+ - spec/models/model425_failed_request_response_spec.rb
763
+ - spec/models/universal_symbol_spec.rb
764
+ - spec/models/mleg_trading_instrument_spec.rb
765
+ - spec/models/model403_feature_not_enabled_response_spec.rb
766
+ - spec/models/complex_order_response_spec.rb
767
+ - spec/models/account_universal_activity_symbol_spec.rb
768
+ - spec/models/simple_order_form_type_spec.rb
769
+ - spec/models/account_order_record_status_v2_spec.rb
770
+ - spec/models/future_instrument_kind_spec.rb
771
+ - spec/models/cef_instrument_kind_spec.rb
772
+ - spec/models/manual_trade_spec.rb
773
+ - spec/models/delete_connection_confirmation_spec.rb
774
+ - spec/models/model402_brokerage_auth_disabled_response_spec.rb
775
+ - spec/models/connection_account_sync_status_spec.rb
766
776
  - spec/models/position_symbol_spec.rb
767
- - spec/models/cash_change_direction_spec.rb
768
- - spec/models/strategy_quotes_greek_spec.rb
769
- - spec/models/time_in_force_strict_spec.rb
770
- - spec/models/mleg_order_response_spec.rb
771
- - spec/models/options_symbol_option_type_spec.rb
772
- - spec/models/mleg_instrument_type_spec.rb
773
- - spec/models/security_type_spec.rb
777
+ - spec/models/manual_trade_form_notional_value_spec.rb
778
+ - spec/models/strategy_order_record_status_spec.rb
779
+ - spec/models/trade_detection_cancel_subscription_response_spec.rb
780
+ - spec/models/simple_order_form_time_in_force_spec.rb
781
+ - spec/models/position_currency_spec.rb
782
+ - spec/models/account_value_history_item_spec.rb
774
783
  - spec/models/trade_detection_add_subscription_request_spec.rb
775
- - spec/models/complex_order_leg_order_role_spec.rb
776
- - spec/models/login_redirect_uri_spec.rb
777
- - spec/models/partner_data_spec.rb
778
- - spec/models/underlying_symbol_type_spec.rb
779
- - spec/models/model500_unexpected_exception_response_spec.rb
780
- - spec/models/options_position_spec.rb
781
- - spec/models/session_event_spec.rb
782
- - spec/models/crypto_order_form_spec.rb
783
- - spec/models/position_spec.rb
784
- - spec/models/notional_value_spec.rb
785
- - spec/models/cfd_instrument_spec.rb
786
- - spec/models/take_profit_spec.rb
787
- - spec/models/option_type_spec.rb
788
- - spec/models/manual_trade_replace_form_spec.rb
784
+ - spec/models/underlying_symbol_exchange_spec.rb
785
+ - spec/models/auth_type_spec.rb
786
+ - spec/models/manual_trade_form_spec.rb
787
+ - spec/models/tax_lot_spec.rb
788
+ - spec/models/validated_trade_body_spec.rb
789
+ - spec/models/manual_trade_place_time_in_force_strict_spec.rb
790
+ - spec/models/crypto_order_preview_estimated_fee_spec.rb
791
+ - spec/models/account_balance_total_spec.rb
792
+ - spec/models/all_account_positions_response_data_freshness_spec.rb
789
793
  - spec/models/underlying_option_instrument_spec.rb
790
- - spec/models/position_currency_spec.rb
794
+ - spec/models/underlying_symbol_spec.rb
795
+ - spec/models/trading_instrument_type_spec.rb
796
+ - spec/models/trading_search_cryptocurrency_pair_instruments200_response_spec.rb
797
+ - spec/models/exchange_spec.rb
791
798
  - spec/models/account_order_record_option_symbol_spec.rb
792
- - spec/models/cef_instrument_spec.rb
793
- - spec/models/account_universal_activity_option_symbol_spec.rb
799
+ - spec/models/delete_user_response_spec.rb
800
+ - spec/models/partner_data_spec.rb
794
801
  - spec/models/status_spec.rb
795
- - spec/models/brokerage_instrument_spec.rb
796
- - spec/models/account_information_get_user_account_order_detail_request_spec.rb
797
- - spec/models/brokerage_authorization_transactions_sync_confirmation_spec.rb
798
- - spec/models/investment_account_market_value_spec.rb
799
- - spec/models/connection_type_spec.rb
800
- - spec/models/cryptocurrency_pair_quote_spec.rb
801
- - spec/models/crypto_order_form_time_in_force_spec.rb
802
- - spec/models/stock_instrument_kind_spec.rb
803
- - spec/models/trading_search_cryptocurrency_pair_instruments200_response_spec.rb
804
- - spec/models/account_spec.rb
805
- - spec/models/timeframe_spec.rb
806
- - spec/models/order_type_strict_spec.rb
807
- - spec/models/manual_trade_balance_spec.rb
808
- - spec/models/account_order_record_status_spec.rb
809
- - spec/models/order_updated_response_order_spec.rb
810
- - spec/models/mleg_order_type_strict_spec.rb
811
- - spec/models/account_balance_total_spec.rb
802
+ - spec/models/encrypted_response_encrypted_message_data_spec.rb
803
+ - spec/models/child_brokerage_order_ids_spec.rb
804
+ - spec/models/option_chain_inner_spec.rb
805
+ - spec/models/holdings_status_spec.rb
806
+ - spec/models/option_instrument_spec.rb
807
+ - spec/models/strategy_quotes_spec.rb
808
+ - spec/models/connection_account_spec.rb
809
+ - spec/models/mleg_price_effect_strict_spec.rb
810
+ - spec/models/snap_trade_holdings_account_spec.rb
811
+ - spec/models/options_symbol_spec.rb
812
812
  - spec/spec_helper.rb