snaptrade 3.0.0 → 3.0.2

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: 5921dd45f1d72555d6562613f53f722c5d2b4f59ab58226c68258d4f53a74e72
4
+ data.tar.gz: 4bbfe44748e5fc9b6200514c70ac147abc7ba3f7f5bf4abc5c2ddf65a7285b8d
5
5
  SHA512:
6
- metadata.gz: e9ba46c4d829b59a31a604216b1b7791d00a34e715076db22ad314c7e4076a59ad8e30710def15d7c7a56be64237709007aeff2a91a6846e403923acfe6c0914
7
- data.tar.gz: ec1804572c4457ae57d85b23115cd99a1e2321ebbf77c5271904635bb636d9f131711096bea839a02fb4d112112c9e8935fe2c566fe22f36204649387366f750
6
+ metadata.gz: b234daaebdaa6c3376cbfcb6d1ff76e344de8145f3591e73f041603c3c46325fbafc44cdfdcabf07fcd78cfff73ba61dd710eeea4bc4e72247dd24b7ae321159
7
+ data.tar.gz: c5d16b1bbacdf4d53bb8e22216a5327dca37da256f00ba529dd7655a9f5f9350e1fc372599eaaea6cb8f5fc137096b174f9f0135df589c2535be6f954a9a3955
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.2)
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.2-blue)](https://rubygems.org/gems/snaptrade/versions/3.0.2)
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.2'
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
 
@@ -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`,
@@ -2501,9 +2508,10 @@ p result
2501
2508
  Order ID returned by brokerage. This is the unique identifier for the order in
2502
2509
  the brokerage system.
2503
2510
 
2504
- ##### action: [`ActionStrict`](./lib/snaptrade/models/action_strict.rb)<a id="action-actionstrictlibsnaptrademodelsaction_strictrb"></a>
2511
+ ##### action: [`ActionStrictWithOptions`](./lib/snaptrade/models/action_strict_with_options.rb)<a id="action-actionstrictwithoptionslibsnaptrademodelsaction_strict_with_optionsrb"></a>
2505
2512
  The action describes the intent or side of a trade. This is either `BUY` or
2506
- `SELL`.
2513
+ `SELL` for Equity symbols or `BUY_TO_OPEN`, `BUY_TO_CLOSE`, `SELL_TO_OPEN` or
2514
+ `SELL_TO_CLOSE` for Options.
2507
2515
 
2508
2516
  ##### order_type: [`OrderTypeStrict`](./lib/snaptrade/models/order_type_strict.rb)<a id="order_type-ordertypestrictlibsnaptrademodelsorder_type_strictrb"></a>
2509
2517
  The type of order to place. - For `Limit` and `StopLimit` orders, the `price`
@@ -2529,7 +2537,8 @@ The ID of the account to execute the trade on.
2529
2537
  The limit price for `Limit` and `StopLimit` orders.
2530
2538
 
2531
2539
  ##### symbol: `String`<a id="symbol-string"></a>
2532
- The security's trading ticker symbol
2540
+ The security's trading ticker symbol. Use the OCC symbol to replace an option
2541
+ order.
2533
2542
 
2534
2543
  ##### stop: `Float`<a id="stop-float"></a>
2535
2544
  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]
@@ -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]
@@ -1696,14 +1700,14 @@ module SnapTrade
1696
1700
  # returned in the response going forward. Only supported on some brokerages
1697
1701
  #
1698
1702
  # @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`.
1703
+ # @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
1704
  # @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
1705
  # @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
1706
  # @param account_id [String] The ID of the account to execute the trade on.
1703
1707
  # @param user_id [String]
1704
1708
  # @param user_secret [String]
1705
1709
  # @param price [Float] The limit price for `Limit` and `StopLimit` orders.
1706
- # @param symbol [String] The security's trading ticker symbol
1710
+ # @param symbol [String] The security's trading ticker symbol. Use the OCC symbol to replace an option order.
1707
1711
  # @param stop [Float] The price at which a stop order is triggered for `Stop` and `StopLimit` orders.
1708
1712
  # @param units [Float]
1709
1713
  # @param body [ManualTradeReplaceForm]
@@ -1730,14 +1734,14 @@ module SnapTrade
1730
1734
  # returned in the response going forward. Only supported on some brokerages
1731
1735
  #
1732
1736
  # @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`.
1737
+ # @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
1738
  # @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
1739
  # @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
1740
  # @param account_id [String] The ID of the account to execute the trade on.
1737
1741
  # @param user_id [String]
1738
1742
  # @param user_secret [String]
1739
1743
  # @param price [Float] The limit price for `Limit` and `StopLimit` orders.
1740
- # @param symbol [String] The security's trading ticker symbol
1744
+ # @param symbol [String] The security's trading ticker symbol. Use the OCC symbol to replace an option order.
1741
1745
  # @param stop [Float] The price at which a stop order is triggered for `Stop` and `StopLimit` orders.
1742
1746
  # @param units [Float]
1743
1747
  # @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',
@@ -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.0'
11
+ VERSION = '3.0.2'
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
@@ -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.0
4
+ version: 3.0.2
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-13 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
- - spec/api/reference_data_api_spec.rb
582
580
  - spec/api/experimental_endpoints_api_spec.rb
583
- - spec/api/connections_api_spec.rb
584
- - spec/api/trading_api_spec.rb
585
581
  - spec/api/api_status_api_spec.rb
586
582
  - spec/api/authentication_api_spec.rb
583
+ - spec/api/reference_data_api_spec.rb
584
+ - spec/api/account_information_api_spec.rb
585
+ - spec/api/connections_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/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
594
- - 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
597
- - spec/models/option_chain_inner_chain_per_root_inner_spec.rb
598
- - 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
590
+ - spec/models/security_type_spec.rb
591
+ - spec/models/option_type_spec.rb
592
+ - spec/models/monthly_dividends_spec.rb
593
+ - spec/models/underlying_option_instrument_spec.rb
594
+ - spec/models/time_in_force_strict_spec.rb
595
+ - spec/models/trading_search_cryptocurrency_pair_instruments200_response_spec.rb
596
+ - spec/models/simple_order_form_type_spec.rb
597
+ - spec/models/crypto_order_form_time_in_force_spec.rb
604
598
  - spec/models/take_profit_spec.rb
605
- - spec/models/auth_type_spec.rb
606
- - spec/models/account_order_record_quote_currency_spec.rb
607
- - spec/models/account_universal_activity_symbol_spec.rb
599
+ - spec/models/account_universal_activity_currency_spec.rb
600
+ - spec/models/us_exchange_spec.rb
601
+ - spec/models/crypto_trading_instrument_type_spec.rb
608
602
  - 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
621
- - spec/models/performance_custom_spec.rb
622
- - spec/models/brokerage_authorization_type_read_only_type_spec.rb
623
- - spec/models/account_holdings_account_spec.rb
603
+ - spec/models/order_type_strict_spec.rb
604
+ - spec/models/partner_data_spec.rb
605
+ - spec/models/status_spec.rb
606
+ - spec/models/mleg_trade_form_spec.rb
607
+ - spec/models/future_instrument_kind_spec.rb
608
+ - spec/models/other_instrument_spec.rb
609
+ - spec/models/timeframe_spec.rb
624
610
  - spec/models/brokerage_authorization_spec.rb
625
- - 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
611
+ - spec/models/complex_order_response_spec.rb
612
+ - spec/models/underlying_cfd_instrument_spec.rb
613
+ - spec/models/option_strategy_legs_inner_spec.rb
614
+ - spec/models/brokerage_authorization_refresh_confirmation_spec.rb
615
+ - spec/models/account_order_record_spec.rb
616
+ - spec/models/investment_account_market_value_spec.rb
617
+ - spec/models/currency_spec.rb
618
+ - spec/models/symbol_query_spec.rb
619
+ - spec/models/snap_trade_login_user_request_body_spec.rb
620
+ - spec/models/holdings_status_spec.rb
621
+ - spec/models/tax_lot_spec.rb
622
+ - spec/models/model429_too_many_requests_response_spec.rb
623
+ - spec/models/action_strict_with_options_spec.rb
631
624
  - 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
625
+ - spec/models/performance_custom_spec.rb
640
626
  - spec/models/account_sync_status_spec.rb
641
- - spec/models/account_order_record_status_spec.rb
642
627
  - 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
664
- - spec/models/brokerage_type_spec.rb
665
628
  - 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
629
+ - spec/models/options_symbol_spec.rb
630
+ - spec/models/mleg_instrument_type_spec.rb
631
+ - spec/models/option_leg_spec.rb
632
+ - spec/models/model425_failed_request_response_spec.rb
633
+ - spec/models/user_i_dand_secret_spec.rb
634
+ - spec/models/account_order_record_leg_instrument_spec.rb
635
+ - spec/models/cryptocurrency_pair_quote_spec.rb
636
+ - spec/models/option_chain_inner_chain_per_root_inner_spec.rb
637
+ - spec/models/strategy_quotes_greek_spec.rb
638
+ - spec/models/manual_trade_form_bracket_spec.rb
639
+ - spec/models/brokerage_instruments_response_spec.rb
640
+ - spec/models/sub_period_return_rate_spec.rb
672
641
  - 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
676
- - 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
679
- - spec/models/symbol_exchange_spec.rb
680
- - spec/models/simple_order_form_time_in_force_spec.rb
642
+ - spec/models/crypto_order_form_type_spec.rb
643
+ - spec/models/encrypted_response_encrypted_message_data_spec.rb
644
+ - spec/models/etf_instrument_spec.rb
681
645
  - spec/models/instrument_spec.rb
682
- - 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
685
- - spec/models/account_value_history_response_spec.rb
646
+ - spec/models/session_event_type_spec.rb
647
+ - spec/models/model403_feature_not_enabled_response_spec.rb
648
+ - spec/models/mutual_fund_instrument_spec.rb
649
+ - spec/models/trailing_stop_spec.rb
650
+ - spec/models/account_value_history_item_spec.rb
651
+ - spec/models/exchange_spec.rb
652
+ - spec/models/snap_trade_holdings_account_spec.rb
686
653
  - 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
690
- - 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
693
- - spec/models/manual_trade_symbol_spec.rb
694
- - spec/models/symbol_spec.rb
654
+ - spec/models/account_status_spec.rb
655
+ - spec/models/account_simple_spec.rb
656
+ - spec/models/session_event_spec.rb
657
+ - spec/models/trade_detection_cancel_subscription_request_spec.rb
658
+ - spec/models/notional_value_spec.rb
659
+ - spec/models/stop_loss_spec.rb
660
+ - spec/models/account_universal_activity_symbol_spec.rb
661
+ - spec/models/brokerage_spec.rb
662
+ - spec/models/connection_type_spec.rb
695
663
  - 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
664
+ - spec/models/adr_instrument_kind_spec.rb
665
+ - spec/models/account_universal_activity_option_symbol_spec.rb
666
+ - spec/models/brokerage_authorization_type_read_only_type_spec.rb
667
+ - spec/models/net_dividend_spec.rb
668
+ - spec/models/manual_trade_balance_spec.rb
669
+ - spec/models/model501_not_implemented_response_spec.rb
670
+ - spec/models/crypto_instrument_kind_spec.rb
671
+ - spec/models/mleg_trading_instrument_spec.rb
672
+ - spec/models/balance_currency_spec.rb
673
+ - spec/models/mleg_price_effect_strict_spec.rb
674
+ - spec/models/adr_instrument_spec.rb
675
+ - spec/models/manual_trade_form_complex_type_spec.rb
676
+ - spec/models/account_order_record_child_brokerage_order_ids_spec.rb
703
677
  - 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
678
+ - spec/models/option_chain_inner_spec.rb
679
+ - spec/models/account_order_record_quote_universal_symbol_spec.rb
680
+ - spec/models/snap_trade_register_user_request_body_spec.rb
681
+ - spec/models/child_brokerage_order_ids_spec.rb
682
+ - spec/models/brokerage_type_spec.rb
683
+ - spec/models/account_balance_total_spec.rb
684
+ - spec/models/account_information_get_user_account_order_detail_request_spec.rb
685
+ - spec/models/account_order_record_option_symbol_spec.rb
686
+ - spec/models/connection_account_sync_status_spec.rb
687
+ - spec/models/account_holdings_account_spec.rb
688
+ - spec/models/account_position_spec.rb
689
+ - spec/models/account_order_record_universal_symbol_spec.rb
690
+ - spec/models/underlying_symbol_exchange_spec.rb
691
+ - spec/models/trading_instrument_spec.rb
692
+ - spec/models/strategy_order_record_status_spec.rb
693
+ - spec/models/option_impact_spec.rb
694
+ - spec/models/mutual_fund_instrument_kind_spec.rb
695
+ - spec/models/account_universal_activity_currency_universal_symbol_spec.rb
709
696
  - 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
697
+ - spec/models/simple_order_form_time_in_force_spec.rb
698
+ - spec/models/all_account_positions_response_data_freshness_spec.rb
699
+ - spec/models/account_order_record_trailing_stop_spec.rb
718
700
  - spec/models/cef_instrument_kind_spec.rb
701
+ - spec/models/symbol_spec.rb
702
+ - spec/models/brokerage_authorization_disabled_confirmation_spec.rb
703
+ - spec/models/mleg_action_strict_spec.rb
704
+ - spec/models/manual_trade_spec.rb
719
705
  - spec/models/option_quote_greeks_spec.rb
720
- - spec/models/exchange_rate_pairs_spec.rb
721
- - 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
706
+ - spec/models/account_order_record_leg_spec.rb
707
+ - spec/models/manual_trade_form_complex_spec.rb
708
+ - spec/models/pagination_details_spec.rb
727
709
  - 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
738
- - 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
753
- - spec/models/option_brokerage_symbol_spec.rb
754
- - spec/models/mutual_fund_instrument_kind_spec.rb
755
- - spec/models/validated_trade_body_spec.rb
756
- - spec/models/exchange_spec.rb
757
- - 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
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
772
- - 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
710
+ - spec/models/trading_instrument_type_spec.rb
711
+ - spec/models/model503_brokerage_request_response_spec.rb
712
+ - spec/models/model400_failed_request_response_spec.rb
713
+ - spec/models/crypto_trading_instrument_spec.rb
714
+ - spec/models/option_instrument_spec.rb
715
+ - spec/models/manual_trade_form_spec.rb
775
716
  - spec/models/account_holdings_spec.rb
776
- - spec/models/account_status_spec.rb
717
+ - spec/models/symbol_exchange_spec.rb
718
+ - spec/models/login_redirect_uri_spec.rb
719
+ - spec/models/all_account_positions_response_spec.rb
720
+ - spec/models/model402_brokerage_auth_disabled_response_spec.rb
721
+ - spec/models/recent_orders_response_spec.rb
722
+ - spec/models/net_contributions_spec.rb
723
+ - spec/models/manual_trade_replace_form_spec.rb
724
+ - spec/models/figi_instrument_spec.rb
725
+ - spec/models/trade_detection_cancel_subscription_response_spec.rb
726
+ - spec/models/symbols_quotes_inner_spec.rb
727
+ - spec/models/cfd_instrument_spec.rb
728
+ - spec/models/option_instrument_kind_spec.rb
729
+ - spec/models/other_instrument_kind_spec.rb
730
+ - spec/models/exchange_rate_pairs_spec.rb
731
+ - spec/models/trade_detection_subscription_spec.rb
732
+ - spec/models/brokerage_authorization_type_read_only_brokerage_spec.rb
733
+ - spec/models/options_position_spec.rb
734
+ - spec/models/order_updated_response_order_spec.rb
735
+ - spec/models/options_symbol_option_type_spec.rb
736
+ - spec/models/option_leg_action_spec.rb
737
+ - spec/models/cfd_instrument_kind_spec.rb
777
738
  - spec/models/account_order_record_status_v2_spec.rb
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
782
- - 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
739
+ - spec/models/complex_order_response_type_spec.rb
787
740
  - 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
741
  - spec/models/strategy_order_record_spec.rb
793
- - spec/models/figi_instrument_spec.rb
742
+ - spec/models/strategy_quotes_spec.rb
743
+ - spec/models/mleg_order_response_spec.rb
744
+ - spec/models/cancel_order_response_spec.rb
745
+ - spec/models/model401_failed_request_response_spec.rb
746
+ - spec/models/crypto_instrument_spec.rb
747
+ - spec/models/order_role_spec.rb
748
+ - spec/models/strategy_type_spec.rb
749
+ - spec/models/etf_instrument_kind_spec.rb
750
+ - spec/models/auth_type_spec.rb
751
+ - spec/models/simple_order_form_spec.rb
752
+ - spec/models/kind_spec.rb
753
+ - spec/models/trade_detection_add_subscription_request_spec.rb
754
+ - spec/models/position_currency_spec.rb
755
+ - spec/models/delete_user_response_spec.rb
794
756
  - spec/models/encrypted_response_spec.rb
757
+ - spec/models/underlying_symbol_type_spec.rb
758
+ - spec/models/account_spec.rb
759
+ - spec/models/paginated_universal_activity_spec.rb
760
+ - spec/models/type_spec.rb
761
+ - spec/models/complex_order_leg_spec.rb
762
+ - spec/models/future_instrument_spec.rb
763
+ - spec/models/stock_instrument_kind_spec.rb
764
+ - spec/models/manual_trade_place_time_in_force_strict_spec.rb
765
+ - spec/models/cash_change_direction_spec.rb
766
+ - spec/models/crypto_order_form_spec.rb
767
+ - spec/models/rate_of_return_object_spec.rb
768
+ - spec/models/brokerage_authorization_transactions_sync_confirmation_spec.rb
769
+ - spec/models/manual_trade_form_notional_value_spec.rb
770
+ - spec/models/balance_spec.rb
771
+ - spec/models/connection_account_spec.rb
772
+ - spec/models/manual_trade_symbol_spec.rb
773
+ - spec/models/model404_failed_request_response_spec.rb
774
+ - spec/models/option_brokerage_symbol_spec.rb
795
775
  - spec/models/account_universal_activity_spec.rb
796
- - spec/models/account_order_record_spec.rb
797
- - spec/models/mleg_trade_form_spec.rb
776
+ - spec/models/snap_trade_holdings_total_value_spec.rb
777
+ - spec/models/position_spec.rb
778
+ - spec/models/connection_portal_version_spec.rb
779
+ - spec/models/account_order_record_v2_spec.rb
798
780
  - spec/models/mleg_leg_spec.rb
799
- - spec/models/future_instrument_spec.rb
781
+ - spec/models/option_chain_inner_chain_per_root_inner_chain_per_strike_price_inner_spec.rb
782
+ - spec/models/action_strict_spec.rb
783
+ - spec/models/complex_order_leg_order_role_spec.rb
784
+ - spec/models/trading_session_spec.rb
785
+ - spec/models/authentication_login_snap_trade_user200_response_spec.rb
786
+ - spec/models/rate_of_return_response_spec.rb
787
+ - spec/models/model500_unexpected_exception_response_spec.rb
788
+ - spec/models/account_balance_spec.rb
789
+ - spec/models/validated_trade_body_spec.rb
790
+ - spec/models/option_quote_spec.rb
791
+ - spec/models/manual_trade_form_with_options_spec.rb
792
+ - spec/models/delete_connection_confirmation_spec.rb
793
+ - spec/models/account_category_spec.rb
794
+ - spec/models/brokerage_instrument_spec.rb
795
+ - spec/models/account_order_record_status_spec.rb
796
+ - spec/models/account_value_history_response_spec.rb
797
+ - spec/models/brokerage_authorization_type_read_only_spec.rb
798
+ - spec/models/model402_brokerage_auth_already_disabled_exception_spec.rb
799
+ - spec/models/crypto_order_preview_estimated_fee_spec.rb
800
+ - spec/models/universal_activity_spec.rb
801
+ - spec/models/position_symbol_spec.rb
802
+ - spec/models/manual_trade_and_impact_spec.rb
803
+ - spec/models/underlying_symbol_spec.rb
804
+ - spec/models/account_order_record_quote_currency_spec.rb
800
805
  - spec/models/investment_account_spec.rb
806
+ - spec/models/cef_instrument_spec.rb
807
+ - spec/models/options_position_currency_spec.rb
801
808
  - 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
809
+ - spec/models/transactions_status_spec.rb
810
+ - spec/models/past_value_spec.rb
811
+ - spec/models/account_orders_v2_response_spec.rb
812
812
  - spec/spec_helper.rb