snaptrade 3.0.17 → 3.0.18

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: 453e07ef22552dfcc5ba7aaf226f04c6ae70b4795f0b25c480d9e57c1c080dad
4
- data.tar.gz: ea726cdd14e3e2478fa66e9339d959aa3b731cfb27f17070e597161b25b09f21
3
+ metadata.gz: d3b7b8557292b530471e263244bf3c9835ff59de651efea9043362b1d37d2a37
4
+ data.tar.gz: 6cdb0bd696a7b1da4816643efd5a7846d84cb72f0ad4690e907529be079ca470
5
5
  SHA512:
6
- metadata.gz: 0043f1a7bf08c97e3f633740b3c7e719c849e2c583d46ed90bc44cd3da9209c22fcd5b7789e4948c664eab9c7d717a1a130ffe62a8f9039b946fb954005cbd8a
7
- data.tar.gz: 82d3e842da1da873041694d85ba6629c04b7fdca1d819d0721717c39e00a4de357e1ae9f78d779845cbccb8ceaa5568951427119859f7e53eca5e7b97984a76f
6
+ metadata.gz: 458a0b04f324e1af72378ac4e79a319b8e6bb18112fda20f3ce30197628100953c4f71f5c097936f521ffee3d09de70c62cdbecc1cb8c41805310dfe45bfb1f3
7
+ data.tar.gz: bcb86916eb4cec245ee91bd16059355d16788a7dc9691bd1f752e07e7534e32f7b382d0b3bf21fb5618972f8989d6b221da66ab07168c572e2dd33f4b9b1fedf
data/README.md CHANGED
@@ -63,7 +63,7 @@ backoff with jitter rather than from the headers.
63
63
  See https://docs.snaptrade.com/docs/ratelimiting.
64
64
 
65
65
 
