snaptrade 2.0.213 → 2.0.215
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 +4 -4
- data/Gemfile.lock +3 -3
- data/README.md +21 -17
- data/lib/snaptrade/api/account_information_api.rb +22 -16
- data/lib/snaptrade/api/options_api.rb +6 -6
- data/lib/snaptrade/api/trading_api.rb +14 -14
- data/lib/snaptrade/api/transactions_and_reporting_api.rb +12 -12
- data/lib/snaptrade/models/brokerage_authorization.rb +1 -1
- data/lib/snaptrade/version.rb +1 -1
- data/spec/api/account_information_api_spec.rb +3 -3
- data/spec/api/options_api_spec.rb +1 -1
- data/spec/api/trading_api_spec.rb +3 -3
- data/spec/api/transactions_and_reporting_api_spec.rb +2 -2
- metadata +197 -197
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e5228d9ae3c8e78bc2ef1d5800ede46b0f9f61acb058418ab1bc35dd0a928656
|
|
4
|
+
data.tar.gz: d4e6f62110b5abe589ba6d4b2987c3d6e3d4b265df1f1790ea0b186932da04b0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 662f98711536cc7bb8f2721bbb6678f7838fc59f83c773cb52881422ab0f739b14b3f44b22d4832415e9581d47a2a43b513a70610b7003cf7a2bd1d0dbf3e3ea
|
|
7
|
+
data.tar.gz: d4166a291de6c318a0e154ff548fc8ddcc1a0544267c7e96876c5ab037db38e9339e1deaa21fa4a11180cd419042b403a6899c61cf0a77c8e964e82e6c9247c9
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
snaptrade (2.0.
|
|
4
|
+
snaptrade (2.0.215)
|
|
5
5
|
faraday (>= 1.0.1, < 3.0)
|
|
6
6
|
faraday-multipart (~> 1.0, >= 1.0.4)
|
|
7
7
|
|
|
@@ -29,7 +29,7 @@ GEM
|
|
|
29
29
|
method_source (1.1.0)
|
|
30
30
|
multipart-post (2.4.1)
|
|
31
31
|
parallel (1.28.0)
|
|
32
|
-
parser (3.3.
|
|
32
|
+
parser (3.3.12.0)
|
|
33
33
|
ast (~> 2.4.1)
|
|
34
34
|
racc
|
|
35
35
|
prism (1.9.0)
|
|
@@ -68,7 +68,7 @@ GEM
|
|
|
68
68
|
rubocop-ast (>= 1.2.0, < 2.0)
|
|
69
69
|
ruby-progressbar (~> 1.7)
|
|
70
70
|
unicode-display_width (>= 1.4.0, < 3.0)
|
|
71
|
-
rubocop-ast (1.
|
|
71
|
+
rubocop-ast (1.50.0)
|
|
72
72
|
parser (>= 3.3.7.2)
|
|
73
73
|
prism (~> 1.7)
|
|
74
74
|
ruby-progressbar (1.13.0)
|
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
|
-
[](https://rubygems.org/gems/snaptrade/versions/2.0.215)
|
|
10
10
|
[](https://snaptrade.com/)
|
|
11
11
|
|
|
12
12
|
</div>
|
|
@@ -94,7 +94,7 @@ Connect brokerage accounts to your app for live positions and trading
|
|
|
94
94
|
Add to Gemfile:
|
|
95
95
|
|
|
96
96
|
```ruby
|
|
97
|
-
gem 'snaptrade', '~> 2.0.
|
|
97
|
+
gem 'snaptrade', '~> 2.0.215'
|
|
98
98
|
```
|
|
99
99
|
|
|
100
100
|
## Getting Started<a id="getting-started"></a>
|
|
@@ -298,13 +298,13 @@ p result
|
|
|
298
298
|
### `snaptrade.account_information.get_all_user_holdings`<a id="snaptradeaccount_informationget_all_user_holdings"></a>
|
|
299
299
|

|
|
300
300
|
|
|
301
|
-
**Deprecated
|
|
301
|
+
**Deprecated.** Use the account-specific holdings endpoint instead.
|
|
302
|
+
|
|
303
|
+
This endpoint will return HTTP 410 Gone for all customers that sign up after April 25, 2026.
|
|
302
304
|
|
|
303
305
|
List all accounts for the user, plus balances, positions, and orders for each
|
|
304
306
|
account.
|
|
305
307
|
|
|
306
|
-
**Note:** This endpoint will return HTTP 410 Gone for all customers that sign up after April 25, 2026.
|
|
307
|
-
|
|
308
308
|
|
|
309
309
|
#### 🛠️ Usage<a id="🛠️-usage"></a>
|
|
310
310
|
|
|
@@ -515,9 +515,9 @@ Number of days in the past to fetch the most recent orders. Defaults to the last
|
|
|
515
515
|
### `snaptrade.account_information.get_user_account_positions`<a id="snaptradeaccount_informationget_user_account_positions"></a>
|
|
516
516
|

|
|
517
517
|
|
|
518
|
-
|
|
518
|
+
**Deprecated.** Use the newer [unified positions endpoint](/reference/Account%20Information/AccountInformation_getAllAccountPositions) instead. This will allow you to get both equity and option positions in a single call, as well as additional asset classes such as futures.
|
|
519
519
|
|
|
520
|
-
|
|
520
|
+
Returns a list of stock/ETF/crypto/mutual fund positions in the specified account. For option positions, please use the [options endpoint](/reference/Options/Options_listOptionHoldings).
|
|
521
521
|
|
|
522
522
|
Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access:
|
|
523
523
|
- If you do, this endpoint returns real-time data.
|
|
@@ -641,6 +641,9 @@ returns all six supported timeframes.
|
|
|
641
641
|

|
|
642
642
|
|
|
643
643
|
**Deprecated.** Use the finer-grained account data endpoints instead: [balances](/reference/Account%20Information/AccountInformation_getUserAccountBalance), [positions](/reference/Account%20Information/AccountInformation_getAllAccountPositions), and [orders](/reference/Account%20Information/AccountInformation_getUserAccountOrders).
|
|
644
|
+
|
|
645
|
+
This endpoint will return HTTP 410 Gone for all customers that sign up after May 11, 2026.
|
|
646
|
+
|
|
644
647
|
Returns a list of balances, positions, and recent orders for the specified account.
|
|
645
648
|
|
|
646
649
|
Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access:
|
|
@@ -1575,9 +1578,9 @@ p result
|
|
|
1575
1578
|
### `snaptrade.options.list_option_holdings`<a id="snaptradeoptionslist_option_holdings"></a>
|
|
1576
1579
|

|
|
1577
1580
|
|
|
1578
|
-
|
|
1581
|
+
**Deprecated.** Use the newer [unified positions endpoint](/reference/Account%20Information/AccountInformation_getAllAccountPositions) instead. This will allow you to get both equity and option positions in a single call, as well as additional asset classes such as futures.
|
|
1579
1582
|
|
|
1580
|
-
|
|
1583
|
+
Returns a list of option positions in the specified account. For stock/ETF/crypto/mutual fund positions, please use the [positions endpoint](/reference/Account%20Information/AccountInformation_getUserAccountPositions).
|
|
1581
1584
|
|
|
1582
1585
|
Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access:
|
|
1583
1586
|
- If you do, this endpoint returns real-time data.
|
|
@@ -1997,7 +2000,8 @@ the brokerage system.
|
|
|
1997
2000
|
### `snaptrade.trading.cancel_user_account_order`<a id="snaptradetradingcancel_user_account_order"></a>
|
|
1998
2001
|

|
|
1999
2002
|
|
|
2000
|
-
**
|
|
2003
|
+
**Deprecated.** Use [the new cancel order endpoint](/reference/Trading/Trading_cancelOrder) instead.
|
|
2004
|
+
|
|
2001
2005
|
Attempts to cancel an open order with the brokerage. If the order is no longer cancellable, the request will be rejected.
|
|
2002
2006
|
|
|
2003
2007
|
|
|
@@ -2267,8 +2271,6 @@ The quotes returned can be delayed depending on the brokerage the account belong
|
|
|
2267
2271
|
|
|
2268
2272
|
This endpoint does not work for options quotes.
|
|
2269
2273
|
|
|
2270
|
-
This endpoint is disabled for free plans by default. Please contact support to enable this endpoint if needed.
|
|
2271
|
-
|
|
2272
2274
|
|
|
2273
2275
|
#### 🛠️ Usage<a id="🛠️-usage"></a>
|
|
2274
2276
|
|
|
@@ -2312,7 +2314,8 @@ Should be set to `True` if `symbols` are comprised of tickers. Defaults to
|
|
|
2312
2314
|
### `snaptrade.trading.place_bracket_order`<a id="snaptradetradingplace_bracket_order"></a>
|
|
2313
2315
|

|
|
2314
2316
|
|
|
2315
|
-
**
|
|
2317
|
+
**Deprecated.** Use [the new complex order endpoint](/reference/Trading/Trading_placeComplexOrder) instead.
|
|
2318
|
+
|
|
2316
2319
|
Places a bracket order (entry order + OCO of stop loss and take profit). Disabled by default please contact support for
|
|
2317
2320
|
use. Only supported on certain brokerages
|
|
2318
2321
|
|
|
@@ -2980,7 +2983,9 @@ p result
|
|
|
2980
2983
|
### `snaptrade.transactions_and_reporting.get_activities`<a id="snaptradetransactions_and_reportingget_activities"></a>
|
|
2981
2984
|

|
|
2982
2985
|
|
|
2983
|
-
|
|
2986
|
+
**Deprecated.** Use [the account level endpoint](/reference/Account%20Information/AccountInformation_getAccountActivities) instead, if possible.
|
|
2987
|
+
|
|
2988
|
+
This endpoint will return HTTP 410 Gone for all customers that sign up after April 25, 2026.
|
|
2984
2989
|
|
|
2985
2990
|
Returns all historical transactions for the specified user and filtering criteria. It's recommended to use `startDate` and `endDate` to paginate through the data, as the response may be very large for accounts with a long history and/or a lot of activity. There's a max number of 10000 transactions returned per request.
|
|
2986
2991
|
|
|
@@ -2988,8 +2993,6 @@ There is no guarantee to the ordering of the transactions returned. Please sort
|
|
|
2988
2993
|
|
|
2989
2994
|
This endpoint returns Daily data. Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage.
|
|
2990
2995
|
|
|
2991
|
-
**Note:** This endpoint will return HTTP 410 Gone for all customers that sign up after April 25, 2026.
|
|
2992
|
-
|
|
2993
2996
|
|
|
2994
2997
|
#### 🛠️ Usage<a id="🛠️-usage"></a>
|
|
2995
2998
|
|
|
@@ -3059,7 +3062,8 @@ exercise event. - `TRANSFER` - Transfer of assets from one account to another
|
|
|
3059
3062
|
### `snaptrade.transactions_and_reporting.get_reporting_custom_range`<a id="snaptradetransactions_and_reportingget_reporting_custom_range"></a>
|
|
3060
3063
|

|
|
3061
3064
|
|
|
3062
|
-
Returns performance information (contributions, dividends, rate of return, etc) for a specific timeframe. Please note that Total Equity Timeframe and Rate of Returns are experimental features. Please contact support@snaptrade.com if you notice any inconsistencies.
|
|
3065
|
+
**Deprecated.** Returns performance information (contributions, dividends, rate of return, etc) for a specific timeframe. Please note that Total Equity Timeframe and Rate of Returns are experimental features. Please contact support@snaptrade.com if you notice any inconsistencies.
|
|
3066
|
+
|
|
3063
3067
|
|
|
3064
3068
|
#### 🛠️ Usage<a id="🛠️-usage"></a>
|
|
3065
3069
|
|
|
@@ -399,12 +399,12 @@ module SnapTrade
|
|
|
399
399
|
|
|
400
400
|
# List all accounts for the user, plus balances, positions, and orders for each account.
|
|
401
401
|
#
|
|
402
|
-
# **Deprecated
|
|
402
|
+
# **Deprecated.** Use the account-specific holdings endpoint instead.
|
|
403
|
+
#
|
|
404
|
+
# This endpoint will return HTTP 410 Gone for all customers that sign up after April 25, 2026.
|
|
403
405
|
#
|
|
404
406
|
# List all accounts for the user, plus balances, positions, and orders for each
|
|
405
407
|
# account.
|
|
406
|
-
#
|
|
407
|
-
# **Note:** This endpoint will return HTTP 410 Gone for all customers that sign up after April 25, 2026.
|
|
408
408
|
#
|
|
409
409
|
# @param user_id [String]
|
|
410
410
|
# @param user_secret [String]
|
|
@@ -418,12 +418,12 @@ module SnapTrade
|
|
|
418
418
|
|
|
419
419
|
# List all accounts for the user, plus balances, positions, and orders for each account.
|
|
420
420
|
#
|
|
421
|
-
# **Deprecated
|
|
421
|
+
# **Deprecated.** Use the account-specific holdings endpoint instead.
|
|
422
|
+
#
|
|
423
|
+
# This endpoint will return HTTP 410 Gone for all customers that sign up after April 25, 2026.
|
|
422
424
|
#
|
|
423
425
|
# List all accounts for the user, plus balances, positions, and orders for each
|
|
424
426
|
# account.
|
|
425
|
-
#
|
|
426
|
-
# **Note:** This endpoint will return HTTP 410 Gone for all customers that sign up after April 25, 2026.
|
|
427
427
|
#
|
|
428
428
|
# @param user_id [String]
|
|
429
429
|
# @param user_secret [String]
|
|
@@ -435,7 +435,7 @@ module SnapTrade
|
|
|
435
435
|
end
|
|
436
436
|
|
|
437
437
|
# List all accounts for the user, plus balances, positions, and orders for each account.
|
|
438
|
-
# **Deprecated
|
|
438
|
+
# **Deprecated.** Use the account-specific holdings endpoint instead. This endpoint will return HTTP 410 Gone for all customers that sign up after April 25, 2026. List all accounts for the user, plus balances, positions, and orders for each account.
|
|
439
439
|
# @param user_id [String]
|
|
440
440
|
# @param user_secret [String]
|
|
441
441
|
# @param [Hash] opts the optional parameters
|
|
@@ -447,7 +447,7 @@ module SnapTrade
|
|
|
447
447
|
end
|
|
448
448
|
|
|
449
449
|
# List all accounts for the user, plus balances, positions, and orders for each account.
|
|
450
|
-
# **Deprecated
|
|
450
|
+
# **Deprecated.** Use the account-specific holdings endpoint instead. This endpoint will return HTTP 410 Gone for all customers that sign up after April 25, 2026. List all accounts for the user, plus balances, positions, and orders for each account.
|
|
451
451
|
# @param user_id [String]
|
|
452
452
|
# @param user_secret [String]
|
|
453
453
|
# @param [Hash] opts the optional parameters
|
|
@@ -1018,9 +1018,9 @@ module SnapTrade
|
|
|
1018
1018
|
|
|
1019
1019
|
# List account positions
|
|
1020
1020
|
#
|
|
1021
|
-
#
|
|
1021
|
+
# **Deprecated.** Use the newer [unified positions endpoint](/reference/Account%20Information/AccountInformation_getAllAccountPositions) instead. This will allow you to get both equity and option positions in a single call, as well as additional asset classes such as futures.
|
|
1022
1022
|
#
|
|
1023
|
-
#
|
|
1023
|
+
# Returns a list of stock/ETF/crypto/mutual fund positions in the specified account. For option positions, please use the [options endpoint](/reference/Options/Options_listOptionHoldings).
|
|
1024
1024
|
#
|
|
1025
1025
|
# Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access:
|
|
1026
1026
|
# - If you do, this endpoint returns real-time data.
|
|
@@ -1039,9 +1039,9 @@ module SnapTrade
|
|
|
1039
1039
|
|
|
1040
1040
|
# List account positions
|
|
1041
1041
|
#
|
|
1042
|
-
#
|
|
1042
|
+
# **Deprecated.** Use the newer [unified positions endpoint](/reference/Account%20Information/AccountInformation_getAllAccountPositions) instead. This will allow you to get both equity and option positions in a single call, as well as additional asset classes such as futures.
|
|
1043
1043
|
#
|
|
1044
|
-
#
|
|
1044
|
+
# Returns a list of stock/ETF/crypto/mutual fund positions in the specified account. For option positions, please use the [options endpoint](/reference/Options/Options_listOptionHoldings).
|
|
1045
1045
|
#
|
|
1046
1046
|
# Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access:
|
|
1047
1047
|
# - If you do, this endpoint returns real-time data.
|
|
@@ -1058,7 +1058,7 @@ module SnapTrade
|
|
|
1058
1058
|
end
|
|
1059
1059
|
|
|
1060
1060
|
# List account positions
|
|
1061
|
-
#
|
|
1061
|
+
# **Deprecated.** Use the newer [unified positions endpoint](/reference/Account%20Information/AccountInformation_getAllAccountPositions) instead. This will allow you to get both equity and option positions in a single call, as well as additional asset classes such as futures. Returns a list of stock/ETF/crypto/mutual fund positions in the specified account. For option positions, please use the [options endpoint](/reference/Options/Options_listOptionHoldings). Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access: - If you do, this endpoint returns real-time data. - If you don't, Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. If you need real-time, use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint. 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.
|
|
1062
1062
|
# @param user_id [String]
|
|
1063
1063
|
# @param user_secret [String]
|
|
1064
1064
|
# @param account_id [String]
|
|
@@ -1070,7 +1070,7 @@ module SnapTrade
|
|
|
1070
1070
|
end
|
|
1071
1071
|
|
|
1072
1072
|
# List account positions
|
|
1073
|
-
#
|
|
1073
|
+
# **Deprecated.** Use the newer [unified positions endpoint](/reference/Account%20Information/AccountInformation_getAllAccountPositions) instead. This will allow you to get both equity and option positions in a single call, as well as additional asset classes such as futures. Returns a list of stock/ETF/crypto/mutual fund positions in the specified account. For option positions, please use the [options endpoint](/reference/Options/Options_listOptionHoldings). Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access: - If you do, this endpoint returns real-time data. - If you don't, Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. If you need real-time, use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint. 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.
|
|
1074
1074
|
# @param user_id [String]
|
|
1075
1075
|
# @param user_secret [String]
|
|
1076
1076
|
# @param account_id [String]
|
|
@@ -1364,6 +1364,9 @@ module SnapTrade
|
|
|
1364
1364
|
# List account holdings
|
|
1365
1365
|
#
|
|
1366
1366
|
# **Deprecated.** Use the finer-grained account data endpoints instead: [balances](/reference/Account%20Information/AccountInformation_getUserAccountBalance), [positions](/reference/Account%20Information/AccountInformation_getAllAccountPositions), and [orders](/reference/Account%20Information/AccountInformation_getUserAccountOrders).
|
|
1367
|
+
#
|
|
1368
|
+
# This endpoint will return HTTP 410 Gone for all customers that sign up after May 11, 2026.
|
|
1369
|
+
#
|
|
1367
1370
|
# Returns a list of balances, positions, and recent orders for the specified account.
|
|
1368
1371
|
#
|
|
1369
1372
|
# Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access:
|
|
@@ -1384,6 +1387,9 @@ module SnapTrade
|
|
|
1384
1387
|
# List account holdings
|
|
1385
1388
|
#
|
|
1386
1389
|
# **Deprecated.** Use the finer-grained account data endpoints instead: [balances](/reference/Account%20Information/AccountInformation_getUserAccountBalance), [positions](/reference/Account%20Information/AccountInformation_getAllAccountPositions), and [orders](/reference/Account%20Information/AccountInformation_getUserAccountOrders).
|
|
1390
|
+
#
|
|
1391
|
+
# This endpoint will return HTTP 410 Gone for all customers that sign up after May 11, 2026.
|
|
1392
|
+
#
|
|
1387
1393
|
# Returns a list of balances, positions, and recent orders for the specified account.
|
|
1388
1394
|
#
|
|
1389
1395
|
# Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access:
|
|
@@ -1401,7 +1407,7 @@ module SnapTrade
|
|
|
1401
1407
|
end
|
|
1402
1408
|
|
|
1403
1409
|
# List account holdings
|
|
1404
|
-
# **Deprecated.** Use the finer-grained account data endpoints instead: [balances](/reference/Account%20Information/AccountInformation_getUserAccountBalance), [positions](/reference/Account%20Information/AccountInformation_getAllAccountPositions), and [orders](/reference/Account%20Information/AccountInformation_getUserAccountOrders). Returns a list of balances, positions, and recent orders for the specified account. Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access: - If you do, this endpoint returns real-time data. - If you don't, Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. If you need real-time, use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint. 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.
|
|
1410
|
+
# **Deprecated.** Use the finer-grained account data endpoints instead: [balances](/reference/Account%20Information/AccountInformation_getUserAccountBalance), [positions](/reference/Account%20Information/AccountInformation_getAllAccountPositions), and [orders](/reference/Account%20Information/AccountInformation_getUserAccountOrders). This endpoint will return HTTP 410 Gone for all customers that sign up after May 11, 2026. Returns a list of balances, positions, and recent orders for the specified account. Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access: - If you do, this endpoint returns real-time data. - If you don't, Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. If you need real-time, use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint. 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.
|
|
1405
1411
|
# @param account_id [String]
|
|
1406
1412
|
# @param user_id [String]
|
|
1407
1413
|
# @param user_secret [String]
|
|
@@ -1413,7 +1419,7 @@ module SnapTrade
|
|
|
1413
1419
|
end
|
|
1414
1420
|
|
|
1415
1421
|
# List account holdings
|
|
1416
|
-
# **Deprecated.** Use the finer-grained account data endpoints instead: [balances](/reference/Account%20Information/AccountInformation_getUserAccountBalance), [positions](/reference/Account%20Information/AccountInformation_getAllAccountPositions), and [orders](/reference/Account%20Information/AccountInformation_getUserAccountOrders). Returns a list of balances, positions, and recent orders for the specified account. Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access: - If you do, this endpoint returns real-time data. - If you don't, Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. If you need real-time, use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint. 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.
|
|
1422
|
+
# **Deprecated.** Use the finer-grained account data endpoints instead: [balances](/reference/Account%20Information/AccountInformation_getUserAccountBalance), [positions](/reference/Account%20Information/AccountInformation_getAllAccountPositions), and [orders](/reference/Account%20Information/AccountInformation_getUserAccountOrders). This endpoint will return HTTP 410 Gone for all customers that sign up after May 11, 2026. Returns a list of balances, positions, and recent orders for the specified account. Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access: - If you do, this endpoint returns real-time data. - If you don't, Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. If you need real-time, use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint. 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.
|
|
1417
1423
|
# @param account_id [String]
|
|
1418
1424
|
# @param user_id [String]
|
|
1419
1425
|
# @param user_secret [String]
|
|
@@ -19,9 +19,9 @@ module SnapTrade
|
|
|
19
19
|
|
|
20
20
|
# List account option positions
|
|
21
21
|
#
|
|
22
|
-
#
|
|
22
|
+
# **Deprecated.** Use the newer [unified positions endpoint](/reference/Account%20Information/AccountInformation_getAllAccountPositions) instead. This will allow you to get both equity and option positions in a single call, as well as additional asset classes such as futures.
|
|
23
23
|
#
|
|
24
|
-
#
|
|
24
|
+
# Returns a list of option positions in the specified account. For stock/ETF/crypto/mutual fund positions, please use the [positions endpoint](/reference/Account%20Information/AccountInformation_getUserAccountPositions).
|
|
25
25
|
#
|
|
26
26
|
# Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access:
|
|
27
27
|
# - If you do, this endpoint returns real-time data.
|
|
@@ -38,9 +38,9 @@ module SnapTrade
|
|
|
38
38
|
|
|
39
39
|
# List account option positions
|
|
40
40
|
#
|
|
41
|
-
#
|
|
41
|
+
# **Deprecated.** Use the newer [unified positions endpoint](/reference/Account%20Information/AccountInformation_getAllAccountPositions) instead. This will allow you to get both equity and option positions in a single call, as well as additional asset classes such as futures.
|
|
42
42
|
#
|
|
43
|
-
#
|
|
43
|
+
# Returns a list of option positions in the specified account. For stock/ETF/crypto/mutual fund positions, please use the [positions endpoint](/reference/Account%20Information/AccountInformation_getUserAccountPositions).
|
|
44
44
|
#
|
|
45
45
|
# Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access:
|
|
46
46
|
# - If you do, this endpoint returns real-time data.
|
|
@@ -55,7 +55,7 @@ module SnapTrade
|
|
|
55
55
|
end
|
|
56
56
|
|
|
57
57
|
# List account option positions
|
|
58
|
-
#
|
|
58
|
+
# **Deprecated.** Use the newer [unified positions endpoint](/reference/Account%20Information/AccountInformation_getAllAccountPositions) instead. This will allow you to get both equity and option positions in a single call, as well as additional asset classes such as futures. Returns a list of option positions in the specified account. For stock/ETF/crypto/mutual fund positions, please use the [positions endpoint](/reference/Account%20Information/AccountInformation_getUserAccountPositions). Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access: - If you do, this endpoint returns real-time data. - If you don't, Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. If you need real-time, use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint.
|
|
59
59
|
# @param user_id [String]
|
|
60
60
|
# @param user_secret [String]
|
|
61
61
|
# @param account_id [String]
|
|
@@ -67,7 +67,7 @@ module SnapTrade
|
|
|
67
67
|
end
|
|
68
68
|
|
|
69
69
|
# List account option positions
|
|
70
|
-
#
|
|
70
|
+
# **Deprecated.** Use the newer [unified positions endpoint](/reference/Account%20Information/AccountInformation_getAllAccountPositions) instead. This will allow you to get both equity and option positions in a single call, as well as additional asset classes such as futures. Returns a list of option positions in the specified account. For stock/ETF/crypto/mutual fund positions, please use the [positions endpoint](/reference/Account%20Information/AccountInformation_getUserAccountPositions). Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access: - If you do, this endpoint returns real-time data. - If you don't, Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. If you need real-time, use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint.
|
|
71
71
|
# @param user_id [String]
|
|
72
72
|
# @param user_secret [String]
|
|
73
73
|
# @param account_id [String]
|
|
@@ -143,7 +143,8 @@ module SnapTrade
|
|
|
143
143
|
|
|
144
144
|
# Cancel equity order
|
|
145
145
|
#
|
|
146
|
-
# **
|
|
146
|
+
# **Deprecated.** Use [the new cancel order endpoint](/reference/Trading/Trading_cancelOrder) instead.
|
|
147
|
+
#
|
|
147
148
|
# Attempts to cancel an open order with the brokerage. If the order is no longer cancellable, the request will be rejected.
|
|
148
149
|
#
|
|
149
150
|
# @param brokerage_order_id [String] Order ID returned by brokerage. This is the unique identifier for the order in the brokerage system.
|
|
@@ -162,7 +163,8 @@ module SnapTrade
|
|
|
162
163
|
|
|
163
164
|
# Cancel equity order
|
|
164
165
|
#
|
|
165
|
-
# **
|
|
166
|
+
# **Deprecated.** Use [the new cancel order endpoint](/reference/Trading/Trading_cancelOrder) instead.
|
|
167
|
+
#
|
|
166
168
|
# Attempts to cancel an open order with the brokerage. If the order is no longer cancellable, the request will be rejected.
|
|
167
169
|
#
|
|
168
170
|
# @param brokerage_order_id [String] Order ID returned by brokerage. This is the unique identifier for the order in the brokerage system.
|
|
@@ -179,7 +181,7 @@ module SnapTrade
|
|
|
179
181
|
end
|
|
180
182
|
|
|
181
183
|
# Cancel equity order
|
|
182
|
-
# **
|
|
184
|
+
# **Deprecated.** Use [the new cancel order endpoint](/reference/Trading/Trading_cancelOrder) instead. Attempts to cancel an open order with the brokerage. If the order is no longer cancellable, the request will be rejected.
|
|
183
185
|
# @param user_id [String]
|
|
184
186
|
# @param user_secret [String]
|
|
185
187
|
# @param account_id [String]
|
|
@@ -192,7 +194,7 @@ module SnapTrade
|
|
|
192
194
|
end
|
|
193
195
|
|
|
194
196
|
# Cancel equity order
|
|
195
|
-
# **
|
|
197
|
+
# **Deprecated.** Use [the new cancel order endpoint](/reference/Trading/Trading_cancelOrder) instead. Attempts to cancel an open order with the brokerage. If the order is no longer cancellable, the request will be rejected.
|
|
196
198
|
# @param user_id [String]
|
|
197
199
|
# @param user_secret [String]
|
|
198
200
|
# @param account_id [String]
|
|
@@ -795,8 +797,6 @@ module SnapTrade
|
|
|
795
797
|
# **This endpoint is not a substitute for a market data provider. Frequent polling of this endpoint may result in the disabling of your keys**
|
|
796
798
|
#
|
|
797
799
|
# This endpoint does not work for options quotes.
|
|
798
|
-
#
|
|
799
|
-
# This endpoint is disabled for free plans by default. Please contact support to enable this endpoint if needed.
|
|
800
800
|
#
|
|
801
801
|
# @param user_id [String]
|
|
802
802
|
# @param user_secret [String]
|
|
@@ -819,8 +819,6 @@ module SnapTrade
|
|
|
819
819
|
# **This endpoint is not a substitute for a market data provider. Frequent polling of this endpoint may result in the disabling of your keys**
|
|
820
820
|
#
|
|
821
821
|
# This endpoint does not work for options quotes.
|
|
822
|
-
#
|
|
823
|
-
# This endpoint is disabled for free plans by default. Please contact support to enable this endpoint if needed.
|
|
824
822
|
#
|
|
825
823
|
# @param user_id [String]
|
|
826
824
|
# @param user_secret [String]
|
|
@@ -834,7 +832,7 @@ module SnapTrade
|
|
|
834
832
|
end
|
|
835
833
|
|
|
836
834
|
# Get equity symbol quotes
|
|
837
|
-
# Returns a maximum of 10 quotes from the brokerage for the specified symbols and account. The quotes returned can be delayed depending on the brokerage the account belongs to. It is highly recommended that you use your own market data provider for real-time quotes instead of relying on this endpoint. **This endpoint is not a substitute for a market data provider. Frequent polling of this endpoint may result in the disabling of your keys** This endpoint does not work for options quotes.
|
|
835
|
+
# Returns a maximum of 10 quotes from the brokerage for the specified symbols and account. The quotes returned can be delayed depending on the brokerage the account belongs to. It is highly recommended that you use your own market data provider for real-time quotes instead of relying on this endpoint. **This endpoint is not a substitute for a market data provider. Frequent polling of this endpoint may result in the disabling of your keys** This endpoint does not work for options quotes.
|
|
838
836
|
# @param user_id [String]
|
|
839
837
|
# @param user_secret [String]
|
|
840
838
|
# @param symbols [String] List of Universal Symbol IDs or tickers to get quotes for. When providing multiple values, use a comma as separator. Maximum of 10 values allowed
|
|
@@ -848,7 +846,7 @@ module SnapTrade
|
|
|
848
846
|
end
|
|
849
847
|
|
|
850
848
|
# Get equity symbol quotes
|
|
851
|
-
# Returns a maximum of 10 quotes from the brokerage for the specified symbols and account. The quotes returned can be delayed depending on the brokerage the account belongs to. It is highly recommended that you use your own market data provider for real-time quotes instead of relying on this endpoint. **This endpoint is not a substitute for a market data provider. Frequent polling of this endpoint may result in the disabling of your keys** This endpoint does not work for options quotes.
|
|
849
|
+
# Returns a maximum of 10 quotes from the brokerage for the specified symbols and account. The quotes returned can be delayed depending on the brokerage the account belongs to. It is highly recommended that you use your own market data provider for real-time quotes instead of relying on this endpoint. **This endpoint is not a substitute for a market data provider. Frequent polling of this endpoint may result in the disabling of your keys** This endpoint does not work for options quotes.
|
|
852
850
|
# @param user_id [String]
|
|
853
851
|
# @param user_secret [String]
|
|
854
852
|
# @param symbols [String] List of Universal Symbol IDs or tickers to get quotes for. When providing multiple values, use a comma as separator. Maximum of 10 values allowed
|
|
@@ -923,7 +921,8 @@ module SnapTrade
|
|
|
923
921
|
|
|
924
922
|
# Place bracket order
|
|
925
923
|
#
|
|
926
|
-
# **
|
|
924
|
+
# **Deprecated.** Use [the new complex order endpoint](/reference/Trading/Trading_placeComplexOrder) instead.
|
|
925
|
+
#
|
|
927
926
|
# Places a bracket order (entry order + OCO of stop loss and take profit). Disabled by default please contact support for
|
|
928
927
|
# use. Only supported on certain brokerages
|
|
929
928
|
#
|
|
@@ -959,7 +958,8 @@ module SnapTrade
|
|
|
959
958
|
|
|
960
959
|
# Place bracket order
|
|
961
960
|
#
|
|
962
|
-
# **
|
|
961
|
+
# **Deprecated.** Use [the new complex order endpoint](/reference/Trading/Trading_placeComplexOrder) instead.
|
|
962
|
+
#
|
|
963
963
|
# Places a bracket order (entry order + OCO of stop loss and take profit). Disabled by default please contact support for
|
|
964
964
|
# use. Only supported on certain brokerages
|
|
965
965
|
#
|
|
@@ -993,7 +993,7 @@ module SnapTrade
|
|
|
993
993
|
end
|
|
994
994
|
|
|
995
995
|
# Place bracket order
|
|
996
|
-
# **
|
|
996
|
+
# **Deprecated.** Use [the new complex order endpoint](/reference/Trading/Trading_placeComplexOrder) instead. Places a bracket order (entry order + OCO of stop loss and take profit). Disabled by default please contact support for use. Only supported on certain brokerages
|
|
997
997
|
# @param account_id [String] The ID of the account to execute the trade on.
|
|
998
998
|
# @param user_id [String]
|
|
999
999
|
# @param user_secret [String]
|
|
@@ -1006,7 +1006,7 @@ module SnapTrade
|
|
|
1006
1006
|
end
|
|
1007
1007
|
|
|
1008
1008
|
# Place bracket order
|
|
1009
|
-
# **
|
|
1009
|
+
# **Deprecated.** Use [the new complex order endpoint](/reference/Trading/Trading_placeComplexOrder) instead. Places a bracket order (entry order + OCO of stop loss and take profit). Disabled by default please contact support for use. Only supported on certain brokerages
|
|
1010
1010
|
# @param account_id [String] The ID of the account to execute the trade on.
|
|
1011
1011
|
# @param user_id [String]
|
|
1012
1012
|
# @param user_secret [String]
|
|
@@ -19,15 +19,15 @@ module SnapTrade
|
|
|
19
19
|
|
|
20
20
|
# Get transaction history for a user
|
|
21
21
|
#
|
|
22
|
-
#
|
|
22
|
+
# **Deprecated.** Use [the account level endpoint](/reference/Account%20Information/AccountInformation_getAccountActivities) instead, if possible.
|
|
23
|
+
#
|
|
24
|
+
# This endpoint will return HTTP 410 Gone for all customers that sign up after April 25, 2026.
|
|
23
25
|
#
|
|
24
26
|
# Returns all historical transactions for the specified user and filtering criteria. It's recommended to use `startDate` and `endDate` to paginate through the data, as the response may be very large for accounts with a long history and/or a lot of activity. There's a max number of 10000 transactions returned per request.
|
|
25
27
|
#
|
|
26
28
|
# There is no guarantee to the ordering of the transactions returned. Please sort the transactions based on the `trade_date` field if you need them in a specific order.
|
|
27
29
|
#
|
|
28
30
|
# This endpoint returns Daily data. Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage.
|
|
29
|
-
#
|
|
30
|
-
# **Note:** This endpoint will return HTTP 410 Gone for all customers that sign up after April 25, 2026.
|
|
31
31
|
#
|
|
32
32
|
# @param user_id [String]
|
|
33
33
|
# @param user_secret [String]
|
|
@@ -49,15 +49,15 @@ module SnapTrade
|
|
|
49
49
|
|
|
50
50
|
# Get transaction history for a user
|
|
51
51
|
#
|
|
52
|
-
#
|
|
52
|
+
# **Deprecated.** Use [the account level endpoint](/reference/Account%20Information/AccountInformation_getAccountActivities) instead, if possible.
|
|
53
|
+
#
|
|
54
|
+
# This endpoint will return HTTP 410 Gone for all customers that sign up after April 25, 2026.
|
|
53
55
|
#
|
|
54
56
|
# Returns all historical transactions for the specified user and filtering criteria. It's recommended to use `startDate` and `endDate` to paginate through the data, as the response may be very large for accounts with a long history and/or a lot of activity. There's a max number of 10000 transactions returned per request.
|
|
55
57
|
#
|
|
56
58
|
# There is no guarantee to the ordering of the transactions returned. Please sort the transactions based on the `trade_date` field if you need them in a specific order.
|
|
57
59
|
#
|
|
58
60
|
# This endpoint returns Daily data. Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage.
|
|
59
|
-
#
|
|
60
|
-
# **Note:** This endpoint will return HTTP 410 Gone for all customers that sign up after April 25, 2026.
|
|
61
61
|
#
|
|
62
62
|
# @param user_id [String]
|
|
63
63
|
# @param user_secret [String]
|
|
@@ -77,7 +77,7 @@ module SnapTrade
|
|
|
77
77
|
end
|
|
78
78
|
|
|
79
79
|
# Get transaction history for a user
|
|
80
|
-
#
|
|
80
|
+
# **Deprecated.** Use [the account level endpoint](/reference/Account%20Information/AccountInformation_getAccountActivities) instead, if possible. This endpoint will return HTTP 410 Gone for all customers that sign up after April 25, 2026. Returns all historical transactions for the specified user and filtering criteria. It's recommended to use `startDate` and `endDate` to paginate through the data, as the response may be very large for accounts with a long history and/or a lot of activity. There's a max number of 10000 transactions returned per request. There is no guarantee to the ordering of the transactions returned. Please sort the transactions based on the `trade_date` field if you need them in a specific order. This endpoint returns Daily data. Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage.
|
|
81
81
|
# @param user_id [String]
|
|
82
82
|
# @param user_secret [String]
|
|
83
83
|
# @param [Hash] opts the optional parameters
|
|
@@ -93,7 +93,7 @@ module SnapTrade
|
|
|
93
93
|
end
|
|
94
94
|
|
|
95
95
|
# Get transaction history for a user
|
|
96
|
-
#
|
|
96
|
+
# **Deprecated.** Use [the account level endpoint](/reference/Account%20Information/AccountInformation_getAccountActivities) instead, if possible. This endpoint will return HTTP 410 Gone for all customers that sign up after April 25, 2026. Returns all historical transactions for the specified user and filtering criteria. It's recommended to use `startDate` and `endDate` to paginate through the data, as the response may be very large for accounts with a long history and/or a lot of activity. There's a max number of 10000 transactions returned per request. There is no guarantee to the ordering of the transactions returned. Please sort the transactions based on the `trade_date` field if you need them in a specific order. This endpoint returns Daily data. Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage.
|
|
97
97
|
# @param user_id [String]
|
|
98
98
|
# @param user_secret [String]
|
|
99
99
|
# @param [Hash] opts the optional parameters
|
|
@@ -165,7 +165,7 @@ module SnapTrade
|
|
|
165
165
|
|
|
166
166
|
# Get performance information for a specific timeframe
|
|
167
167
|
#
|
|
168
|
-
# Returns performance information (contributions, dividends, rate of return, etc) for a specific timeframe. Please note that Total Equity Timeframe and Rate of Returns are experimental features. Please contact support@snaptrade.com if you notice any inconsistencies.
|
|
168
|
+
# **Deprecated.** Returns performance information (contributions, dividends, rate of return, etc) for a specific timeframe. Please note that Total Equity Timeframe and Rate of Returns are experimental features. Please contact support@snaptrade.com if you notice any inconsistencies.
|
|
169
169
|
#
|
|
170
170
|
# @param start_date [Date]
|
|
171
171
|
# @param end_date [Date]
|
|
@@ -185,7 +185,7 @@ module SnapTrade
|
|
|
185
185
|
|
|
186
186
|
# Get performance information for a specific timeframe
|
|
187
187
|
#
|
|
188
|
-
# Returns performance information (contributions, dividends, rate of return, etc) for a specific timeframe. Please note that Total Equity Timeframe and Rate of Returns are experimental features. Please contact support@snaptrade.com if you notice any inconsistencies.
|
|
188
|
+
# **Deprecated.** Returns performance information (contributions, dividends, rate of return, etc) for a specific timeframe. Please note that Total Equity Timeframe and Rate of Returns are experimental features. Please contact support@snaptrade.com if you notice any inconsistencies.
|
|
189
189
|
#
|
|
190
190
|
# @param start_date [Date]
|
|
191
191
|
# @param end_date [Date]
|
|
@@ -203,7 +203,7 @@ module SnapTrade
|
|
|
203
203
|
end
|
|
204
204
|
|
|
205
205
|
# Get performance information for a specific timeframe
|
|
206
|
-
# Returns performance information (contributions, dividends, rate of return, etc) for a specific timeframe. Please note that Total Equity Timeframe and Rate of Returns are experimental features. Please contact support@snaptrade.com if you notice any inconsistencies.
|
|
206
|
+
# **Deprecated.** Returns performance information (contributions, dividends, rate of return, etc) for a specific timeframe. Please note that Total Equity Timeframe and Rate of Returns are experimental features. Please contact support@snaptrade.com if you notice any inconsistencies.
|
|
207
207
|
# @param start_date [Date]
|
|
208
208
|
# @param end_date [Date]
|
|
209
209
|
# @param user_id [String]
|
|
@@ -219,7 +219,7 @@ module SnapTrade
|
|
|
219
219
|
end
|
|
220
220
|
|
|
221
221
|
# Get performance information for a specific timeframe
|
|
222
|
-
# Returns performance information (contributions, dividends, rate of return, etc) for a specific timeframe. Please note that Total Equity Timeframe and Rate of Returns are experimental features. Please contact support@snaptrade.com if you notice any inconsistencies.
|
|
222
|
+
# **Deprecated.** Returns performance information (contributions, dividends, rate of return, etc) for a specific timeframe. Please note that Total Equity Timeframe and Rate of Returns are experimental features. Please contact support@snaptrade.com if you notice any inconsistencies.
|
|
223
223
|
# @param start_date [Date]
|
|
224
224
|
# @param end_date [Date]
|
|
225
225
|
# @param user_id [String]
|
|
@@ -42,7 +42,7 @@ module SnapTrade
|
|
|
42
42
|
# Whether the connection is eligible for a payout. This is an experimental field that is NOT generally available for all partners. Do not use in production without speaking to the SnapTrade team.
|
|
43
43
|
attr_accessor :is_eligible_for_payout
|
|
44
44
|
|
|
45
|
-
# Possible values include: - realtime - delayed Indicates whether SnapTrade will provide delayed or realtime data for this connection. `delayed` means SnapTrade uses cached data for the connection because of the customer's plan, or because of brokerage limitations. `realtime` means SnapTrade retrieves current data from the brokerage during API calls. See the \"
|
|
45
|
+
# Possible values include: - realtime - delayed Indicates whether SnapTrade will provide delayed or realtime data for this connection. `delayed` means SnapTrade uses cached data for the connection because of the customer's plan, or because of brokerage limitations. `realtime` means SnapTrade retrieves current data from the brokerage during API calls. See the \"Data freshness\" column on the \"Positions & recent orders\" tab at https://support.snaptrade.com/brokerages.
|
|
46
46
|
attr_accessor :data_freshness_mode
|
|
47
47
|
|
|
48
48
|
# Attribute mapping from ruby-style variable name to JSON key.
|
data/lib/snaptrade/version.rb
CHANGED
|
@@ -76,7 +76,7 @@ describe 'AccountInformationApi' do
|
|
|
76
76
|
|
|
77
77
|
# unit tests for get_all_user_holdings
|
|
78
78
|
# List all accounts for the user, plus balances, positions, and orders for each account.
|
|
79
|
-
# **Deprecated
|
|
79
|
+
# **Deprecated.** Use the account-specific holdings endpoint instead. This endpoint will return HTTP 410 Gone for all customers that sign up after April 25, 2026. List all accounts for the user, plus balances, positions, and orders for each account.
|
|
80
80
|
# @param user_id
|
|
81
81
|
# @param user_secret
|
|
82
82
|
# @param [Hash] opts the optional parameters
|
|
@@ -149,7 +149,7 @@ describe 'AccountInformationApi' do
|
|
|
149
149
|
|
|
150
150
|
# unit tests for get_user_account_positions
|
|
151
151
|
# List account positions
|
|
152
|
-
#
|
|
152
|
+
# **Deprecated.** Use the newer [unified positions endpoint](/reference/Account%20Information/AccountInformation_getAllAccountPositions) instead. This will allow you to get both equity and option positions in a single call, as well as additional asset classes such as futures. Returns a list of stock/ETF/crypto/mutual fund positions in the specified account. For option positions, please use the [options endpoint](/reference/Options/Options_listOptionHoldings). Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access: - If you do, this endpoint returns real-time data. - If you don't, Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. If you need real-time, use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint. 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.
|
|
153
153
|
# @param user_id
|
|
154
154
|
# @param user_secret
|
|
155
155
|
# @param account_id
|
|
@@ -193,7 +193,7 @@ describe 'AccountInformationApi' do
|
|
|
193
193
|
|
|
194
194
|
# unit tests for get_user_holdings
|
|
195
195
|
# List account holdings
|
|
196
|
-
# **Deprecated.** Use the finer-grained account data endpoints instead: [balances](/reference/Account%20Information/AccountInformation_getUserAccountBalance), [positions](/reference/Account%20Information/AccountInformation_getAllAccountPositions), and [orders](/reference/Account%20Information/AccountInformation_getUserAccountOrders). Returns a list of balances, positions, and recent orders for the specified account. Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access: - If you do, this endpoint returns real-time data. - If you don't, Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. If you need real-time, use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint. 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.
|
|
196
|
+
# **Deprecated.** Use the finer-grained account data endpoints instead: [balances](/reference/Account%20Information/AccountInformation_getUserAccountBalance), [positions](/reference/Account%20Information/AccountInformation_getAllAccountPositions), and [orders](/reference/Account%20Information/AccountInformation_getUserAccountOrders). This endpoint will return HTTP 410 Gone for all customers that sign up after May 11, 2026. Returns a list of balances, positions, and recent orders for the specified account. Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access: - If you do, this endpoint returns real-time data. - If you don't, Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. If you need real-time, use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint. 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.
|
|
197
197
|
# @param account_id
|
|
198
198
|
# @param user_id
|
|
199
199
|
# @param user_secret
|
|
@@ -29,7 +29,7 @@ describe 'OptionsApi' do
|
|
|
29
29
|
|
|
30
30
|
# unit tests for list_option_holdings
|
|
31
31
|
# List account option positions
|
|
32
|
-
#
|
|
32
|
+
# **Deprecated.** Use the newer [unified positions endpoint](/reference/Account%20Information/AccountInformation_getAllAccountPositions) instead. This will allow you to get both equity and option positions in a single call, as well as additional asset classes such as futures. Returns a list of option positions in the specified account. For stock/ETF/crypto/mutual fund positions, please use the [positions endpoint](/reference/Account%20Information/AccountInformation_getUserAccountPositions). Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access: - If you do, this endpoint returns real-time data. - If you don't, Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. If you need real-time, use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint.
|
|
33
33
|
# @param user_id
|
|
34
34
|
# @param user_secret
|
|
35
35
|
# @param account_id
|
|
@@ -44,7 +44,7 @@ describe 'TradingApi' do
|
|
|
44
44
|
|
|
45
45
|
# unit tests for cancel_user_account_order
|
|
46
46
|
# Cancel equity order
|
|
47
|
-
# **
|
|
47
|
+
# **Deprecated.** Use [the new cancel order endpoint](/reference/Trading/Trading_cancelOrder) instead. Attempts to cancel an open order with the brokerage. If the order is no longer cancellable, the request will be rejected.
|
|
48
48
|
# @param user_id
|
|
49
49
|
# @param user_secret
|
|
50
50
|
# @param account_id
|
|
@@ -118,7 +118,7 @@ describe 'TradingApi' do
|
|
|
118
118
|
|
|
119
119
|
# unit tests for get_user_account_quotes
|
|
120
120
|
# Get equity symbol quotes
|
|
121
|
-
# Returns a maximum of 10 quotes from the brokerage for the specified symbols and account. The quotes returned can be delayed depending on the brokerage the account belongs to. It is highly recommended that you use your own market data provider for real-time quotes instead of relying on this endpoint. **This endpoint is not a substitute for a market data provider. Frequent polling of this endpoint may result in the disabling of your keys** This endpoint does not work for options quotes.
|
|
121
|
+
# Returns a maximum of 10 quotes from the brokerage for the specified symbols and account. The quotes returned can be delayed depending on the brokerage the account belongs to. It is highly recommended that you use your own market data provider for real-time quotes instead of relying on this endpoint. **This endpoint is not a substitute for a market data provider. Frequent polling of this endpoint may result in the disabling of your keys** This endpoint does not work for options quotes.
|
|
122
122
|
# @param user_id
|
|
123
123
|
# @param user_secret
|
|
124
124
|
# @param symbols List of Universal Symbol IDs or tickers to get quotes for. When providing multiple values, use a comma as separator. Maximum of 10 values allowed
|
|
@@ -134,7 +134,7 @@ describe 'TradingApi' do
|
|
|
134
134
|
|
|
135
135
|
# unit tests for place_bracket_order
|
|
136
136
|
# Place bracket order
|
|
137
|
-
# **
|
|
137
|
+
# **Deprecated.** Use [the new complex order endpoint](/reference/Trading/Trading_placeComplexOrder) instead. Places a bracket order (entry order + OCO of stop loss and take profit). Disabled by default please contact support for use. Only supported on certain brokerages
|
|
138
138
|
# @param account_id The ID of the account to execute the trade on.
|
|
139
139
|
# @param user_id
|
|
140
140
|
# @param user_secret
|
|
@@ -29,7 +29,7 @@ describe 'TransactionsAndReportingApi' do
|
|
|
29
29
|
|
|
30
30
|
# unit tests for get_activities
|
|
31
31
|
# Get transaction history for a user
|
|
32
|
-
#
|
|
32
|
+
# **Deprecated.** Use [the account level endpoint](/reference/Account%20Information/AccountInformation_getAccountActivities) instead, if possible. This endpoint will return HTTP 410 Gone for all customers that sign up after April 25, 2026. Returns all historical transactions for the specified user and filtering criteria. It's recommended to use `startDate` and `endDate` to paginate through the data, as the response may be very large for accounts with a long history and/or a lot of activity. There's a max number of 10000 transactions returned per request. There is no guarantee to the ordering of the transactions returned. Please sort the transactions based on the `trade_date` field if you need them in a specific order. This endpoint returns Daily data. Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage.
|
|
33
33
|
# @param user_id
|
|
34
34
|
# @param user_secret
|
|
35
35
|
# @param [Hash] opts the optional parameters
|
|
@@ -47,7 +47,7 @@ describe 'TransactionsAndReportingApi' do
|
|
|
47
47
|
|
|
48
48
|
# unit tests for get_reporting_custom_range
|
|
49
49
|
# Get performance information for a specific timeframe
|
|
50
|
-
# Returns performance information (contributions, dividends, rate of return, etc) for a specific timeframe. Please note that Total Equity Timeframe and Rate of Returns are experimental features. Please contact support@snaptrade.com if you notice any inconsistencies.
|
|
50
|
+
# **Deprecated.** Returns performance information (contributions, dividends, rate of return, etc) for a specific timeframe. Please note that Total Equity Timeframe and Rate of Returns are experimental features. Please contact support@snaptrade.com if you notice any inconsistencies.
|
|
51
51
|
# @param start_date
|
|
52
52
|
# @param end_date
|
|
53
53
|
# @param user_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: 2.0.
|
|
4
|
+
version: 2.0.215
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- SnapTrade
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-07-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|
|
@@ -573,234 +573,234 @@ signing_key:
|
|
|
573
573
|
specification_version: 4
|
|
574
574
|
summary: SnapTrade Ruby Gem
|
|
575
575
|
test_files:
|
|
576
|
-
- spec/api/connections_api_spec.rb
|
|
577
|
-
- spec/api/reference_data_api_spec.rb
|
|
578
|
-
- spec/api/api_status_api_spec.rb
|
|
579
|
-
- spec/api/experimental_endpoints_api_spec.rb
|
|
580
|
-
- spec/api/trading_api_spec.rb
|
|
581
576
|
- spec/api/transactions_and_reporting_api_spec.rb
|
|
577
|
+
- spec/api/options_api_spec.rb
|
|
578
|
+
- spec/api/reference_data_api_spec.rb
|
|
579
|
+
- spec/api/connections_api_spec.rb
|
|
582
580
|
- spec/api/account_information_api_spec.rb
|
|
583
581
|
- spec/api/authentication_api_spec.rb
|
|
584
|
-
- spec/api/
|
|
582
|
+
- spec/api/api_status_api_spec.rb
|
|
583
|
+
- spec/api/trading_api_spec.rb
|
|
584
|
+
- spec/api/experimental_endpoints_api_spec.rb
|
|
585
585
|
- spec/api_client_spec.rb
|
|
586
586
|
- spec/configuration_spec.rb
|
|
587
587
|
- spec/getting_started_spec.rb
|
|
588
|
-
- spec/models/
|
|
589
|
-
- spec/models/
|
|
590
|
-
- spec/models/
|
|
591
|
-
- spec/models/
|
|
592
|
-
- spec/models/account_information_get_user_account_order_detail_request_spec.rb
|
|
593
|
-
- spec/models/option_leg_spec.rb
|
|
594
|
-
- spec/models/cryptocurrency_pair_spec.rb
|
|
588
|
+
- spec/models/strategy_order_record_status_spec.rb
|
|
589
|
+
- spec/models/mleg_action_strict_spec.rb
|
|
590
|
+
- spec/models/us_exchange_spec.rb
|
|
591
|
+
- spec/models/manual_trade_form_spec.rb
|
|
595
592
|
- spec/models/position_spec.rb
|
|
596
|
-
- spec/models/
|
|
597
|
-
- spec/models/option_instrument_spec.rb
|
|
598
|
-
- spec/models/manual_trade_spec.rb
|
|
599
|
-
- spec/models/mleg_order_type_strict_spec.rb
|
|
600
|
-
- spec/models/model401_failed_request_response_spec.rb
|
|
601
|
-
- spec/models/trading_session_spec.rb
|
|
602
|
-
- spec/models/option_type_spec.rb
|
|
603
|
-
- spec/models/past_value_spec.rb
|
|
604
|
-
- spec/models/model501_not_implemented_response_spec.rb
|
|
605
|
-
- spec/models/complex_order_leg_spec.rb
|
|
606
|
-
- spec/models/crypto_order_preview_spec.rb
|
|
607
|
-
- spec/models/monthly_dividends_spec.rb
|
|
608
|
-
- spec/models/account_sync_status_spec.rb
|
|
609
|
-
- spec/models/brokerage_authorization_disabled_confirmation_spec.rb
|
|
610
|
-
- spec/models/all_account_positions_response_spec.rb
|
|
611
|
-
- spec/models/net_dividend_spec.rb
|
|
593
|
+
- spec/models/trading_instrument_type_spec.rb
|
|
612
594
|
- spec/models/connection_type_spec.rb
|
|
613
|
-
- spec/models/
|
|
614
|
-
- spec/models/
|
|
615
|
-
- spec/models/
|
|
616
|
-
- spec/models/manual_trade_form_bracket_spec.rb
|
|
617
|
-
- spec/models/future_instrument_kind_spec.rb
|
|
618
|
-
- spec/models/brokerage_authorization_transactions_sync_confirmation_spec.rb
|
|
619
|
-
- spec/models/recent_orders_response_spec.rb
|
|
620
|
-
- spec/models/options_symbol_option_type_spec.rb
|
|
595
|
+
- spec/models/stop_loss_spec.rb
|
|
596
|
+
- spec/models/account_order_record_option_symbol_spec.rb
|
|
597
|
+
- spec/models/stock_instrument_figi_instrument_spec.rb
|
|
621
598
|
- spec/models/account_order_record_spec.rb
|
|
622
|
-
- spec/models/
|
|
623
|
-
- spec/models/
|
|
624
|
-
- spec/models/
|
|
625
|
-
- spec/models/mutual_fund_instrument_spec.rb
|
|
626
|
-
- spec/models/us_exchange_spec.rb
|
|
627
|
-
- spec/models/options_symbol_spec.rb
|
|
599
|
+
- spec/models/cancel_order_response_spec.rb
|
|
600
|
+
- spec/models/user_i_dand_secret_spec.rb
|
|
601
|
+
- spec/models/complex_order_leg_spec.rb
|
|
628
602
|
- spec/models/option_strategy_legs_inner_spec.rb
|
|
603
|
+
- spec/models/manual_trade_symbol_spec.rb
|
|
604
|
+
- spec/models/authentication_login_snap_trade_user200_response_spec.rb
|
|
605
|
+
- spec/models/net_contributions_spec.rb
|
|
606
|
+
- spec/models/underlying_option_instrument_spec.rb
|
|
607
|
+
- spec/models/option_strategy_spec.rb
|
|
608
|
+
- spec/models/complex_order_response_type_spec.rb
|
|
609
|
+
- spec/models/mutual_fund_instrument_kind_spec.rb
|
|
629
610
|
- spec/models/account_order_record_universal_symbol_spec.rb
|
|
630
|
-
- spec/models/
|
|
631
|
-
- spec/models/order_updated_response_spec.rb
|
|
632
|
-
- spec/models/session_event_type_spec.rb
|
|
633
|
-
- spec/models/strategy_quotes_spec.rb
|
|
634
|
-
- spec/models/cryptocurrency_pair_quote_spec.rb
|
|
635
|
-
- spec/models/manual_trade_form_complex_spec.rb
|
|
636
|
-
- spec/models/option_instrument_kind_spec.rb
|
|
637
|
-
- spec/models/brokerage_authorization_type_read_only_spec.rb
|
|
638
|
-
- spec/models/underlying_symbol_type_spec.rb
|
|
611
|
+
- spec/models/brokerage_authorization_disabled_confirmation_spec.rb
|
|
639
612
|
- spec/models/complex_order_response_spec.rb
|
|
640
|
-
- spec/models/
|
|
641
|
-
- spec/models/
|
|
613
|
+
- spec/models/simple_order_form_time_in_force_spec.rb
|
|
614
|
+
- spec/models/model401_failed_request_response_spec.rb
|
|
615
|
+
- spec/models/universal_activity_spec.rb
|
|
642
616
|
- spec/models/mleg_instrument_type_spec.rb
|
|
643
|
-
- spec/models/
|
|
644
|
-
- spec/models/
|
|
645
|
-
- spec/models/
|
|
646
|
-
- spec/models/
|
|
647
|
-
- spec/models/
|
|
648
|
-
- spec/models/
|
|
649
|
-
- spec/models/
|
|
650
|
-
- spec/models/
|
|
651
|
-
- spec/models/
|
|
652
|
-
- spec/models/
|
|
653
|
-
- spec/models/trading_instrument_spec.rb
|
|
654
|
-
- spec/models/model402_brokerage_auth_already_disabled_exception_spec.rb
|
|
617
|
+
- spec/models/model500_unexpected_exception_response_spec.rb
|
|
618
|
+
- spec/models/options_position_currency_spec.rb
|
|
619
|
+
- spec/models/universal_symbol_spec.rb
|
|
620
|
+
- spec/models/adr_instrument_kind_spec.rb
|
|
621
|
+
- spec/models/option_instrument_kind_spec.rb
|
|
622
|
+
- spec/models/manual_trade_form_complex_spec.rb
|
|
623
|
+
- spec/models/mleg_leg_spec.rb
|
|
624
|
+
- spec/models/currency_spec.rb
|
|
625
|
+
- spec/models/option_chain_inner_chain_per_root_inner_chain_per_strike_price_inner_spec.rb
|
|
626
|
+
- spec/models/option_impact_spec.rb
|
|
655
627
|
- spec/models/cash_change_direction_spec.rb
|
|
656
|
-
- spec/models/
|
|
657
|
-
- spec/models/
|
|
658
|
-
- spec/models/
|
|
659
|
-
- spec/models/manual_trade_and_impact_spec.rb
|
|
660
|
-
- spec/models/simple_order_form_time_in_force_spec.rb
|
|
628
|
+
- spec/models/time_in_force_strict_spec.rb
|
|
629
|
+
- spec/models/future_instrument_spec.rb
|
|
630
|
+
- spec/models/crypto_instrument_kind_spec.rb
|
|
661
631
|
- spec/models/cfd_instrument_kind_spec.rb
|
|
662
|
-
- spec/models/
|
|
663
|
-
- spec/models/
|
|
664
|
-
- spec/models/
|
|
665
|
-
- spec/models/
|
|
666
|
-
- spec/models/
|
|
667
|
-
- spec/models/model503_brokerage_request_response_spec.rb
|
|
668
|
-
- spec/models/delete_user_response_spec.rb
|
|
669
|
-
- spec/models/model400_failed_request_response_spec.rb
|
|
670
|
-
- spec/models/connections_session_events200_response_inner_spec.rb
|
|
671
|
-
- spec/models/option_chain_inner_spec.rb
|
|
672
|
-
- spec/models/balance_currency_spec.rb
|
|
673
|
-
- spec/models/auth_type_spec.rb
|
|
674
|
-
- spec/models/encrypted_response_spec.rb
|
|
675
|
-
- spec/models/cef_instrument_kind_spec.rb
|
|
632
|
+
- spec/models/underlying_symbol_type_spec.rb
|
|
633
|
+
- spec/models/net_dividend_spec.rb
|
|
634
|
+
- spec/models/trade_detection_cancel_subscription_response_spec.rb
|
|
635
|
+
- spec/models/encrypted_response_encrypted_message_data_spec.rb
|
|
636
|
+
- spec/models/holdings_status_spec.rb
|
|
676
637
|
- spec/models/account_order_record_leg_spec.rb
|
|
677
|
-
- spec/models/
|
|
678
|
-
- spec/models/
|
|
679
|
-
- spec/models/
|
|
680
|
-
- spec/models/
|
|
681
|
-
- spec/models/
|
|
682
|
-
- spec/models/
|
|
683
|
-
- spec/models/
|
|
684
|
-
- spec/models/
|
|
685
|
-
- spec/models/
|
|
686
|
-
- spec/models/
|
|
687
|
-
- spec/models/
|
|
688
|
-
- spec/models/
|
|
638
|
+
- spec/models/account_simple_spec.rb
|
|
639
|
+
- spec/models/brokerage_spec.rb
|
|
640
|
+
- spec/models/order_updated_response_order_spec.rb
|
|
641
|
+
- spec/models/brokerage_authorization_refresh_confirmation_spec.rb
|
|
642
|
+
- spec/models/account_order_record_leg_instrument_spec.rb
|
|
643
|
+
- spec/models/brokerage_instrument_spec.rb
|
|
644
|
+
- spec/models/order_updated_response_spec.rb
|
|
645
|
+
- spec/models/trading_instrument_spec.rb
|
|
646
|
+
- spec/models/option_chain_inner_chain_per_root_inner_spec.rb
|
|
647
|
+
- spec/models/future_instrument_kind_spec.rb
|
|
648
|
+
- spec/models/account_sync_status_spec.rb
|
|
649
|
+
- spec/models/position_currency_spec.rb
|
|
650
|
+
- spec/models/crypto_trading_instrument_type_spec.rb
|
|
651
|
+
- spec/models/brokerage_instruments_response_spec.rb
|
|
652
|
+
- spec/models/crypto_order_form_time_in_force_spec.rb
|
|
689
653
|
- spec/models/child_brokerage_order_ids_spec.rb
|
|
654
|
+
- spec/models/model402_brokerage_auth_disabled_response_spec.rb
|
|
655
|
+
- spec/models/account_universal_activity_option_symbol_spec.rb
|
|
656
|
+
- spec/models/other_instrument_kind_spec.rb
|
|
657
|
+
- spec/models/figi_instrument_spec.rb
|
|
690
658
|
- spec/models/balance_spec.rb
|
|
691
|
-
- spec/models/
|
|
659
|
+
- spec/models/instrument_spec.rb
|
|
692
660
|
- spec/models/other_instrument_spec.rb
|
|
693
|
-
- spec/models/
|
|
694
|
-
- spec/models/
|
|
695
|
-
- spec/models/
|
|
661
|
+
- spec/models/manual_trade_replace_form_spec.rb
|
|
662
|
+
- spec/models/paginated_universal_activity_spec.rb
|
|
663
|
+
- spec/models/notional_value_spec.rb
|
|
696
664
|
- spec/models/partner_data_spec.rb
|
|
697
|
-
- spec/models/
|
|
698
|
-
- spec/models/
|
|
699
|
-
- spec/models/
|
|
700
|
-
- spec/models/
|
|
701
|
-
- spec/models/
|
|
702
|
-
- spec/models/
|
|
703
|
-
- spec/models/crypto_order_form_spec.rb
|
|
704
|
-
- spec/models/account_holdings_account_spec.rb
|
|
705
|
-
- spec/models/underlying_cfd_instrument_spec.rb
|
|
706
|
-
- spec/models/manual_trade_form_spec.rb
|
|
707
|
-
- spec/models/rate_of_return_response_spec.rb
|
|
708
|
-
- spec/models/account_order_record_option_symbol_spec.rb
|
|
665
|
+
- spec/models/account_value_history_response_spec.rb
|
|
666
|
+
- spec/models/mleg_order_response_spec.rb
|
|
667
|
+
- spec/models/all_account_positions_response_spec.rb
|
|
668
|
+
- spec/models/cef_instrument_spec.rb
|
|
669
|
+
- spec/models/etf_instrument_kind_spec.rb
|
|
670
|
+
- spec/models/brokerage_authorization_transactions_sync_confirmation_spec.rb
|
|
709
671
|
- spec/models/sub_period_return_rate_spec.rb
|
|
710
|
-
- spec/models/
|
|
711
|
-
- spec/models/
|
|
712
|
-
- spec/models/
|
|
713
|
-
- spec/models/
|
|
714
|
-
- spec/models/
|
|
715
|
-
- spec/models/
|
|
716
|
-
- spec/models/
|
|
717
|
-
- spec/models/
|
|
718
|
-
- spec/models/
|
|
719
|
-
- spec/models/
|
|
720
|
-
- spec/models/
|
|
672
|
+
- spec/models/brokerage_authorization_spec.rb
|
|
673
|
+
- spec/models/account_position_spec.rb
|
|
674
|
+
- spec/models/rate_of_return_response_spec.rb
|
|
675
|
+
- spec/models/session_event_type_spec.rb
|
|
676
|
+
- spec/models/status_spec.rb
|
|
677
|
+
- spec/models/rate_of_return_object_spec.rb
|
|
678
|
+
- spec/models/underlying_cfd_instrument_spec.rb
|
|
679
|
+
- spec/models/pagination_details_spec.rb
|
|
680
|
+
- spec/models/manual_trade_form_bracket_spec.rb
|
|
681
|
+
- spec/models/trade_detection_add_subscription_request_spec.rb
|
|
682
|
+
- spec/models/account_order_record_child_brokerage_order_ids_spec.rb
|
|
683
|
+
- spec/models/account_order_record_quote_universal_symbol_spec.rb
|
|
684
|
+
- spec/models/mleg_order_type_strict_spec.rb
|
|
685
|
+
- spec/models/option_instrument_spec.rb
|
|
721
686
|
- spec/models/model404_failed_request_response_spec.rb
|
|
722
|
-
- spec/models/
|
|
723
|
-
- spec/models/
|
|
687
|
+
- spec/models/delete_connection_confirmation_spec.rb
|
|
688
|
+
- spec/models/underlying_symbol_exchange_spec.rb
|
|
689
|
+
- spec/models/manual_trade_form_complex_type_spec.rb
|
|
690
|
+
- spec/models/model403_failed_request_response_spec.rb
|
|
691
|
+
- spec/models/mleg_trading_instrument_spec.rb
|
|
692
|
+
- spec/models/session_event_spec.rb
|
|
693
|
+
- spec/models/exchange_rate_pairs_spec.rb
|
|
694
|
+
- spec/models/model501_not_implemented_response_spec.rb
|
|
695
|
+
- spec/models/model402_brokerage_auth_already_disabled_exception_spec.rb
|
|
696
|
+
- spec/models/etf_instrument_spec.rb
|
|
697
|
+
- spec/models/manual_trade_impact_spec.rb
|
|
698
|
+
- spec/models/crypto_order_preview_estimated_fee_spec.rb
|
|
699
|
+
- spec/models/account_status_spec.rb
|
|
700
|
+
- spec/models/option_brokerage_symbol_spec.rb
|
|
701
|
+
- spec/models/cryptocurrency_pair_quote_spec.rb
|
|
702
|
+
- spec/models/model425_failed_request_response_spec.rb
|
|
703
|
+
- spec/models/symbol_currency_spec.rb
|
|
704
|
+
- spec/models/account_universal_activity_spec.rb
|
|
724
705
|
- spec/models/position_symbol_spec.rb
|
|
725
|
-
- spec/models/
|
|
706
|
+
- spec/models/account_holdings_spec.rb
|
|
707
|
+
- spec/models/cryptocurrency_pair_spec.rb
|
|
708
|
+
- spec/models/simple_order_form_type_spec.rb
|
|
726
709
|
- spec/models/connection_portal_version_spec.rb
|
|
727
|
-
- spec/models/
|
|
728
|
-
- spec/models/
|
|
729
|
-
- spec/models/
|
|
730
|
-
- spec/models/
|
|
731
|
-
- spec/models/
|
|
732
|
-
- spec/models/
|
|
733
|
-
- spec/models/session_event_spec.rb
|
|
734
|
-
- spec/models/symbol_spec.rb
|
|
710
|
+
- spec/models/account_value_history_item_spec.rb
|
|
711
|
+
- spec/models/manual_trade_place_time_in_force_strict_spec.rb
|
|
712
|
+
- spec/models/account_information_get_user_account_order_detail_request_spec.rb
|
|
713
|
+
- spec/models/encrypted_response_spec.rb
|
|
714
|
+
- spec/models/brokerage_authorization_type_read_only_type_spec.rb
|
|
715
|
+
- spec/models/underlying_symbol_spec.rb
|
|
735
716
|
- spec/models/complex_order_leg_order_role_spec.rb
|
|
736
|
-
- spec/models/
|
|
717
|
+
- spec/models/option_leg_spec.rb
|
|
718
|
+
- spec/models/validated_trade_body_spec.rb
|
|
719
|
+
- spec/models/mleg_trade_form_spec.rb
|
|
720
|
+
- spec/models/type_spec.rb
|
|
721
|
+
- spec/models/options_symbol_option_type_spec.rb
|
|
722
|
+
- spec/models/delete_user_response_spec.rb
|
|
723
|
+
- spec/models/security_type_spec.rb
|
|
724
|
+
- spec/models/options_symbol_spec.rb
|
|
725
|
+
- spec/models/account_universal_activity_currency_universal_symbol_spec.rb
|
|
726
|
+
- spec/models/crypto_order_form_type_spec.rb
|
|
727
|
+
- spec/models/model503_brokerage_request_response_spec.rb
|
|
728
|
+
- spec/models/snap_trade_register_user_request_body_spec.rb
|
|
729
|
+
- spec/models/option_quote_greeks_spec.rb
|
|
737
730
|
- spec/models/take_profit_spec.rb
|
|
738
|
-
- spec/models/
|
|
739
|
-
- spec/models/
|
|
740
|
-
- spec/models/
|
|
741
|
-
- spec/models/
|
|
742
|
-
- spec/models/
|
|
743
|
-
- spec/models/
|
|
744
|
-
- spec/models/
|
|
745
|
-
- spec/models/
|
|
746
|
-
- spec/models/
|
|
747
|
-
- spec/models/
|
|
748
|
-
- spec/models/
|
|
749
|
-
- spec/models/account_universal_activity_symbol_spec.rb
|
|
750
|
-
- spec/models/option_chain_inner_chain_per_root_inner_chain_per_strike_price_inner_spec.rb
|
|
751
|
-
- spec/models/performance_custom_spec.rb
|
|
731
|
+
- spec/models/snap_trade_login_user_request_body_spec.rb
|
|
732
|
+
- spec/models/balance_currency_spec.rb
|
|
733
|
+
- spec/models/strategy_type_spec.rb
|
|
734
|
+
- spec/models/mleg_price_effect_strict_spec.rb
|
|
735
|
+
- spec/models/adr_instrument_spec.rb
|
|
736
|
+
- spec/models/tax_lot_spec.rb
|
|
737
|
+
- spec/models/cef_instrument_kind_spec.rb
|
|
738
|
+
- spec/models/stock_instrument_spec.rb
|
|
739
|
+
- spec/models/dividend_at_date_spec.rb
|
|
740
|
+
- spec/models/account_orders_v2_response_spec.rb
|
|
741
|
+
- spec/models/strategy_quotes_greek_spec.rb
|
|
752
742
|
- spec/models/model403_feature_not_enabled_response_spec.rb
|
|
743
|
+
- spec/models/crypto_order_form_spec.rb
|
|
744
|
+
- spec/models/manual_trade_form_with_options_spec.rb
|
|
745
|
+
- spec/models/monthly_dividends_spec.rb
|
|
746
|
+
- spec/models/manual_trade_spec.rb
|
|
747
|
+
- spec/models/all_account_positions_response_data_freshness_spec.rb
|
|
753
748
|
- spec/models/crypto_trading_instrument_spec.rb
|
|
754
|
-
- spec/models/
|
|
755
|
-
- spec/models/snap_trade_holdings_account_spec.rb
|
|
756
|
-
- spec/models/stock_instrument_figi_instrument_spec.rb
|
|
757
|
-
- spec/models/mleg_action_strict_spec.rb
|
|
758
|
-
- spec/models/options_position_spec.rb
|
|
759
|
-
- spec/models/account_order_record_child_brokerage_order_ids_spec.rb
|
|
760
|
-
- spec/models/brokerage_spec.rb
|
|
761
|
-
- spec/models/currency_spec.rb
|
|
762
|
-
- spec/models/mleg_trading_instrument_spec.rb
|
|
763
|
-
- spec/models/order_updated_response_order_spec.rb
|
|
749
|
+
- spec/models/option_leg_action_spec.rb
|
|
764
750
|
- spec/models/account_balance_spec.rb
|
|
765
|
-
- spec/models/
|
|
766
|
-
- spec/models/
|
|
767
|
-
- spec/models/
|
|
768
|
-
- spec/models/
|
|
751
|
+
- spec/models/account_universal_activity_currency_spec.rb
|
|
752
|
+
- spec/models/manual_trade_form_notional_value_spec.rb
|
|
753
|
+
- spec/models/past_value_spec.rb
|
|
754
|
+
- spec/models/trade_detection_cancel_subscription_request_spec.rb
|
|
755
|
+
- spec/models/account_order_record_quote_currency_spec.rb
|
|
756
|
+
- spec/models/simple_order_form_spec.rb
|
|
757
|
+
- spec/models/connections_session_events200_response_inner_spec.rb
|
|
758
|
+
- spec/models/manual_trade_and_impact_spec.rb
|
|
759
|
+
- spec/models/recent_orders_response_spec.rb
|
|
760
|
+
- spec/models/symbol_exchange_spec.rb
|
|
761
|
+
- spec/models/account_order_record_v2_spec.rb
|
|
769
762
|
- spec/models/action_strict_spec.rb
|
|
763
|
+
- spec/models/symbol_query_spec.rb
|
|
770
764
|
- spec/models/exchange_spec.rb
|
|
771
|
-
- spec/models/
|
|
772
|
-
- spec/models/
|
|
773
|
-
- spec/models/
|
|
774
|
-
- spec/models/
|
|
775
|
-
- spec/models/
|
|
776
|
-
- spec/models/option_brokerage_symbol_spec.rb
|
|
777
|
-
- spec/models/login_redirect_uri_spec.rb
|
|
778
|
-
- spec/models/underlying_option_instrument_spec.rb
|
|
779
|
-
- spec/models/etf_instrument_spec.rb
|
|
780
|
-
- spec/models/crypto_order_form_time_in_force_spec.rb
|
|
781
|
-
- spec/models/adr_instrument_kind_spec.rb
|
|
782
|
-
- spec/models/strategy_quotes_greek_spec.rb
|
|
783
|
-
- spec/models/model403_failed_request_response_spec.rb
|
|
765
|
+
- spec/models/strategy_order_record_spec.rb
|
|
766
|
+
- spec/models/model429_too_many_requests_response_spec.rb
|
|
767
|
+
- spec/models/snap_trade_holdings_account_spec.rb
|
|
768
|
+
- spec/models/brokerage_authorization_type_read_only_spec.rb
|
|
769
|
+
- spec/models/performance_custom_spec.rb
|
|
784
770
|
- spec/models/action_strict_with_options_spec.rb
|
|
785
|
-
- spec/models/
|
|
786
|
-
- spec/models/
|
|
787
|
-
- spec/models/
|
|
771
|
+
- spec/models/account_order_record_status_v2_spec.rb
|
|
772
|
+
- spec/models/account_holdings_account_spec.rb
|
|
773
|
+
- spec/models/trade_detection_subscription_spec.rb
|
|
774
|
+
- spec/models/account_universal_activity_symbol_spec.rb
|
|
775
|
+
- spec/models/trading_session_spec.rb
|
|
776
|
+
- spec/models/account_spec.rb
|
|
777
|
+
- spec/models/strategy_quotes_spec.rb
|
|
778
|
+
- spec/models/kind_spec.rb
|
|
779
|
+
- spec/models/manual_trade_balance_spec.rb
|
|
780
|
+
- spec/models/order_role_spec.rb
|
|
781
|
+
- spec/models/mutual_fund_instrument_spec.rb
|
|
782
|
+
- spec/models/auth_type_spec.rb
|
|
788
783
|
- spec/models/account_category_spec.rb
|
|
789
|
-
- spec/models/
|
|
790
|
-
- spec/models/
|
|
791
|
-
- spec/models/
|
|
792
|
-
- spec/models/
|
|
793
|
-
- spec/models/
|
|
794
|
-
- spec/models/
|
|
795
|
-
- spec/models/
|
|
796
|
-
- spec/models/
|
|
784
|
+
- spec/models/option_type_spec.rb
|
|
785
|
+
- spec/models/option_chain_inner_spec.rb
|
|
786
|
+
- spec/models/symbols_quotes_inner_spec.rb
|
|
787
|
+
- spec/models/account_balance_total_spec.rb
|
|
788
|
+
- spec/models/timeframe_spec.rb
|
|
789
|
+
- spec/models/transactions_status_spec.rb
|
|
790
|
+
- spec/models/brokerage_authorization_type_read_only_brokerage_spec.rb
|
|
791
|
+
- spec/models/order_type_strict_spec.rb
|
|
792
|
+
- spec/models/trailing_stop_spec.rb
|
|
793
|
+
- spec/models/symbol_spec.rb
|
|
794
|
+
- spec/models/crypto_order_preview_spec.rb
|
|
797
795
|
- spec/models/account_order_record_trailing_stop_spec.rb
|
|
798
|
-
- spec/models/account_orders_v2_response_spec.rb
|
|
799
796
|
- spec/models/cfd_instrument_spec.rb
|
|
800
|
-
- spec/models/
|
|
801
|
-
- spec/models/
|
|
802
|
-
- spec/models/
|
|
803
|
-
- spec/models/
|
|
804
|
-
- spec/models/
|
|
805
|
-
- spec/models/
|
|
797
|
+
- spec/models/login_redirect_uri_spec.rb
|
|
798
|
+
- spec/models/snap_trade_holdings_total_value_spec.rb
|
|
799
|
+
- spec/models/options_position_spec.rb
|
|
800
|
+
- spec/models/account_order_record_status_spec.rb
|
|
801
|
+
- spec/models/trading_search_cryptocurrency_pair_instruments200_response_spec.rb
|
|
802
|
+
- spec/models/brokerage_type_spec.rb
|
|
803
|
+
- spec/models/model400_failed_request_response_spec.rb
|
|
804
|
+
- spec/models/option_quote_spec.rb
|
|
805
|
+
- spec/models/crypto_instrument_spec.rb
|
|
806
806
|
- spec/spec_helper.rb
|