snaptrade 3.0.0 → 3.0.1

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: b0c109fefd680fbea60660a0e02849c8cb26fac9ad67dfe4abe75546f21b05ed
4
- data.tar.gz: 3d468193970cccee6b0f4bcaee8d77e90c44da7ee466bcf90c96ffe7ce37de0b
3
+ metadata.gz: ea3b85898b5e717b8d3531fb499de9eafe701b469c77d3d4bc4c90968a1f9926
4
+ data.tar.gz: 7f4981c4c355759ec089886ff400b82e566cb987dd28e532747c863a8a8a6c04
5
5
  SHA512:
6
- metadata.gz: e9ba46c4d829b59a31a604216b1b7791d00a34e715076db22ad314c7e4076a59ad8e30710def15d7c7a56be64237709007aeff2a91a6846e403923acfe6c0914
7
- data.tar.gz: ec1804572c4457ae57d85b23115cd99a1e2321ebbf77c5271904635bb636d9f131711096bea839a02fb4d112112c9e8935fe2c566fe22f36204649387366f750
6
+ metadata.gz: ece1b549b550c66cd3b4fd4e7a416a04252f5f0dcc578729600d18031f47bafe5e698bea5b92f836c41719f72ab174bf98a60b8685a921941227b0693a9d5b52
7
+ data.tar.gz: dee3a397f564f22396be356015884d2383112a1180ec6d159baa5c47b8ac216173c954e17cf487f8a9f9678d89bf547b6b4b9429fca57c704f290854b305e369
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- snaptrade (3.0.0)
4
+ snaptrade (3.0.1)
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.0-blue)](https://rubygems.org/gems/snaptrade/versions/3.0.0)
9
+ [![npm](https://img.shields.io/badge/gem-v3.0.1-blue)](https://rubygems.org/gems/snaptrade/versions/3.0.1)
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.0'
85
+ gem 'snaptrade', '~> 3.0.1'
86
86
  ```
87
87
 
88
88
  ## Getting Started<a id="getting-started"></a>
@@ -252,7 +252,7 @@ Returns a list of all positions in the specified account.
252
252
 
253
253
  The `results` list can contain multiple instrument types in the same response, including stocks, ADRs, ETFs, mutual funds, closed-end funds, crypto, futures, option positions, and CFD positions. Use the `instrument.kind` discriminator to determine the schema for each position's `instrument`.
254
254
 
255
- `mutualfund` positions may also include `cash_equivalent`. `stock`, `etf`, and `mutualfund` positions may include `tax_lots` when tax lot data is enabled for the account.
255
+ `mutualfund` positions may also include `cash_equivalent`. `stock`, `etf`, and `mutualfund` positions may include `tax_lots` when tax lot data is enabled for the account. To see which institutions support tax lot data, please see our [supported institutions doc](https://support.snaptrade.com/brokerages).
256
256
 
257
257
  If the connection has become disabled, it can no longer access the latest data from the brokerage, but will continue to return the last available cached state. Please see [this guide](/docs/fix-broken-connections) on how to fix a disabled connection.
258
258
 
@@ -2501,9 +2501,10 @@ p result
2501
2501
  Order ID returned by brokerage. This is the unique identifier for the order in
2502
2502
  the brokerage system.
2503
2503
 
2504
- ##### action: [`ActionStrict`](./lib/snaptrade/models/action_strict.rb)<a id="action-actionstrictlibsnaptrademodelsaction_strictrb"></a>
2504
+ ##### action: [`ActionStrictWithOptions`](./lib/snaptrade/models/action_strict_with_options.rb)<a id="action-actionstrictwithoptionslibsnaptrademodelsaction_strict_with_optionsrb"></a>
2505
2505
  The action describes the intent or side of a trade. This is either `BUY` or
2506
- `SELL`.
2506
+ `SELL` for Equity symbols or `BUY_TO_OPEN`, `BUY_TO_CLOSE`, `SELL_TO_OPEN` or
2507
+ `SELL_TO_CLOSE` for Options.
2507
2508
 
2508
2509
  ##### order_type: [`OrderTypeStrict`](./lib/snaptrade/models/order_type_strict.rb)<a id="order_type-ordertypestrictlibsnaptrademodelsorder_type_strictrb"></a>
2509
2510
  The type of order to place. - For `Limit` and `StopLimit` orders, the `price`
@@ -2529,7 +2530,8 @@ The ID of the account to execute the trade on.
2529
2530
  The limit price for `Limit` and `StopLimit` orders.
2530
2531
 
2531
2532
  ##### symbol: `String`<a id="symbol-string"></a>
2532
- The security's trading ticker symbol
2533
+ The security's trading ticker symbol. Use the OCC symbol to replace an option
2534
+ order.
2533
2535
 
2534
2536
  ##### stop: `Float`<a id="stop-float"></a>
2535
2537
  The price at which a stop order is triggered for `Stop` and `StopLimit` orders.
@@ -292,7 +292,7 @@ module SnapTrade
292
292
  #
293
293
  # The `results` list can contain multiple instrument types in the same response, including stocks, ADRs, ETFs, mutual funds, closed-end funds, crypto, futures, option positions, and CFD positions. Use the `instrument.kind` discriminator to determine the schema for each position's `instrument`.
294
294
  #
295
- # `mutualfund` positions may also include `cash_equivalent`. `stock`, `etf`, and `mutualfund` positions may include `tax_lots` when tax lot data is enabled for the account.
295
+ # `mutualfund` positions may also include `cash_equivalent`. `stock`, `etf`, and `mutualfund` positions may include `tax_lots` when tax lot data is enabled for the account. To see which institutions support tax lot data, please see our [supported institutions doc](https://support.snaptrade.com/brokerages).
296
296
  #
297
297
  # If the connection has become disabled, it can no longer access the latest data from the brokerage, but will continue to return the last available cached state. Please see [this guide](/docs/fix-broken-connections) on how to fix a disabled connection.
298
298
  #
@@ -311,7 +311,7 @@ module SnapTrade
311
311
  #
312
312
  # The `results` list can contain multiple instrument types in the same response, including stocks, ADRs, ETFs, mutual funds, closed-end funds, crypto, futures, option positions, and CFD positions. Use the `instrument.kind` discriminator to determine the schema for each position's `instrument`.
313
313
  #
314
- # `mutualfund` positions may also include `cash_equivalent`. `stock`, `etf`, and `mutualfund` positions may include `tax_lots` when tax lot data is enabled for the account.
314
+ # `mutualfund` positions may also include `cash_equivalent`. `stock`, `etf`, and `mutualfund` positions may include `tax_lots` when tax lot data is enabled for the account. To see which institutions support tax lot data, please see our [supported institutions doc](https://support.snaptrade.com/brokerages).
315
315
  #
316
316
  # If the connection has become disabled, it can no longer access the latest data from the brokerage, but will continue to return the last available cached state. Please see [this guide](/docs/fix-broken-connections) on how to fix a disabled connection.
317
317
  #
@@ -324,7 +324,7 @@ module SnapTrade
324
324
  end
325
325
 
326
326
  # List all account positions
327
- # Returns a list of all positions in the specified account. The `results` list can contain multiple instrument types in the same response, including stocks, ADRs, ETFs, mutual funds, closed-end funds, crypto, futures, option positions, and CFD positions. Use the `instrument.kind` discriminator to determine the schema for each position's `instrument`. `mutualfund` positions may also include `cash_equivalent`. `stock`, `etf`, and `mutualfund` positions may include `tax_lots` when tax lot data is enabled for the account. If the connection has become disabled, it can no longer access the latest data from the brokerage, but will continue to return the last available cached state. Please see [this guide](/docs/fix-broken-connections) on how to fix a disabled connection.
327
+ # Returns a list of all positions in the specified account. The `results` list can contain multiple instrument types in the same response, including stocks, ADRs, ETFs, mutual funds, closed-end funds, crypto, futures, option positions, and CFD positions. Use the `instrument.kind` discriminator to determine the schema for each position's `instrument`. `mutualfund` positions may also include `cash_equivalent`. `stock`, `etf`, and `mutualfund` positions may include `tax_lots` when tax lot data is enabled for the account. To see which institutions support tax lot data, please see our [supported institutions doc](https://support.snaptrade.com/brokerages). If the connection has become disabled, it can no longer access the latest data from the brokerage, but will continue to return the last available cached state. Please see [this guide](/docs/fix-broken-connections) on how to fix a disabled connection.
328
328
  # @param user_id [String]
329
329
  # @param user_secret [String]
330
330
  # @param account_id [String]
@@ -336,7 +336,7 @@ module SnapTrade
336
336
  end
337
337
 
338
338
  # List all account positions
339
- # Returns a list of all positions in the specified account. The &#x60;results&#x60; list can contain multiple instrument types in the same response, including stocks, ADRs, ETFs, mutual funds, closed-end funds, crypto, futures, option positions, and CFD positions. Use the &#x60;instrument.kind&#x60; discriminator to determine the schema for each position&#39;s &#x60;instrument&#x60;. &#x60;mutualfund&#x60; positions may also include &#x60;cash_equivalent&#x60;. &#x60;stock&#x60;, &#x60;etf&#x60;, and &#x60;mutualfund&#x60; positions may include &#x60;tax_lots&#x60; when tax lot data is enabled for the account. If the connection has become disabled, it can no longer access the latest data from the brokerage, but will continue to return the last available cached state. Please see [this guide](/docs/fix-broken-connections) on how to fix a disabled connection.
339
+ # Returns a list of all positions in the specified account. The &#x60;results&#x60; list can contain multiple instrument types in the same response, including stocks, ADRs, ETFs, mutual funds, closed-end funds, crypto, futures, option positions, and CFD positions. Use the &#x60;instrument.kind&#x60; discriminator to determine the schema for each position&#39;s &#x60;instrument&#x60;. &#x60;mutualfund&#x60; positions may also include &#x60;cash_equivalent&#x60;. &#x60;stock&#x60;, &#x60;etf&#x60;, and &#x60;mutualfund&#x60; positions may include &#x60;tax_lots&#x60; when tax lot data is enabled for the account. To see which institutions support tax lot data, please see our [supported institutions doc](https://support.snaptrade.com/brokerages). If the connection has become disabled, it can no longer access the latest data from the brokerage, but will continue to return the last available cached state. Please see [this guide](/docs/fix-broken-connections) on how to fix a disabled connection.
340
340
  # @param user_id [String]
341
341
  # @param user_secret [String]
342
342
  # @param account_id [String]
@@ -1696,14 +1696,14 @@ module SnapTrade
1696
1696
  # returned in the response going forward. Only supported on some brokerages
1697
1697
  #
1698
1698
  # @param brokerage_order_id [String] Order ID returned by brokerage. This is the unique identifier for the order in the brokerage system.
1699
- # @param action [ActionStrict] The action describes the intent or side of a trade. This is either `BUY` or `SELL`.
1699
+ # @param action [ActionStrictWithOptions] The action describes the intent or side of a trade. This is either `BUY` or `SELL` for Equity symbols or `BUY_TO_OPEN`, `BUY_TO_CLOSE`, `SELL_TO_OPEN` or `SELL_TO_CLOSE` for Options.
1700
1700
  # @param order_type [OrderTypeStrict] The type of order to place. - For `Limit` and `StopLimit` orders, the `price` field is required. - For `Stop` and `StopLimit` orders, the `stop` field is required.
1701
1701
  # @param time_in_force [TimeInForceStrict] 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.
1702
1702
  # @param account_id [String] The ID of the account to execute the trade on.
1703
1703
  # @param user_id [String]
1704
1704
  # @param user_secret [String]
1705
1705
  # @param price [Float] The limit price for `Limit` and `StopLimit` orders.
1706
- # @param symbol [String] The security's trading ticker symbol
1706
+ # @param symbol [String] The security's trading ticker symbol. Use the OCC symbol to replace an option order.
1707
1707
  # @param stop [Float] The price at which a stop order is triggered for `Stop` and `StopLimit` orders.
1708
1708
  # @param units [Float]
1709
1709
  # @param body [ManualTradeReplaceForm]
@@ -1730,14 +1730,14 @@ module SnapTrade
1730
1730
  # returned in the response going forward. Only supported on some brokerages
1731
1731
  #
1732
1732
  # @param brokerage_order_id [String] Order ID returned by brokerage. This is the unique identifier for the order in the brokerage system.
1733
- # @param action [ActionStrict] The action describes the intent or side of a trade. This is either `BUY` or `SELL`.
1733
+ # @param action [ActionStrictWithOptions] The action describes the intent or side of a trade. This is either `BUY` or `SELL` for Equity symbols or `BUY_TO_OPEN`, `BUY_TO_CLOSE`, `SELL_TO_OPEN` or `SELL_TO_CLOSE` for Options.
1734
1734
  # @param order_type [OrderTypeStrict] The type of order to place. - For `Limit` and `StopLimit` orders, the `price` field is required. - For `Stop` and `StopLimit` orders, the `stop` field is required.
1735
1735
  # @param time_in_force [TimeInForceStrict] 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.
1736
1736
  # @param account_id [String] The ID of the account to execute the trade on.
1737
1737
  # @param user_id [String]
1738
1738
  # @param user_secret [String]
1739
1739
  # @param price [Float] The limit price for `Limit` and `StopLimit` orders.
1740
- # @param symbol [String] The security's trading ticker symbol
1740
+ # @param symbol [String] The security's trading ticker symbol. Use the OCC symbol to replace an option order.
1741
1741
  # @param stop [Float] The price at which a stop order is triggered for `Stop` and `StopLimit` orders.
1742
1742
  # @param units [Float]
1743
1743
  # @param body [ManualTradeReplaceForm]
@@ -16,7 +16,7 @@ module SnapTrade
16
16
  # Order ID returned by brokerage. This is the unique identifier for the order in the brokerage system.
17
17
  attr_accessor :brokerage_order_id
18
18
 
19
- # The action describes the intent or side of a trade. This is either `BUY` or `SELL`.
19
+ # The action describes the intent or side of a trade. This is either `BUY` or `SELL` for Equity symbols or `BUY_TO_OPEN`, `BUY_TO_CLOSE`, `SELL_TO_OPEN` or `SELL_TO_CLOSE` for Options.
20
20
  attr_accessor :action
21
21
 
22
22
  # The type of order to place. - For `Limit` and `StopLimit` orders, the `price` field is required. - For `Stop` and `StopLimit` orders, the `stop` field is required.
@@ -28,7 +28,7 @@ module SnapTrade
28
28
  # The limit price for `Limit` and `StopLimit` orders.
29
29
  attr_accessor :price
30
30
 
31
- # The security's trading ticker symbol
31
+ # The security's trading ticker symbol. Use the OCC symbol to replace an option order.
32
32
  attr_accessor :symbol
33
33
 
34
34
  # The price at which a stop order is triggered for `Stop` and `StopLimit` orders.
@@ -59,7 +59,7 @@ module SnapTrade
59
59
  def self.openapi_types
60
60
  {
61
61
  :'brokerage_order_id' => :'String',
62
- :'action' => :'ActionStrict',
62
+ :'action' => :'ActionStrictWithOptions',
63
63
  :'order_type' => :'OrderTypeStrict',
64
64
  :'time_in_force' => :'TimeInForceStrict',
65
65
  :'price' => :'Float',
@@ -8,5 +8,5 @@ Contact: api@snaptrade.com
8
8
  =end
9
9
 
10
10
  module SnapTrade
11
- VERSION = '3.0.0'
11
+ VERSION = '3.0.1'
12
12
  end
@@ -62,7 +62,7 @@ describe 'AccountInformationApi' do
62
62
 
63
63
  # unit tests for get_all_account_positions
64
64
  # List all account positions
65
- # Returns a list of all positions in the specified account. The &#x60;results&#x60; list can contain multiple instrument types in the same response, including stocks, ADRs, ETFs, mutual funds, closed-end funds, crypto, futures, option positions, and CFD positions. Use the &#x60;instrument.kind&#x60; discriminator to determine the schema for each position&#39;s &#x60;instrument&#x60;. &#x60;mutualfund&#x60; positions may also include &#x60;cash_equivalent&#x60;. &#x60;stock&#x60;, &#x60;etf&#x60;, and &#x60;mutualfund&#x60; positions may include &#x60;tax_lots&#x60; when tax lot data is enabled for the account. If the connection has become disabled, it can no longer access the latest data from the brokerage, but will continue to return the last available cached state. Please see [this guide](/docs/fix-broken-connections) on how to fix a disabled connection.
65
+ # Returns a list of all positions in the specified account. The &#x60;results&#x60; list can contain multiple instrument types in the same response, including stocks, ADRs, ETFs, mutual funds, closed-end funds, crypto, futures, option positions, and CFD positions. Use the &#x60;instrument.kind&#x60; discriminator to determine the schema for each position&#39;s &#x60;instrument&#x60;. &#x60;mutualfund&#x60; positions may also include &#x60;cash_equivalent&#x60;. &#x60;stock&#x60;, &#x60;etf&#x60;, and &#x60;mutualfund&#x60; positions may include &#x60;tax_lots&#x60; when tax lot data is enabled for the account. To see which institutions support tax lot data, please see our [supported institutions doc](https://support.snaptrade.com/brokerages). If the connection has become disabled, it can no longer access the latest data from the brokerage, but will continue to return the last available cached state. Please see [this guide](/docs/fix-broken-connections) on how to fix a disabled connection.
66
66
  # @param user_id
67
67
  # @param user_secret
68
68
  # @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.0
4
+ version: 3.0.1
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-10 00:00:00.000000000 Z
11
+ date: 2026-08-11 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/account_information_api_spec.rb
581
580
  - spec/api/reference_data_api_spec.rb
581
+ - spec/api/trading_api_spec.rb
582
+ - spec/api/authentication_api_spec.rb
583
+ - spec/api/account_information_api_spec.rb
582
584
  - spec/api/experimental_endpoints_api_spec.rb
583
585
  - spec/api/connections_api_spec.rb
584
- - spec/api/trading_api_spec.rb
585
586
  - spec/api/api_status_api_spec.rb
586
- - spec/api/authentication_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
600
+ - 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
604
+ - 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
590
610
  - spec/models/snap_trade_holdings_total_value_spec.rb
591
- - spec/models/mleg_trading_instrument_spec.rb
592
- - spec/models/cfd_instrument_spec.rb
593
- - spec/models/future_instrument_kind_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
594
618
  - spec/models/rate_of_return_object_spec.rb
595
- - spec/models/account_universal_activity_currency_spec.rb
596
- - spec/models/account_universal_activity_option_symbol_spec.rb
619
+ - spec/models/account_order_record_trailing_stop_spec.rb
620
+ - spec/models/symbol_spec.rb
597
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
626
+ - 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
598
630
  - spec/models/user_i_dand_secret_spec.rb
599
- - spec/models/trade_detection_subscription_spec.rb
600
- - spec/models/account_simple_spec.rb
601
- - spec/models/account_order_record_leg_spec.rb
602
- - spec/models/position_currency_spec.rb
603
- - spec/models/manual_trade_balance_spec.rb
604
- - spec/models/take_profit_spec.rb
605
- - spec/models/auth_type_spec.rb
606
- - spec/models/account_order_record_quote_currency_spec.rb
607
631
  - spec/models/account_universal_activity_symbol_spec.rb
608
- - spec/models/model403_failed_request_response_spec.rb
609
- - spec/models/past_value_spec.rb
610
- - spec/models/option_leg_spec.rb
611
- - spec/models/brokerage_instrument_spec.rb
612
- - spec/models/option_chain_inner_chain_per_root_inner_chain_per_strike_price_inner_spec.rb
613
- - spec/models/snap_trade_holdings_account_spec.rb
614
- - spec/models/delete_user_response_spec.rb
615
- - spec/models/brokerage_spec.rb
616
- - spec/models/model501_not_implemented_response_spec.rb
617
- - spec/models/snap_trade_register_user_request_body_spec.rb
618
- - spec/models/model500_unexpected_exception_response_spec.rb
619
- - spec/models/recent_orders_response_spec.rb
620
- - spec/models/trading_instrument_type_spec.rb
632
+ - spec/models/instrument_spec.rb
633
+ - spec/models/holdings_status_spec.rb
621
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
622
641
  - spec/models/brokerage_authorization_type_read_only_type_spec.rb
623
- - spec/models/account_holdings_account_spec.rb
624
- - spec/models/brokerage_authorization_spec.rb
625
642
  - spec/models/simple_order_form_type_spec.rb
626
- - spec/models/model503_brokerage_request_response_spec.rb
627
- - spec/models/manual_trade_form_notional_value_spec.rb
628
- - spec/models/trade_detection_cancel_subscription_response_spec.rb
629
- - spec/models/position_symbol_spec.rb
630
- - spec/models/model400_failed_request_response_spec.rb
631
- - spec/models/dividend_at_date_spec.rb
632
- - spec/models/action_strict_spec.rb
633
- - spec/models/account_order_record_trailing_stop_spec.rb
634
- - spec/models/option_instrument_kind_spec.rb
635
- - spec/models/model402_brokerage_auth_disabled_response_spec.rb
636
- - spec/models/paginated_universal_activity_spec.rb
637
- - spec/models/mleg_action_strict_spec.rb
638
- - spec/models/balance_currency_spec.rb
639
- - spec/models/partner_data_spec.rb
640
- - spec/models/account_sync_status_spec.rb
641
- - spec/models/account_order_record_status_spec.rb
642
- - spec/models/universal_symbol_spec.rb
643
- - spec/models/account_category_spec.rb
644
- - spec/models/session_event_spec.rb
645
- - spec/models/net_dividend_spec.rb
646
- - spec/models/order_updated_response_order_spec.rb
647
- - spec/models/crypto_order_form_type_spec.rb
648
- - spec/models/crypto_order_preview_estimated_fee_spec.rb
649
- - spec/models/model429_too_many_requests_response_spec.rb
650
- - spec/models/sub_period_return_rate_spec.rb
651
- - spec/models/underlying_symbol_spec.rb
652
- - spec/models/transactions_status_spec.rb
653
- - spec/models/crypto_instrument_kind_spec.rb
654
- - spec/models/etf_instrument_spec.rb
655
- - spec/models/brokerage_authorization_refresh_confirmation_spec.rb
656
- - spec/models/balance_spec.rb
657
- - spec/models/account_order_record_child_brokerage_order_ids_spec.rb
658
- - spec/models/account_information_get_user_account_order_detail_request_spec.rb
659
- - spec/models/other_instrument_kind_spec.rb
660
- - spec/models/complex_order_leg_spec.rb
661
- - spec/models/order_role_spec.rb
662
- - spec/models/stock_instrument_kind_spec.rb
663
- - spec/models/manual_trade_form_with_options_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
664
657
  - spec/models/brokerage_type_spec.rb
665
- - spec/models/stock_instrument_figi_instrument_spec.rb
666
- - spec/models/authentication_login_snap_trade_user200_response_spec.rb
667
- - spec/models/manual_trade_form_complex_spec.rb
668
- - spec/models/crypto_order_form_spec.rb
669
- - spec/models/account_balance_spec.rb
670
- - spec/models/etf_instrument_kind_spec.rb
671
- - spec/models/order_type_strict_spec.rb
672
- - spec/models/crypto_order_preview_spec.rb
673
- - spec/models/strategy_quotes_spec.rb
674
- - spec/models/crypto_instrument_spec.rb
675
- - spec/models/manual_trade_place_time_in_force_strict_spec.rb
658
+ - spec/models/underlying_cfd_instrument_spec.rb
659
+ - spec/models/paginated_universal_activity_spec.rb
676
660
  - spec/models/trade_detection_cancel_subscription_request_spec.rb
677
- - spec/models/strategy_type_spec.rb
678
- - spec/models/model403_feature_not_enabled_response_spec.rb
661
+ - spec/models/past_value_spec.rb
662
+ - spec/models/option_strategy_legs_inner_spec.rb
679
663
  - spec/models/symbol_exchange_spec.rb
680
- - spec/models/simple_order_form_time_in_force_spec.rb
681
- - spec/models/instrument_spec.rb
664
+ - spec/models/complex_order_leg_spec.rb
682
665
  - spec/models/crypto_trading_instrument_spec.rb
683
- - spec/models/account_universal_activity_currency_universal_symbol_spec.rb
684
- - spec/models/snap_trade_login_user_request_body_spec.rb
666
+ - spec/models/option_chain_inner_spec.rb
667
+ - spec/models/complex_order_response_type_spec.rb
668
+ - spec/models/trading_instrument_type_spec.rb
685
669
  - spec/models/account_value_history_response_spec.rb
686
- - spec/models/order_updated_response_spec.rb
687
- - spec/models/option_leg_action_spec.rb
688
- - spec/models/option_type_spec.rb
689
- - spec/models/currency_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
690
679
  - spec/models/brokerage_authorization_type_read_only_brokerage_spec.rb
691
- - spec/models/connection_portal_version_spec.rb
692
- - spec/models/account_balance_total_spec.rb
680
+ - spec/models/account_order_record_child_brokerage_order_ids_spec.rb
681
+ - 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
693
688
  - spec/models/manual_trade_symbol_spec.rb
694
- - spec/models/symbol_spec.rb
695
- - spec/models/option_strategy_spec.rb
696
- - spec/models/account_order_record_quote_universal_symbol_spec.rb
697
- - spec/models/option_quote_spec.rb
698
- - spec/models/delete_connection_confirmation_spec.rb
699
- - spec/models/cryptocurrency_pair_quote_spec.rb
700
- - spec/models/model401_failed_request_response_spec.rb
701
- - spec/models/account_value_history_item_spec.rb
702
- - spec/models/all_account_positions_response_data_freshness_spec.rb
703
- - spec/models/cryptocurrency_pair_spec.rb
704
- - spec/models/cef_instrument_spec.rb
705
- - spec/models/notional_value_spec.rb
706
- - spec/models/rate_of_return_response_spec.rb
707
- - spec/models/manual_trade_form_spec.rb
708
- - spec/models/symbol_query_spec.rb
709
- - spec/models/manual_trade_impact_spec.rb
710
- - spec/models/underlying_cfd_instrument_spec.rb
711
- - spec/models/pagination_details_spec.rb
712
- - spec/models/model404_failed_request_response_spec.rb
713
- - spec/models/brokerage_authorization_disabled_confirmation_spec.rb
714
- - spec/models/options_symbol_option_type_spec.rb
715
- - spec/models/investment_account_market_value_spec.rb
716
- - spec/models/complex_order_response_spec.rb
717
- - spec/models/mleg_order_response_spec.rb
689
+ - spec/models/crypto_trading_instrument_type_spec.rb
690
+ - spec/models/account_sync_status_spec.rb
691
+ - spec/models/action_strict_spec.rb
692
+ - spec/models/option_leg_action_spec.rb
693
+ - spec/models/mleg_trade_form_spec.rb
694
+ - spec/models/manual_trade_form_complex_spec.rb
695
+ - spec/models/investment_account_spec.rb
696
+ - 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
707
+ - spec/models/account_order_record_spec.rb
718
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
719
713
  - spec/models/option_quote_greeks_spec.rb
720
- - spec/models/exchange_rate_pairs_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
721
717
  - spec/models/model402_brokerage_auth_already_disabled_exception_spec.rb
722
- - spec/models/trade_detection_add_subscription_request_spec.rb
723
- - spec/models/adr_instrument_spec.rb
724
- - spec/models/holdings_status_spec.rb
725
- - spec/models/manual_trade_and_impact_spec.rb
726
- - spec/models/brokerage_instruments_response_spec.rb
727
- - spec/models/symbol_currency_spec.rb
728
- - spec/models/connection_type_spec.rb
729
- - spec/models/trading_instrument_spec.rb
730
- - spec/models/manual_trade_replace_form_spec.rb
731
- - spec/models/underlying_symbol_exchange_spec.rb
732
- - spec/models/universal_activity_spec.rb
733
- - spec/models/stop_loss_spec.rb
734
- - spec/models/kind_spec.rb
735
- - spec/models/option_impact_spec.rb
736
- - spec/models/options_symbol_spec.rb
737
- - spec/models/tax_lot_spec.rb
718
+ - spec/models/dividend_at_date_spec.rb
738
719
  - spec/models/brokerage_authorization_type_read_only_spec.rb
739
- - spec/models/account_order_record_option_symbol_spec.rb
740
- - spec/models/position_spec.rb
741
- - spec/models/encrypted_response_encrypted_message_data_spec.rb
742
- - spec/models/strategy_quotes_greek_spec.rb
743
- - spec/models/brokerage_authorization_transactions_sync_confirmation_spec.rb
744
- - spec/models/option_strategy_legs_inner_spec.rb
745
- - spec/models/connection_account_spec.rb
746
- - spec/models/manual_trade_spec.rb
747
- - spec/models/cancel_order_response_spec.rb
748
- - spec/models/net_contributions_spec.rb
749
- - spec/models/login_redirect_uri_spec.rb
750
- - spec/models/mutual_fund_instrument_spec.rb
751
- - spec/models/trading_session_spec.rb
752
- - spec/models/status_spec.rb
720
+ - spec/models/currency_spec.rb
721
+ - spec/models/account_position_spec.rb
722
+ - spec/models/symbol_query_spec.rb
723
+ - 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
729
+ - 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
753
738
  - spec/models/option_brokerage_symbol_spec.rb
754
- - spec/models/mutual_fund_instrument_kind_spec.rb
739
+ - spec/models/account_simple_spec.rb
740
+ - spec/models/tax_lot_spec.rb
741
+ - 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
755
745
  - spec/models/validated_trade_body_spec.rb
756
- - spec/models/exchange_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
757
763
  - spec/models/simple_order_form_spec.rb
758
- - spec/models/account_spec.rb
759
- - spec/models/session_event_type_spec.rb
760
- - spec/models/adr_instrument_kind_spec.rb
761
- - spec/models/complex_order_response_type_spec.rb
762
- - spec/models/trading_search_cryptocurrency_pair_instruments200_response_spec.rb
763
- - spec/models/timeframe_spec.rb
764
- - spec/models/complex_order_leg_order_role_spec.rb
765
- - spec/models/time_in_force_strict_spec.rb
766
- - spec/models/account_position_spec.rb
764
+ - spec/models/authentication_login_snap_trade_user200_response_spec.rb
765
+ - spec/models/simple_order_form_time_in_force_spec.rb
766
+ - spec/models/position_symbol_spec.rb
767
767
  - spec/models/cash_change_direction_spec.rb
768
- - spec/models/other_instrument_spec.rb
769
- - spec/models/strategy_order_record_status_spec.rb
770
- - spec/models/connection_account_sync_status_spec.rb
771
- - spec/models/option_chain_inner_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
772
773
  - spec/models/security_type_spec.rb
773
- - spec/models/crypto_trading_instrument_type_spec.rb
774
- - spec/models/account_order_record_leg_instrument_spec.rb
775
- - spec/models/account_holdings_spec.rb
776
- - spec/models/account_status_spec.rb
777
- - spec/models/account_order_record_status_v2_spec.rb
774
+ - 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
778
  - spec/models/underlying_symbol_type_spec.rb
779
- - spec/models/type_spec.rb
780
- - spec/models/manual_trade_form_bracket_spec.rb
781
- - spec/models/model425_failed_request_response_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
789
+ - spec/models/underlying_option_instrument_spec.rb
790
+ - spec/models/position_currency_spec.rb
791
+ - 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
794
+ - 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
782
801
  - spec/models/crypto_order_form_time_in_force_spec.rb
783
- - spec/models/options_position_currency_spec.rb
784
- - spec/models/monthly_dividends_spec.rb
785
- - spec/models/action_strict_with_options_spec.rb
786
- - spec/models/mleg_instrument_type_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
787
810
  - spec/models/mleg_order_type_strict_spec.rb
788
- - spec/models/underlying_option_instrument_spec.rb
789
- - spec/models/account_orders_v2_response_spec.rb
790
- - spec/models/account_order_record_universal_symbol_spec.rb
791
- - spec/models/all_account_positions_response_spec.rb
792
- - spec/models/strategy_order_record_spec.rb
793
- - spec/models/figi_instrument_spec.rb
794
- - spec/models/encrypted_response_spec.rb
795
- - spec/models/account_universal_activity_spec.rb
796
- - spec/models/account_order_record_spec.rb
797
- - spec/models/mleg_trade_form_spec.rb
798
- - spec/models/mleg_leg_spec.rb
799
- - spec/models/future_instrument_spec.rb
800
- - spec/models/investment_account_spec.rb
801
- - spec/models/stock_instrument_spec.rb
802
- - spec/models/option_instrument_spec.rb
803
- - spec/models/trailing_stop_spec.rb
804
- - spec/models/symbols_quotes_inner_spec.rb
805
- - spec/models/us_exchange_spec.rb
806
- - spec/models/manual_trade_form_complex_type_spec.rb
807
- - spec/models/options_position_spec.rb
808
- - spec/models/mleg_price_effect_strict_spec.rb
809
- - spec/models/child_brokerage_order_ids_spec.rb
810
- - spec/models/account_order_record_v2_spec.rb
811
- - spec/models/cfd_instrument_kind_spec.rb
811
+ - spec/models/account_balance_total_spec.rb
812
812
  - spec/spec_helper.rb