66
- [![npm](https://img.shields.io/badge/gem-v3.0.17-blue)](https://rubygems.org/gems/snaptrade/versions/3.0.17)
66
+ [![npm](https://img.shields.io/badge/gem-v3.0.18-blue)](https://rubygems.org/gems/snaptrade/versions/3.0.18)
67
67
  [![More Info](https://img.shields.io/badge/More%20Info-Click%20Here-orange)](https://snaptrade.com/)
68
68
 
69
69
  </div>
@@ -139,7 +139,7 @@ See https://docs.snaptrade.com/docs/ratelimiting.
139
139
  Add to Gemfile:
140
140
 
141
141
  ```ruby
142
- gem 'snaptrade', '~> 3.0.17'
142
+ gem 'snaptrade', '~> 3.0.18'
143
143
  ```
144
144
 
145
145
  ## Getting Started<a id="getting-started"></a>
@@ -2090,6 +2090,22 @@ Please refer to the [brokerage trading support page](https://support.snaptrade.c
2090
2090
  - **OTO** (One Triggers the Other): A trigger order that, when filled, activates a conditional order.
2091
2091
  - **OTOCO** (One Triggers a One Cancels the Other): A trigger order that, when filled, activates an OCO pair of two peer orders.
2092
2092
 
2093
+ Option OCO peers must trade the same OCC option symbol with the same closing
2094
+ action and positive whole-contract quantity.
2095
+
2096
+ On tastytrade, option OCO supports closing an existing long or short option
2097
+ position with one `Limit` order and one `Stop` or `StopLimit` order. Both
2098
+ `PEER` orders must use `SELL_TO_CLOSE` or both must use `BUY_TO_CLOSE`, with
2099
+ `Day` or `GTC` time in force. Opening option OCOs are not supported.
2100
+
2101
+ On enabled Webull US v3 accounts, option OCO supports closing an existing long
2102
+ option position with one `Limit` take-profit order and one `Stop` stop-loss order.
2103
+ Both `PEER` orders must use `SELL_TO_CLOSE`, `Day`, the same OCC option symbol,
2104
+ and the same positive whole-contract quantity. Webull receives these as
2105
+ `STOP_PROFIT` and `STOP_LOSS` orders sharing a combo ID, without a MASTER order.
2106
+ Opening option OCOs, `BUY_TO_CLOSE`, `StopLimit`, and other option order pairs
2107
+ are not supported on Webull. Equity complex-order behavior is unchanged.
2108
+
2093
2109
 
2094
2110
  #### 🛠️ Usage<a id="🛠️-usage"></a>
2095
2111
 
@@ -804,6 +804,22 @@ module SnapTrade
804
804
  # - **OCO** (One Cancels the Other): Two peer orders; when one fills the other is cancelled.
805
805
  # - **OTO** (One Triggers the Other): A trigger order that, when filled, activates a conditional order.
806
806
  # - **OTOCO** (One Triggers a One Cancels the Other): A trigger order that, when filled, activates an OCO pair of two peer orders.
807
+ #
808
+ # Option OCO peers must trade the same OCC option symbol with the same closing
809
+ # action and positive whole-contract quantity.
810
+ #
811
+ # On tastytrade, option OCO supports closing an existing long or short option
812
+ # position with one `Limit` order and one `Stop` or `StopLimit` order. Both
813
+ # `PEER` orders must use `SELL_TO_CLOSE` or both must use `BUY_TO_CLOSE`, with
814
+ # `Day` or `GTC` time in force. Opening option OCOs are not supported.
815
+ #
816
+ # On enabled Webull US v3 accounts, option OCO supports closing an existing long
817
+ # option position with one `Limit` take-profit order and one `Stop` stop-loss order.
818
+ # Both `PEER` orders must use `SELL_TO_CLOSE`, `Day`, the same OCC option symbol,
819
+ # and the same positive whole-contract quantity. Webull receives these as
820
+ # `STOP_PROFIT` and `STOP_LOSS` orders sharing a combo ID, without a MASTER order.
821
+ # Opening option OCOs, `BUY_TO_CLOSE`, `StopLimit`, and other option order pairs
822
+ # are not supported on Webull. Equity complex-order behavior is unchanged.
807
823
  #
808
824
  # @param type [ManualTradeFormComplexType] The complex order type. - `OCO`: One Cancels the Other — two peer orders. - `OTO`: One Triggers the Other — a trigger order and a conditional order. - `OTOCO`: One Triggers a One Cancels the Other — a trigger order and two peer orders.
809
825
  # @param orders [Array<ComplexOrderLeg>] The orders that make up the complex order. Required counts and roles per type: - `OCO`: exactly 2 orders, both `PEER` - `OTO`: exactly 2 orders, one `TRIGGER` and one `CONDITIONAL` - `OTOCO`: exactly 3 orders, one `TRIGGER` and two `PEER`
@@ -832,6 +848,22 @@ module SnapTrade
832
848
  # - **OCO** (One Cancels the Other): Two peer orders; when one fills the other is cancelled.
833
849
  # - **OTO** (One Triggers the Other): A trigger order that, when filled, activates a conditional order.
834
850
  # - **OTOCO** (One Triggers a One Cancels the Other): A trigger order that, when filled, activates an OCO pair of two peer orders.
851
+ #
852
+ # Option OCO peers must trade the same OCC option symbol with the same closing
853
+ # action and positive whole-contract quantity.
854
+ #
855
+ # On tastytrade, option OCO supports closing an existing long or short option
856
+ # position with one `Limit` order and one `Stop` or `StopLimit` order. Both
857
+ # `PEER` orders must use `SELL_TO_CLOSE` or both must use `BUY_TO_CLOSE`, with
858
+ # `Day` or `GTC` time in force. Opening option OCOs are not supported.
859
+ #
860
+ # On enabled Webull US v3 accounts, option OCO supports closing an existing long
861
+ # option position with one `Limit` take-profit order and one `Stop` stop-loss order.
862
+ # Both `PEER` orders must use `SELL_TO_CLOSE`, `Day`, the same OCC option symbol,
863
+ # and the same positive whole-contract quantity. Webull receives these as
864
+ # `STOP_PROFIT` and `STOP_LOSS` orders sharing a combo ID, without a MASTER order.
865
+ # Opening option OCOs, `BUY_TO_CLOSE`, `StopLimit`, and other option order pairs
866
+ # are not supported on Webull. Equity complex-order behavior is unchanged.
835
867
  #
836
868
  # @param type [ManualTradeFormComplexType] The complex order type. - `OCO`: One Cancels the Other — two peer orders. - `OTO`: One Triggers the Other — a trigger order and a conditional order. - `OTOCO`: One Triggers a One Cancels the Other — a trigger order and two peer orders.
837
869
  # @param orders [Array<ComplexOrderLeg>] The orders that make up the complex order. Required counts and roles per type: - `OCO`: exactly 2 orders, both `PEER` - `OTO`: exactly 2 orders, one `TRIGGER` and one `CONDITIONAL` - `OTOCO`: exactly 3 orders, one `TRIGGER` and two `PEER`
@@ -851,7 +883,7 @@ module SnapTrade
851
883
  end
852
884
 
853
885
  # Place complex order
854
- # Places a complex conditional order (OCO, OTO, or OTOCO). Only supported on certain brokerages. Please refer to the [brokerage trading support page](https://support.snaptrade.com/brokerages) for details on which brokerages support complex orders and which types they support. - **OCO** (One Cancels the Other): Two peer orders; when one fills the other is cancelled. - **OTO** (One Triggers the Other): A trigger order that, when filled, activates a conditional order. - **OTOCO** (One Triggers a One Cancels the Other): A trigger order that, when filled, activates an OCO pair of two peer orders.
886
+ # Places a complex conditional order (OCO, OTO, or OTOCO). Only supported on certain brokerages. Please refer to the [brokerage trading support page](https://support.snaptrade.com/brokerages) for details on which brokerages support complex orders and which types they support. - **OCO** (One Cancels the Other): Two peer orders; when one fills the other is cancelled. - **OTO** (One Triggers the Other): A trigger order that, when filled, activates a conditional order. - **OTOCO** (One Triggers a One Cancels the Other): A trigger order that, when filled, activates an OCO pair of two peer orders. Option OCO peers must trade the same OCC option symbol with the same closing action and positive whole-contract quantity. On tastytrade, option OCO supports closing an existing long or short option position with one `Limit` order and one `Stop` or `StopLimit` order. Both `PEER` orders must use `SELL_TO_CLOSE` or both must use `BUY_TO_CLOSE`, with `Day` or `GTC` time in force. Opening option OCOs are not supported. On enabled Webull US v3 accounts, option OCO supports closing an existing long option position with one `Limit` take-profit order and one `Stop` stop-loss order. Both `PEER` orders must use `SELL_TO_CLOSE`, `Day`, the same OCC option symbol, and the same positive whole-contract quantity. Webull receives these as `STOP_PROFIT` and `STOP_LOSS` orders sharing a combo ID, without a MASTER order. Opening option OCOs, `BUY_TO_CLOSE`, `StopLimit`, and other option order pairs are not supported on Webull. Equity complex-order behavior is unchanged.
855
887
  # @param account_id [String] The ID of the account to execute the trade on.
856
888
  # @param user_id [String]
857
889
  # @param user_secret [String]
@@ -864,7 +896,7 @@ module SnapTrade
864
896
  end
865
897
 
866
898
  # Place complex order
867
- # Places a complex conditional order (OCO, OTO, or OTOCO). Only supported on certain brokerages. Please refer to the [brokerage trading support page](https://support.snaptrade.com/brokerages) for details on which brokerages support complex orders and which types they support. - **OCO** (One Cancels the Other): Two peer orders; when one fills the other is cancelled. - **OTO** (One Triggers the Other): A trigger order that, when filled, activates a conditional order. - **OTOCO** (One Triggers a One Cancels the Other): A trigger order that, when filled, activates an OCO pair of two peer orders.
899
+ # Places a complex conditional order (OCO, OTO, or OTOCO). Only supported on certain brokerages. Please refer to the [brokerage trading support page](https://support.snaptrade.com/brokerages) for details on which brokerages support complex orders and which types they support. - **OCO** (One Cancels the Other): Two peer orders; when one fills the other is cancelled. - **OTO** (One Triggers the Other): A trigger order that, when filled, activates a conditional order. - **OTOCO** (One Triggers a One Cancels the Other): A trigger order that, when filled, activates an OCO pair of two peer orders. Option OCO peers must trade the same OCC option symbol with the same closing action and positive whole-contract quantity. On tastytrade, option OCO supports closing an existing long or short option position with one &#x60;Limit&#x60; order and one &#x60;Stop&#x60; or &#x60;StopLimit&#x60; order. Both &#x60;PEER&#x60; orders must use &#x60;SELL_TO_CLOSE&#x60; or both must use &#x60;BUY_TO_CLOSE&#x60;, with &#x60;Day&#x60; or &#x60;GTC&#x60; time in force. Opening option OCOs are not supported. On enabled Webull US v3 accounts, option OCO supports closing an existing long option position with one &#x60;Limit&#x60; take-profit order and one &#x60;Stop&#x60; stop-loss order. Both &#x60;PEER&#x60; orders must use &#x60;SELL_TO_CLOSE&#x60;, &#x60;Day&#x60;, the same OCC option symbol, and the same positive whole-contract quantity. Webull receives these as &#x60;STOP_PROFIT&#x60; and &#x60;STOP_LOSS&#x60; orders sharing a combo ID, without a MASTER order. Opening option OCOs, &#x60;BUY_TO_CLOSE&#x60;, &#x60;StopLimit&#x60;, and other option order pairs are not supported on Webull. Equity complex-order behavior is unchanged.
868
900
  # @param account_id [String] The ID of the account to execute the trade on.
869
901
  # @param user_id [String]
870
902
  # @param user_secret [String]
@@ -8,5 +8,5 @@ Contact: api@snaptrade.com
8
8
  =end
9
9
 
10
10
  module SnapTrade
11
- VERSION = '3.0.17'
11
+ VERSION = '3.0.18'
12
12
  end
@@ -119,7 +119,7 @@ describe 'TradingApi' do
119
119
 
120
120
  # unit tests for place_complex_order
121
121
  # Place complex order
122
- # Places a complex conditional order (OCO, OTO, or OTOCO). Only supported on certain brokerages. Please refer to the [brokerage trading support page](https://support.snaptrade.com/brokerages) for details on which brokerages support complex orders and which types they support. - **OCO** (One Cancels the Other): Two peer orders; when one fills the other is cancelled. - **OTO** (One Triggers the Other): A trigger order that, when filled, activates a conditional order. - **OTOCO** (One Triggers a One Cancels the Other): A trigger order that, when filled, activates an OCO pair of two peer orders.
122
+ # Places a complex conditional order (OCO, OTO, or OTOCO). Only supported on certain brokerages. Please refer to the [brokerage trading support page](https://support.snaptrade.com/brokerages) for details on which brokerages support complex orders and which types they support. - **OCO** (One Cancels the Other): Two peer orders; when one fills the other is cancelled. - **OTO** (One Triggers the Other): A trigger order that, when filled, activates a conditional order. - **OTOCO** (One Triggers a One Cancels the Other): A trigger order that, when filled, activates an OCO pair of two peer orders. Option OCO peers must trade the same OCC option symbol with the same closing action and positive whole-contract quantity. On tastytrade, option OCO supports closing an existing long or short option position with one &#x60;Limit&#x60; order and one &#x60;Stop&#x60; or &#x60;StopLimit&#x60; order. Both &#x60;PEER&#x60; orders must use &#x60;SELL_TO_CLOSE&#x60; or both must use &#x60;BUY_TO_CLOSE&#x60;, with &#x60;Day&#x60; or &#x60;GTC&#x60; time in force. Opening option OCOs are not supported. On enabled Webull US v3 accounts, option OCO supports closing an existing long option position with one &#x60;Limit&#x60; take-profit order and one &#x60;Stop&#x60; stop-loss order. Both &#x60;PEER&#x60; orders must use &#x60;SELL_TO_CLOSE&#x60;, &#x60;Day&#x60;, the same OCC option symbol, and the same positive whole-contract quantity. Webull receives these as &#x60;STOP_PROFIT&#x60; and &#x60;STOP_LOSS&#x60; orders sharing a combo ID, without a MASTER order. Opening option OCOs, &#x60;BUY_TO_CLOSE&#x60;, &#x60;StopLimit&#x60;, and other option order pairs are not supported on Webull. Equity complex-order behavior is unchanged.
123
123
  # @param account_id The ID of the account to execute the trade on.
124
124
  # @param user_id
125
125
  # @param user_secret
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.17
4
+ version: 3.0.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - SnapTrade
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-09-09 00:00:00.000000000 Z
11
+ date: 2026-09-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -650,256 +650,256 @@ signing_key:
650
650
  specification_version: 4
651
651
  summary: SnapTrade Ruby Gem
652
652
  test_files:
653
+ - spec/api/connections_api_spec.rb
653
654
  - spec/api/account_information_api_spec.rb
654
655
  - spec/api/experimental_endpoints_api_spec.rb
655
- - spec/api/reference_data_api_spec.rb
656
+ - spec/api/trading_api_spec.rb
656
657
  - spec/api/api_status_api_spec.rb
657
658
  - spec/api/authentication_api_spec.rb
658
- - spec/api/connections_api_spec.rb
659
- - spec/api/trading_api_spec.rb
659
+ - spec/api/reference_data_api_spec.rb
660
660
  - spec/api_client_spec.rb
661
661
  - spec/configuration_spec.rb
662
662
  - spec/getting_started_spec.rb
663
- - spec/models/action_strict_spec.rb
664
- - spec/models/complex_order_response_type_spec.rb
665
- - spec/models/paginated_universal_activity_spec.rb
666
- - spec/models/manual_trade_form_with_options_spec.rb
667
- - spec/models/net_dividend_spec.rb
668
- - spec/models/account_order_record_v2_order_role_spec.rb
669
- - spec/models/option_leg_action_spec.rb
670
- - spec/models/option_chain_inner_chain_per_root_inner_chain_per_strike_price_inner_spec.rb
671
- - spec/models/complex_order_leg_spec.rb
672
- - spec/models/brokerage_type_spec.rb
663
+ - spec/models/crypto_instrument_kind_spec.rb
664
+ - spec/models/account_order_record_spec.rb
665
+ - spec/models/trading_instrument_type_spec.rb
666
+ - spec/models/option_chain_inner_chain_per_root_inner_spec.rb
667
+ - spec/models/brokerage_authorization_type_read_only_type_spec.rb
668
+ - spec/models/position_spec.rb
669
+ - spec/models/currency_spec.rb
670
+ - spec/models/action_strict_with_options_spec.rb
671
+ - spec/models/account_order_record_status_spec.rb
672
+ - spec/models/take_profit_spec.rb
673
+ - spec/models/trade_detection_cancel_subscription_response_spec.rb
674
+ - spec/models/brokerage_authorization_spec.rb
675
+ - spec/models/crypto_order_form_type_spec.rb
676
+ - spec/models/order_role_spec.rb
677
+ - spec/models/model503_brokerage_request_response_spec.rb
678
+ - spec/models/account_balance_total_spec.rb
679
+ - spec/models/trading_session_spec.rb
673
680
  - spec/models/model429_too_many_requests_response_spec.rb
674
- - spec/models/option_type_spec.rb
675
- - spec/models/line_of_credit_account_kind_spec.rb
676
- - spec/models/option_instrument_spec.rb
677
- - spec/models/cryptocurrency_pair_spec.rb
678
- - spec/models/future_instrument_kind_spec.rb
679
- - spec/models/brokerage_instrument_spec.rb
680
- - spec/models/auth_type_spec.rb
681
- - spec/models/validated_trade_body_spec.rb
681
+ - spec/models/net_dividend_spec.rb
682
+ - spec/models/cancel_order_response_spec.rb
683
+ - spec/models/model404_failed_request_response_spec.rb
684
+ - spec/models/account_order_record_leg_spec.rb
685
+ - spec/models/account_spec.rb
686
+ - spec/models/authentication_login_snap_trade_user200_response_spec.rb
687
+ - spec/models/option_strategy_spec.rb
682
688
  - spec/models/cfd_instrument_kind_spec.rb
683
- - spec/models/future_instrument_spec.rb
684
- - spec/models/status_spec.rb
685
- - spec/models/partner_data_spec.rb
686
- - spec/models/simple_order_form_spec.rb
689
+ - spec/models/manual_trade_form_spec.rb
687
690
  - spec/models/crypto_order_form_time_in_force_spec.rb
688
- - spec/models/symbol_query_spec.rb
689
- - spec/models/net_contributions_spec.rb
690
- - spec/models/instrument_spec.rb
691
- - spec/models/all_account_positions_response_data_freshness_spec.rb
692
- - spec/models/holdings_status_spec.rb
693
- - spec/models/balance_currency_spec.rb
694
- - spec/models/cash_change_direction_spec.rb
695
691
  - spec/models/universal_symbol_spec.rb
696
- - spec/models/account_universal_activity_option_symbol_spec.rb
697
- - spec/models/price_effect_spec.rb
698
- - spec/models/account_information_get_user_account_order_detail_request_spec.rb
699
- - spec/models/line_of_credit_account_available_credit_spec.rb
700
- - spec/models/account_status_spec.rb
701
- - spec/models/recent_orders_response_spec.rb
702
- - spec/models/crypto_trading_instrument_spec.rb
703
- - spec/models/trading_session_spec.rb
704
- - spec/models/brokerage_authorization_transactions_sync_confirmation_spec.rb
705
- - spec/models/stock_instrument_figi_instrument_spec.rb
706
- - spec/models/adr_instrument_spec.rb
692
+ - spec/models/notional_value_spec.rb
693
+ - spec/models/etf_instrument_kind_spec.rb
707
694
  - spec/models/other_instrument_spec.rb
708
- - spec/models/account_sync_status_spec.rb
709
- - spec/models/past_value_spec.rb
710
- - spec/models/brokerage_instruments_response_spec.rb
711
- - spec/models/performance_custom_spec.rb
712
- - spec/models/order_type_strict_spec.rb
713
- - spec/models/take_profit_spec.rb
714
- - spec/models/account_universal_activity_currency_spec.rb
715
- - spec/models/account_balance_spec.rb
716
- - spec/models/transactions_status_spec.rb
717
- - spec/models/manual_trade_form_complex_type_spec.rb
718
- - spec/models/model402_brokerage_auth_disabled_response_spec.rb
719
- - spec/models/brokerage_authorization_type_read_only_spec.rb
720
- - spec/models/connection_account_spec.rb
721
- - spec/models/us_exchange_spec.rb
722
- - spec/models/simple_order_form_time_in_force_spec.rb
723
- - spec/models/option_quote_greeks_spec.rb
724
- - spec/models/underlying_symbol_exchange_spec.rb
725
- - spec/models/manual_trade_spec.rb
695
+ - spec/models/line_of_credit_account_net_value_spec.rb
696
+ - spec/models/mleg_action_strict_spec.rb
697
+ - spec/models/session_event_type_spec.rb
698
+ - spec/models/underlying_symbol_type_spec.rb
699
+ - spec/models/account_order_record_status_v2_spec.rb
700
+ - spec/models/crypto_instrument_spec.rb
701
+ - spec/models/investment_account_spec.rb
702
+ - spec/models/account_order_record_option_symbol_spec.rb
726
703
  - spec/models/account_order_record_universal_symbol_spec.rb
727
- - spec/models/mleg_price_effect_strict_spec.rb
728
- - spec/models/etf_instrument_spec.rb
729
- - spec/models/stock_instrument_kind_spec.rb
730
- - spec/models/option_brokerage_symbol_spec.rb
731
- - spec/models/option_chain_inner_spec.rb
732
- - spec/models/mleg_trading_instrument_spec.rb
733
- - spec/models/all_account_positions_response_spec.rb
734
- - spec/models/connection_type_spec.rb
735
- - spec/models/crypto_order_form_type_spec.rb
736
- - spec/models/snaptrade_spec.rb
737
- - spec/models/deposit_account_net_value_spec.rb
738
- - spec/models/snap_trade_login_user_request_body_spec.rb
739
- - spec/models/model402_brokerage_auth_already_disabled_exception_spec.rb
740
- - spec/models/deposit_account_spec.rb
704
+ - spec/models/option_quote_spec.rb
705
+ - spec/models/line_of_credit_account_spec.rb
706
+ - spec/models/action_strict_spec.rb
707
+ - spec/models/option_impact_spec.rb
741
708
  - spec/models/mutual_fund_instrument_spec.rb
742
- - spec/models/brokerage_authorization_refresh_confirmation_spec.rb
743
- - spec/models/model400_failed_request_response_spec.rb
744
- - spec/models/mleg_order_response_spec.rb
745
- - spec/models/rate_of_return_response_spec.rb
746
- - spec/models/rate_of_return_object_spec.rb
747
- - spec/models/crypto_order_preview_spec.rb
748
- - spec/models/account_order_record_leg_spec.rb
749
- - spec/models/order_updated_response_order_spec.rb
750
- - spec/models/snap_trade_holdings_account_spec.rb
751
- - spec/models/account_universal_activity_symbol_spec.rb
752
- - spec/models/mleg_trade_form_spec.rb
709
+ - spec/models/brokerage_authorization_type_read_only_brokerage_spec.rb
710
+ - spec/models/paginated_universal_activity_spec.rb
711
+ - spec/models/trading_instrument_spec.rb
712
+ - spec/models/encrypted_response_encrypted_message_data_spec.rb
713
+ - spec/models/symbol_query_spec.rb
714
+ - spec/models/option_instrument_kind_spec.rb
715
+ - spec/models/account_universal_activity_currency_universal_symbol_spec.rb
753
716
  - spec/models/model403_feature_not_enabled_response_spec.rb
754
- - spec/models/snap_trade_register_user_request_body_spec.rb
755
- - spec/models/encrypted_response_spec.rb
756
- - spec/models/model501_not_implemented_response_spec.rb
757
- - spec/models/model425_failed_request_response_spec.rb
758
- - spec/models/trade_detection_add_subscription_request_spec.rb
759
- - spec/models/other_instrument_kind_spec.rb
760
- - spec/models/account_order_record_quote_universal_symbol_spec.rb
717
+ - spec/models/account_holdings_account_spec.rb
718
+ - spec/models/type_spec.rb
719
+ - spec/models/mleg_order_response_spec.rb
720
+ - spec/models/session_event_spec.rb
721
+ - spec/models/trade_detection_subscription_spec.rb
722
+ - spec/models/instrument_spec.rb
723
+ - spec/models/us_exchange_spec.rb
724
+ - spec/models/manual_trade_replace_form_spec.rb
725
+ - spec/models/user_i_dand_secret_spec.rb
726
+ - spec/models/stock_instrument_spec.rb
727
+ - spec/models/mleg_instrument_type_spec.rb
761
728
  - spec/models/strategy_quotes_spec.rb
762
- - spec/models/figi_instrument_spec.rb
763
- - spec/models/mleg_action_strict_spec.rb
764
- - spec/models/option_strategy_spec.rb
765
- - spec/models/line_of_credit_account_minimum_payment_amount_spec.rb
766
- - spec/models/deposit_account_sync_status_spec.rb
767
- - spec/models/time_in_force_strict_spec.rb
768
- - spec/models/option_impact_spec.rb
729
+ - spec/models/options_position_spec.rb
730
+ - spec/models/mleg_trade_form_spec.rb
769
731
  - spec/models/mleg_order_type_strict_spec.rb
770
- - spec/models/model403_failed_request_response_spec.rb
771
- - spec/models/manual_trade_form_spec.rb
772
- - spec/models/account_order_record_child_brokerage_order_ids_spec.rb
773
- - spec/models/account_order_record_v2_spec.rb
774
- - spec/models/model503_brokerage_request_response_spec.rb
775
- - spec/models/options_position_currency_spec.rb
776
- - spec/models/line_of_credit_account_spec.rb
777
- - spec/models/complex_order_response_spec.rb
778
- - spec/models/delete_connection_confirmation_spec.rb
779
- - spec/models/child_brokerage_order_ids_spec.rb
780
- - spec/models/authentication_login_snap_trade_user200_response_spec.rb
781
- - spec/models/crypto_trading_instrument_type_spec.rb
782
- - spec/models/o_auth_webhook_base_spec.rb
783
- - spec/models/notional_value_spec.rb
784
- - spec/models/account_balance_total_spec.rb
732
+ - spec/models/snap_trade_holdings_account_spec.rb
733
+ - spec/models/crypto_order_preview_spec.rb
734
+ - spec/models/connection_type_spec.rb
735
+ - spec/models/model500_unexpected_exception_response_spec.rb
736
+ - spec/models/line_of_credit_account_minimum_payment_amount_spec.rb
737
+ - spec/models/symbols_quotes_inner_spec.rb
738
+ - spec/models/options_symbol_spec.rb
785
739
  - spec/models/strategy_quotes_greek_spec.rb
786
- - spec/models/snap_trade_holdings_total_value_spec.rb
787
- - spec/models/strategy_order_record_status_spec.rb
788
- - spec/models/options_symbol_option_type_spec.rb
789
- - spec/models/account_holdings_account_spec.rb
790
- - spec/models/line_of_credit_account_sync_status_spec.rb
791
- - spec/models/account_position_spec.rb
792
- - spec/models/option_instrument_kind_spec.rb
793
- - spec/models/cryptocurrency_pair_quote_spec.rb
794
- - spec/models/account_value_history_response_spec.rb
795
- - spec/models/cef_instrument_spec.rb
796
- - spec/models/order_role_spec.rb
797
- - spec/models/symbol_currency_spec.rb
798
- - spec/models/line_of_credit_account_net_value_spec.rb
740
+ - spec/models/model400_failed_request_response_spec.rb
741
+ - spec/models/manual_trade_place_time_in_force_strict_spec.rb
742
+ - spec/models/exchange_rate_pairs_spec.rb
743
+ - spec/models/cryptocurrency_pair_spec.rb
744
+ - spec/models/validated_trade_body_spec.rb
745
+ - spec/models/child_brokerage_order_ids_spec.rb
799
746
  - spec/models/universal_activity_spec.rb
800
- - spec/models/strategy_type_spec.rb
801
- - spec/models/brokerage_spec.rb
802
- - spec/models/account_holdings_spec.rb
803
- - spec/models/stop_loss_spec.rb
804
- - spec/models/crypto_instrument_spec.rb
805
- - spec/models/mleg_instrument_type_spec.rb
806
- - spec/models/timeframe_spec.rb
807
- - spec/models/action_strict_with_options_spec.rb
808
- - spec/models/symbol_exchange_spec.rb
747
+ - spec/models/model402_brokerage_auth_disabled_response_spec.rb
748
+ - spec/models/price_effect_spec.rb
749
+ - spec/models/o_auth_webhook_base_spec.rb
750
+ - spec/models/manual_trade_form_with_options_spec.rb
809
751
  - spec/models/tax_lot_spec.rb
810
- - spec/models/account_spec.rb
811
- - spec/models/account_category_spec.rb
812
- - spec/models/login_redirect_uri_spec.rb
813
- - spec/models/option_chain_inner_chain_per_root_inner_spec.rb
814
- - spec/models/trading_instrument_spec.rb
815
- - spec/models/underlying_symbol_spec.rb
816
- - spec/models/position_symbol_spec.rb
817
- - spec/models/option_quote_spec.rb
818
- - spec/models/model500_unexpected_exception_response_spec.rb
819
- - spec/models/pagination_details_spec.rb
820
- - spec/models/user_i_dand_secret_spec.rb
821
- - spec/models/brokerage_authorization_type_read_only_brokerage_spec.rb
822
- - spec/models/dividend_at_date_spec.rb
823
- - spec/models/manual_trade_form_bracket_spec.rb
824
- - spec/models/monthly_dividends_spec.rb
825
- - spec/models/account_orders_v2_response_spec.rb
826
- - spec/models/account_universal_activity_spec.rb
827
- - spec/models/account_order_record_spec.rb
828
- - spec/models/stock_instrument_spec.rb
829
- - spec/models/manual_trade_place_time_in_force_strict_spec.rb
752
+ - spec/models/brokerage_authorization_refresh_confirmation_spec.rb
753
+ - spec/models/etf_instrument_spec.rb
754
+ - spec/models/complex_order_response_type_spec.rb
755
+ - spec/models/future_instrument_spec.rb
756
+ - spec/models/rate_of_return_object_spec.rb
757
+ - spec/models/account_universal_activity_option_symbol_spec.rb
758
+ - spec/models/mleg_trading_instrument_spec.rb
759
+ - spec/models/status_spec.rb
760
+ - spec/models/crypto_order_form_spec.rb
761
+ - spec/models/institution_spec.rb
762
+ - spec/models/balance_currency_spec.rb
763
+ - spec/models/crypto_trading_instrument_type_spec.rb
764
+ - spec/models/complex_order_response_spec.rb
765
+ - spec/models/deposit_account_kind_spec.rb
766
+ - spec/models/order_updated_response_spec.rb
830
767
  - spec/models/crypto_order_preview_estimated_fee_spec.rb
831
- - spec/models/mutual_fund_instrument_kind_spec.rb
832
- - spec/models/trade_detection_cancel_subscription_response_spec.rb
833
- - spec/models/brokerage_authorization_spec.rb
834
- - spec/models/model404_failed_request_response_spec.rb
835
- - spec/models/manual_trade_and_impact_spec.rb
768
+ - spec/models/strategy_type_spec.rb
769
+ - spec/models/partner_data_spec.rb
770
+ - spec/models/delete_connection_confirmation_spec.rb
771
+ - spec/models/brokerage_authorization_type_read_only_spec.rb
772
+ - spec/models/option_quote_greeks_spec.rb
773
+ - spec/models/manual_trade_impact_spec.rb
774
+ - spec/models/manual_trade_form_notional_value_spec.rb
775
+ - spec/models/stock_instrument_kind_spec.rb
776
+ - spec/models/adr_instrument_kind_spec.rb
777
+ - spec/models/brokerage_instrument_spec.rb
778
+ - spec/models/simple_order_form_spec.rb
779
+ - spec/models/trade_detection_add_subscription_request_spec.rb
780
+ - spec/models/account_balance_spec.rb
781
+ - spec/models/line_of_credit_account_sync_status_spec.rb
782
+ - spec/models/model501_not_implemented_response_spec.rb
783
+ - spec/models/manual_trade_form_complex_type_spec.rb
784
+ - spec/models/option_instrument_spec.rb
785
+ - spec/models/snap_trade_holdings_total_value_spec.rb
786
+ - spec/models/pagination_details_spec.rb
787
+ - spec/models/line_of_credit_account_available_credit_spec.rb
788
+ - spec/models/option_chain_inner_chain_per_root_inner_chain_per_strike_price_inner_spec.rb
789
+ - spec/models/order_type_strict_spec.rb
790
+ - spec/models/position_currency_spec.rb
791
+ - spec/models/option_leg_action_spec.rb
792
+ - spec/models/stock_instrument_figi_instrument_spec.rb
793
+ - spec/models/investment_account_net_value_spec.rb
794
+ - spec/models/cfd_instrument_spec.rb
795
+ - spec/models/account_simple_spec.rb
836
796
  - spec/models/symbol_spec.rb
797
+ - spec/models/mutual_fund_instrument_kind_spec.rb
798
+ - spec/models/model402_brokerage_auth_already_disabled_exception_spec.rb
799
+ - spec/models/line_of_credit_account_kind_spec.rb
800
+ - spec/models/connection_account_spec.rb
801
+ - spec/models/options_position_currency_spec.rb
802
+ - spec/models/option_brokerage_symbol_spec.rb
803
+ - spec/models/snap_trade_login_user_request_body_spec.rb
804
+ - spec/models/future_instrument_kind_spec.rb
805
+ - spec/models/transactions_status_spec.rb
806
+ - spec/models/position_symbol_spec.rb
807
+ - spec/models/account_orders_v2_response_spec.rb
808
+ - spec/models/account_order_record_quote_universal_symbol_spec.rb
837
809
  - spec/models/cef_instrument_kind_spec.rb
838
- - spec/models/underlying_option_instrument_spec.rb
839
- - spec/models/options_symbol_spec.rb
810
+ - spec/models/login_redirect_uri_spec.rb
811
+ - spec/models/option_strategy_legs_inner_spec.rb
812
+ - spec/models/strategy_order_record_status_spec.rb
813
+ - spec/models/manual_trade_form_bracket_spec.rb
814
+ - spec/models/brokerage_instruments_response_spec.rb
815
+ - spec/models/account_position_spec.rb
816
+ - spec/models/net_contributions_spec.rb
817
+ - spec/models/cash_change_direction_spec.rb
818
+ - spec/models/account_universal_activity_symbol_spec.rb
819
+ - spec/models/option_leg_spec.rb
820
+ - spec/models/holdings_status_spec.rb
821
+ - spec/models/connection_portal_version_spec.rb
822
+ - spec/models/account_order_record_v2_spec.rb
823
+ - spec/models/trailing_stop_spec.rb
824
+ - spec/models/all_account_positions_response_data_freshness_spec.rb
825
+ - spec/models/past_value_spec.rb
826
+ - spec/models/balance_spec.rb
827
+ - spec/models/sub_period_return_rate_spec.rb
828
+ - spec/models/account_universal_activity_currency_spec.rb
829
+ - spec/models/strategy_order_record_spec.rb
840
830
  - spec/models/account_order_record_trailing_stop_spec.rb
841
- - spec/models/type_spec.rb
831
+ - spec/models/snap_trade_register_user_request_body_spec.rb
832
+ - spec/models/underlying_option_instrument_spec.rb
842
833
  - spec/models/complex_order_leg_order_role_spec.rb
834
+ - spec/models/mleg_leg_spec.rb
835
+ - spec/models/complex_order_leg_spec.rb
836
+ - spec/models/account_sync_status_spec.rb
837
+ - spec/models/account_universal_activity_spec.rb
838
+ - spec/models/account_status_spec.rb
839
+ - spec/models/brokerage_type_spec.rb
840
+ - spec/models/dividend_at_date_spec.rb
841
+ - spec/models/manual_trade_symbol_spec.rb
842
+ - spec/models/manual_trade_spec.rb
843
+ - spec/models/simple_order_form_time_in_force_spec.rb
844
+ - spec/models/option_chain_inner_spec.rb
843
845
  - spec/models/brokerage_authorization_data_freshness_mode_spec.rb
844
- - spec/models/trade_detection_cancel_subscription_request_spec.rb
845
- - spec/models/session_event_type_spec.rb
846
- - spec/models/account_order_record_option_symbol_spec.rb
847
- - spec/models/underlying_cfd_instrument_spec.rb
848
846
  - spec/models/exchange_spec.rb
849
- - spec/models/account_order_record_status_spec.rb
850
- - spec/models/adr_instrument_kind_spec.rb
851
- - spec/models/institution_spec.rb
852
- - spec/models/account_order_record_leg_instrument_spec.rb
853
- - spec/models/account_value_history_item_spec.rb
854
- - spec/models/delete_user_response_spec.rb
855
- - spec/models/encrypted_response_encrypted_message_data_spec.rb
847
+ - spec/models/underlying_symbol_spec.rb
848
+ - spec/models/manual_trade_balance_spec.rb
849
+ - spec/models/cryptocurrency_pair_quote_spec.rb
850
+ - spec/models/order_updated_response_order_spec.rb
851
+ - spec/models/symbol_currency_spec.rb
852
+ - spec/models/account_order_record_v2_order_role_spec.rb
853
+ - spec/models/adr_instrument_spec.rb
854
+ - spec/models/model403_failed_request_response_spec.rb
855
+ - spec/models/recent_orders_response_spec.rb
856
+ - spec/models/simple_order_form_type_spec.rb
857
+ - spec/models/other_instrument_kind_spec.rb
858
+ - spec/models/timeframe_spec.rb
856
859
  - spec/models/schema_version_spec.rb
857
- - spec/models/account_order_record_status_v2_spec.rb
858
- - spec/models/connection_portal_version_spec.rb
859
- - spec/models/currency_spec.rb
860
- - spec/models/manual_trade_replace_form_spec.rb
861
- - spec/models/strategy_order_record_spec.rb
862
- - spec/models/options_position_spec.rb
863
- - spec/models/etf_instrument_kind_spec.rb
864
- - spec/models/brokerage_authorization_type_read_only_type_spec.rb
865
- - spec/models/account_universal_activity_currency_universal_symbol_spec.rb
866
- - spec/models/crypto_order_form_spec.rb
867
- - spec/models/mleg_leg_spec.rb
860
+ - spec/models/rate_of_return_response_spec.rb
861
+ - spec/models/deposit_account_spec.rb
862
+ - spec/models/stop_loss_spec.rb
863
+ - spec/models/account_information_get_user_account_order_detail_request_spec.rb
864
+ - spec/models/underlying_cfd_instrument_spec.rb
865
+ - spec/models/account_order_record_child_brokerage_order_ids_spec.rb
866
+ - spec/models/all_account_positions_response_spec.rb
867
+ - spec/models/manual_trade_form_complex_spec.rb
868
+ - spec/models/snaptrade_spec.rb
869
+ - spec/models/brokerage_spec.rb
870
+ - spec/models/underlying_symbol_exchange_spec.rb
871
+ - spec/models/auth_type_spec.rb
868
872
  - spec/models/connection_account_sync_status_spec.rb
869
- - spec/models/exchange_rate_pairs_spec.rb
870
- - spec/models/trailing_stop_spec.rb
871
- - spec/models/investment_account_spec.rb
872
- - spec/models/underlying_symbol_type_spec.rb
873
- - spec/models/deposit_account_kind_spec.rb
874
- - spec/models/cancel_order_response_spec.rb
875
- - spec/models/brokerage_authorization_disabled_confirmation_spec.rb
876
- - spec/models/manual_trade_balance_spec.rb
877
- - spec/models/investment_account_net_value_spec.rb
878
- - spec/models/session_event_spec.rb
879
- - spec/models/option_leg_spec.rb
880
- - spec/models/manual_trade_symbol_spec.rb
881
- - spec/models/model401_failed_request_response_spec.rb
882
- - spec/models/option_strategy_legs_inner_spec.rb
883
- - spec/models/manual_trade_form_notional_value_spec.rb
884
- - spec/models/security_type_spec.rb
885
- - spec/models/cfd_instrument_spec.rb
886
- - spec/models/symbols_quotes_inner_spec.rb
887
- - spec/models/order_updated_response_spec.rb
873
+ - spec/models/kind_spec.rb
874
+ - spec/models/deposit_account_net_value_spec.rb
875
+ - spec/models/deposit_account_sync_status_spec.rb
876
+ - spec/models/account_order_record_leg_instrument_spec.rb
877
+ - spec/models/model425_failed_request_response_spec.rb
878
+ - spec/models/account_value_history_item_spec.rb
879
+ - spec/models/monthly_dividends_spec.rb
880
+ - spec/models/performance_custom_spec.rb
888
881
  - spec/models/account_order_record_quote_currency_spec.rb
889
- - spec/models/balance_spec.rb
890
- - spec/models/position_spec.rb
891
- - spec/models/trade_detection_subscription_spec.rb
892
- - spec/models/position_currency_spec.rb
893
882
  - spec/models/trading_search_cryptocurrency_pair_instruments200_response_spec.rb
894
- - spec/models/account_simple_spec.rb
895
- - spec/models/crypto_instrument_kind_spec.rb
896
- - spec/models/manual_trade_form_complex_spec.rb
897
- - spec/models/simple_order_form_type_spec.rb
898
- - spec/models/trading_instrument_type_spec.rb
899
- - spec/models/kind_spec.rb
900
- - spec/models/sub_period_return_rate_spec.rb
901
- - spec/models/manual_trade_impact_spec.rb
883
+ - spec/models/brokerage_authorization_transactions_sync_confirmation_spec.rb
884
+ - spec/models/account_category_spec.rb
885
+ - spec/models/figi_instrument_spec.rb
886
+ - spec/models/mleg_price_effect_strict_spec.rb
887
+ - spec/models/brokerage_authorization_disabled_confirmation_spec.rb
888
+ - spec/models/option_type_spec.rb
889
+ - spec/models/crypto_trading_instrument_spec.rb
890
+ - spec/models/time_in_force_strict_spec.rb
891
+ - spec/models/symbol_exchange_spec.rb
892
+ - spec/models/account_value_history_response_spec.rb
893
+ - spec/models/manual_trade_and_impact_spec.rb
894
+ - spec/models/security_type_spec.rb
895
+ - spec/models/options_symbol_option_type_spec.rb
896
+ - spec/models/account_holdings_spec.rb
897
+ - spec/models/delete_user_response_spec.rb
898
+ - spec/models/encrypted_response_spec.rb
899
+ - spec/models/trade_detection_cancel_subscription_request_spec.rb
900
+ - spec/models/model401_failed_request_response_spec.rb
901
+ - spec/models/cef_instrument_spec.rb
902
+ - spec/regression/fixtures/all_account_positions.json
902
903
  - spec/regression/request_signing_spec.rb
903
904
  - spec/regression/all_account_positions_spec.rb
904
- - spec/regression/fixtures/all_account_positions.json
905
905
  - spec/spec_helper.rb