snaptrade 3.0.66 → 3.0.68
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/README.md +31 -10
- data/lib/snaptrade/api/account_information_api.rb +42 -34
- data/lib/snaptrade/api/connections_api.rb +10 -2
- data/lib/snaptrade/api/experimental_endpoints_api.rb +18 -6
- data/lib/snaptrade/models/account_universal_activity.rb +11 -1
- data/lib/snaptrade/models/future_option_instrument.rb +1 -1
- data/lib/snaptrade/version.rb +1 -1
- data/spec/api/account_information_api_spec.rb +9 -9
- data/spec/api/connections_api_spec.rb +1 -1
- data/spec/api/experimental_endpoints_api_spec.rb +3 -3
- data/spec/models/account_universal_activity_spec.rb +6 -0
- metadata +289 -289
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 82b88776738b04c775c291c502c73d6612b1404816b00c92ac17c165eb559a06
|
|
4
|
+
data.tar.gz: 32057ff517abe8ffeb4fd0293298ebe0dfbc67a0220f0dd71825d07fbe1065fd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 838518a5a217d383e53e4f8d9fdcf6d868a98cdc379d628e3847e635a1a6347051d4490d8000fe80f36e0198763ed24eec271acf6d1738ddfa3661091a40f358
|
|
7
|
+
data.tar.gz: 1a6198f34b9f7b86b2f6a4945140a56141f85f4d68b9e465e733301fbdf7fd5b98897e41660963399e513d175d74f7199d125d92c7e56a683d6b10d00dc18129
|
data/README.md
CHANGED
|
@@ -63,7 +63,7 @@ backoff with jitter rather than from the headers.
|
|
|
63
63
|
See https://docs.snaptrade.com/docs/ratelimiting.
|
|
64
64
|
|
|
65
65
|
|
|
66
|
-
[](https://rubygems.org/gems/snaptrade/versions/3.0.68)
|
|
67
67
|
[](https://snaptrade.com/)
|
|
68
68
|
|
|
69
69
|
</div>
|
|
@@ -150,7 +150,7 @@ See https://docs.snaptrade.com/docs/ratelimiting.
|
|
|
150
150
|
Add to Gemfile:
|
|
151
151
|
|
|
152
152
|
```ruby
|
|
153
|
-
gem 'snaptrade', '~> 3.0.
|
|
153
|
+
gem 'snaptrade', '~> 3.0.68'
|
|
154
154
|
```
|
|
155
155
|
|
|
156
156
|
## Getting Started<a id="getting-started"></a>
|
|
@@ -413,8 +413,6 @@ This endpoint is always realtime and does not rely on cached data, except that a
|
|
|
413
413
|
|
|
414
414
|
This endpoint only returns orders placed through SnapTrade. In other words, orders placed outside of the SnapTrade network are not returned by this endpoint.
|
|
415
415
|
|
|
416
|
-
**Beta:** this endpoint and its response schema may change.
|
|
417
|
-
|
|
418
416
|
|
|
419
417
|
#### 🛠️ Usage<a id="🛠️-usage"></a>
|
|
420
418
|
|
|
@@ -528,8 +526,6 @@ Every order carries a `legs` list with at least one leg. Each leg's `instrument`
|
|
|
528
526
|
|
|
529
527
|
`order_type` is an object discriminated by `kind`. Each kind declares the price fields it requires (`limit_price` on `limit`, `stop_price` on `stop`, both on `stop_limit`, `trail` on `trailing_stop`), so a consumer never has to null-check a price that cannot exist for that kind. When the brokerage reports an order type we cannot normalize, `kind` is `other` and the brokerage's own label is in `raw_type`.
|
|
530
528
|
|
|
531
|
-
**Beta:** this endpoint and its response schema may change.
|
|
532
|
-
|
|
533
529
|
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.
|
|
534
530
|
|
|
535
531
|
|
|
@@ -622,8 +618,6 @@ By default only returns executed orders, but that can be changed by setting *onl
|
|
|
622
618
|
|
|
623
619
|
Every order carries a `legs` list with at least one leg; switch on `legs[].instrument.kind` and `order_type.kind` to know which fields are present. `data_freshness.as_of` is the time of this live request.
|
|
624
620
|
|
|
625
|
-
**Beta:** this endpoint and its response schema may change.
|
|
626
|
-
|
|
627
621
|
|
|
628
622
|
#### 🛠️ Usage<a id="🛠️-usage"></a>
|
|
629
623
|
|
|
@@ -704,6 +698,8 @@ p result
|
|
|
704
698
|
|
|
705
699
|
**Deprecated.** Use the [get account details](/reference/Account%20Information/AccountInformation_getAccountDetails) endpoint instead, which supports all account types, including investment, deposit, line of credit, annuity, and mortgage accounts.
|
|
706
700
|
|
|
701
|
+
This endpoint will return HTTP 410 Gone for all customers that sign up after December 1, 2026.
|
|
702
|
+
|
|
707
703
|
Returns account detail known to SnapTrade for the specified account.
|
|
708
704
|
|
|
709
705
|
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:
|
|
@@ -743,6 +739,9 @@ p result
|
|
|
743
739
|
|
|
744
740
|
|
|
745
741
|
### `snaptrade.account_information.get_user_account_order_detail`<a id="snaptradeaccount_informationget_user_account_order_detail"></a>
|
|
742
|
+

|
|
743
|
+
|
|
744
|
+
**Deprecated.** Use the [get account order detail](/reference/Account%20Information/AccountInformation_getAccountOrder) endpoint instead.
|
|
746
745
|
|
|
747
746
|
Returns the detail of a single order using the external order ID provided in the request body.
|
|
748
747
|
|
|
@@ -788,6 +787,9 @@ the brokerage system.
|
|
|
788
787
|
|
|
789
788
|
|
|
790
789
|
### `snaptrade.account_information.get_user_account_orders`<a id="snaptradeaccount_informationget_user_account_orders"></a>
|
|
790
|
+

|
|
791
|
+
|
|
792
|
+
**Deprecated.** Use the [list all account orders](/reference/Account%20Information/AccountInformation_getAllAccountOrders) endpoint instead.
|
|
791
793
|
|
|
792
794
|
Returns a list of recent orders in the specified account.
|
|
793
795
|
|
|
@@ -837,6 +839,9 @@ Number of days in the past to fetch the most recent orders. Defaults to the last
|
|
|
837
839
|
|
|
838
840
|
|
|
839
841
|
### `snaptrade.account_information.get_user_account_recent_orders`<a id="snaptradeaccount_informationget_user_account_recent_orders"></a>
|
|
842
|
+

|
|
843
|
+
|
|
844
|
+
**Deprecated.** Use the [list all account recent orders](/reference/Account%20Information/AccountInformation_getAllAccountRecentOrders) endpoint instead.
|
|
840
845
|
|
|
841
846
|
A lightweight endpoint that returns the latest page of orders placed in the last 24 hours in the specified account. For most brokerages, the default page size is 100 meaning the endpoint will return a max of 100 orders.
|
|
842
847
|
This endpoint is realtime and can be used to quickly check if account state has recently changed due to an execution, or check status of recently placed orders
|
|
@@ -921,7 +926,7 @@ returns all six supported timeframes.
|
|
|
921
926
|
### `snaptrade.account_information.get_user_holdings`<a id="snaptradeaccount_informationget_user_holdings"></a>
|
|
922
927
|

|
|
923
928
|
|
|
924
|
-
**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/
|
|
929
|
+
**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_getAllAccountOrders).
|
|
925
930
|
|
|
926
931
|
This endpoint will return HTTP 410 Gone for all customers that sign up after May 11, 2026.
|
|
927
932
|
|
|
@@ -1006,9 +1011,11 @@ p result
|
|
|
1006
1011
|
|
|
1007
1012
|
**Deprecated.** Use the [list all user accounts](/reference/Account%20Information/AccountInformation_listAllUserAccounts) endpoint instead, which returns all account types in a single response, including investment, deposit, line of credit, annuity, and mortgage accounts.
|
|
1008
1013
|
|
|
1014
|
+
This endpoint will return HTTP 410 Gone for all customers that sign up after December 1, 2026.
|
|
1015
|
+
|
|
1009
1016
|
Returns all brokerage accounts across all connections known to SnapTrade for the authenticated user.
|
|
1010
1017
|
|
|
1011
|
-
This endpoint returns Daily data regardless of the customer's plan. Daily data is cached and refreshed once a day, which makes this endpoint fast and well-suited to listing accounts across all of a user's connections in a single call. Exact refresh timing may vary by brokerage. To get real-time data on Pay as you Go / Real-time, use the [list accounts for a connection endpoint](/reference/Connections/
|
|
1018
|
+
This endpoint returns Daily data regardless of the customer's plan. Daily data is cached and refreshed once a day, which makes this endpoint fast and well-suited to listing accounts across all of a user's connections in a single call. Exact refresh timing may vary by brokerage. To get real-time data on Pay as you Go / Real-time, use the [list accounts for a connection endpoint](/reference/Connections/Connections_listConnectionAccounts). Customers on Pay as you Go / Daily can force a refresh with the [manual refresh endpoint](/reference/Connections/Connections_refreshBrokerageAuthorization).
|
|
1012
1019
|
|
|
1013
1020
|
|
|
1014
1021
|
#### 🛠️ Usage<a id="🛠️-usage"></a>
|
|
@@ -1420,6 +1427,11 @@ p result
|
|
|
1420
1427
|
|
|
1421
1428
|
|
|
1422
1429
|
### `snaptrade.connections.list_brokerage_authorization_accounts`<a id="snaptradeconnectionslist_brokerage_authorization_accounts"></a>
|
|
1430
|
+

|
|
1431
|
+
|
|
1432
|
+
**Deprecated.** Use the [list accounts](/reference/Connections/Connections_listConnectionAccounts) endpoint instead, which returns all account types in a single response, including investment, deposit, line of credit, annuity, and mortgage accounts.
|
|
1433
|
+
|
|
1434
|
+
This endpoint will return HTTP 410 Gone for all customers that sign up after December 1, 2026.
|
|
1423
1435
|
|
|
1424
1436
|
Returns all brokerage accounts that belong to the specified connection for the authenticated user.
|
|
1425
1437
|
|
|
@@ -1727,6 +1739,9 @@ reference the account in SnapTrade.
|
|
|
1727
1739
|
|
|
1728
1740
|
|
|
1729
1741
|
### `snaptrade.experimental_endpoints.get_user_account_order_detail_v2`<a id="snaptradeexperimental_endpointsget_user_account_order_detail_v2"></a>
|
|
1742
|
+

|
|
1743
|
+
|
|
1744
|
+
**Deprecated.** Use the [get account order detail](/reference/Account%20Information/AccountInformation_getAccountOrder) endpoint instead.
|
|
1730
1745
|
|
|
1731
1746
|
Returns the detail of a single order using the brokerage order ID provided as a path parameter.
|
|
1732
1747
|
|
|
@@ -1770,6 +1785,9 @@ p result
|
|
|
1770
1785
|
|
|
1771
1786
|
|
|
1772
1787
|
### `snaptrade.experimental_endpoints.get_user_account_orders_v2`<a id="snaptradeexperimental_endpointsget_user_account_orders_v2"></a>
|
|
1788
|
+

|
|
1789
|
+
|
|
1790
|
+
**Deprecated.** Use the [list all account orders](/reference/Account%20Information/AccountInformation_getAllAccountOrders) endpoint instead.
|
|
1773
1791
|
|
|
1774
1792
|
Returns a list of recent orders in the specified account.
|
|
1775
1793
|
|
|
@@ -1817,6 +1835,9 @@ Number of days in the past to fetch the most recent orders. Defaults to the last
|
|
|
1817
1835
|
|
|
1818
1836
|
|
|
1819
1837
|
### `snaptrade.experimental_endpoints.get_user_account_recent_orders_v2`<a id="snaptradeexperimental_endpointsget_user_account_recent_orders_v2"></a>
|
|
1838
|
+

|
|
1839
|
+
|
|
1840
|
+
**Deprecated.** Use the [list all account recent orders](/reference/Account%20Information/AccountInformation_getAllAccountRecentOrders) endpoint instead.
|
|
1820
1841
|
|
|
1821
1842
|
A lightweight endpoint that returns a list of orders executed in the last 24 hours in the specified account using the V2 order format.
|
|
1822
1843
|
This endpoint is realtime and can be used to quickly check if account state has recently changed due to an execution, or check status of recently placed orders.
|
|
@@ -541,8 +541,6 @@ module SnapTrade
|
|
|
541
541
|
# This endpoint is always realtime and does not rely on cached data, except that an order in a terminal state (executed, canceled, rejected, failed, expired, replaced) may be served from a short-lived cache since it can no longer change.
|
|
542
542
|
#
|
|
543
543
|
# This endpoint only returns orders placed through SnapTrade. In other words, orders placed outside of the SnapTrade network are not returned by this endpoint.
|
|
544
|
-
#
|
|
545
|
-
# **Beta:** this endpoint and its response schema may change.
|
|
546
544
|
#
|
|
547
545
|
# @param account_id [String]
|
|
548
546
|
# @param brokerage_order_id [String]
|
|
@@ -563,8 +561,6 @@ module SnapTrade
|
|
|
563
561
|
# This endpoint is always realtime and does not rely on cached data, except that an order in a terminal state (executed, canceled, rejected, failed, expired, replaced) may be served from a short-lived cache since it can no longer change.
|
|
564
562
|
#
|
|
565
563
|
# This endpoint only returns orders placed through SnapTrade. In other words, orders placed outside of the SnapTrade network are not returned by this endpoint.
|
|
566
|
-
#
|
|
567
|
-
# **Beta:** this endpoint and its response schema may change.
|
|
568
564
|
#
|
|
569
565
|
# @param account_id [String]
|
|
570
566
|
# @param brokerage_order_id [String]
|
|
@@ -576,7 +572,7 @@ module SnapTrade
|
|
|
576
572
|
end
|
|
577
573
|
|
|
578
574
|
# Get account order detail
|
|
579
|
-
# Returns the detail of a single order, identified by the brokerage order ID in the path, in the same `kind`-discriminated format as `/accounts/{accountId}/orders/all`. The order carries a `legs` list with at least one leg; switch on `legs[].instrument.kind` and `order_type.kind` to know which fields are present. Multi-leg orders are a single order with multiple legs. This endpoint is always realtime and does not rely on cached data, except that an order in a terminal state (executed, canceled, rejected, failed, expired, replaced) may be served from a short-lived cache since it can no longer change. This endpoint only returns orders placed through SnapTrade. In other words, orders placed outside of the SnapTrade network are not returned by this endpoint.
|
|
575
|
+
# Returns the detail of a single order, identified by the brokerage order ID in the path, in the same `kind`-discriminated format as `/accounts/{accountId}/orders/all`. The order carries a `legs` list with at least one leg; switch on `legs[].instrument.kind` and `order_type.kind` to know which fields are present. Multi-leg orders are a single order with multiple legs. This endpoint is always realtime and does not rely on cached data, except that an order in a terminal state (executed, canceled, rejected, failed, expired, replaced) may be served from a short-lived cache since it can no longer change. This endpoint only returns orders placed through SnapTrade. In other words, orders placed outside of the SnapTrade network are not returned by this endpoint.
|
|
580
576
|
# @param account_id [String]
|
|
581
577
|
# @param brokerage_order_id [String]
|
|
582
578
|
# @param user_id [String]
|
|
@@ -589,7 +585,7 @@ module SnapTrade
|
|
|
589
585
|
end
|
|
590
586
|
|
|
591
587
|
# Get account order detail
|
|
592
|
-
# Returns the detail of a single order, identified by the brokerage order ID in the path, in the same `kind`-discriminated format as `/accounts/{accountId}/orders/all`. The order carries a `legs` list with at least one leg; switch on `legs[].instrument.kind` and `order_type.kind` to know which fields are present. Multi-leg orders are a single order with multiple legs. This endpoint is always realtime and does not rely on cached data, except that an order in a terminal state (executed, canceled, rejected, failed, expired, replaced) may be served from a short-lived cache since it can no longer change. This endpoint only returns orders placed through SnapTrade. In other words, orders placed outside of the SnapTrade network are not returned by this endpoint.
|
|
588
|
+
# Returns the detail of a single order, identified by the brokerage order ID in the path, in the same `kind`-discriminated format as `/accounts/{accountId}/orders/all`. The order carries a `legs` list with at least one leg; switch on `legs[].instrument.kind` and `order_type.kind` to know which fields are present. Multi-leg orders are a single order with multiple legs. This endpoint is always realtime and does not rely on cached data, except that an order in a terminal state (executed, canceled, rejected, failed, expired, replaced) may be served from a short-lived cache since it can no longer change. This endpoint only returns orders placed through SnapTrade. In other words, orders placed outside of the SnapTrade network are not returned by this endpoint.
|
|
593
589
|
# @param account_id [String]
|
|
594
590
|
# @param brokerage_order_id [String]
|
|
595
591
|
# @param user_id [String]
|
|
@@ -821,8 +817,6 @@ module SnapTrade
|
|
|
821
817
|
#
|
|
822
818
|
# `order_type` is an object discriminated by `kind`. Each kind declares the price fields it requires (`limit_price` on `limit`, `stop_price` on `stop`, both on `stop_limit`, `trail` on `trailing_stop`), so a consumer never has to null-check a price that cannot exist for that kind. When the brokerage reports an order type we cannot normalize, `kind` is `other` and the brokerage's own label is in `raw_type`.
|
|
823
819
|
#
|
|
824
|
-
# **Beta:** this endpoint and its response schema may change.
|
|
825
|
-
#
|
|
826
820
|
# 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.
|
|
827
821
|
#
|
|
828
822
|
# @param user_id [String]
|
|
@@ -846,8 +840,6 @@ module SnapTrade
|
|
|
846
840
|
#
|
|
847
841
|
# `order_type` is an object discriminated by `kind`. Each kind declares the price fields it requires (`limit_price` on `limit`, `stop_price` on `stop`, both on `stop_limit`, `trail` on `trailing_stop`), so a consumer never has to null-check a price that cannot exist for that kind. When the brokerage reports an order type we cannot normalize, `kind` is `other` and the brokerage's own label is in `raw_type`.
|
|
848
842
|
#
|
|
849
|
-
# **Beta:** this endpoint and its response schema may change.
|
|
850
|
-
#
|
|
851
843
|
# 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.
|
|
852
844
|
#
|
|
853
845
|
# @param user_id [String]
|
|
@@ -863,7 +855,7 @@ module SnapTrade
|
|
|
863
855
|
end
|
|
864
856
|
|
|
865
857
|
# List all account orders
|
|
866
|
-
# Returns a list of recent orders in the specified account, in the same `kind`-discriminated format as `/accounts/{accountId}/positions/all`. Every order carries a `legs` list with at least one leg. Each leg's `instrument` uses the same `Instrument` union as positions; switch on `instrument.kind` to know which fields are present. Multi-leg orders (spreads, strangles, covered calls) are a single order with multiple legs. Orders that belong to a complex order group (OCO, OTO, OTOCO) share a `group.id`. `order_type` is an object discriminated by `kind`. Each kind declares the price fields it requires (`limit_price` on `limit`, `stop_price` on `stop`, both on `stop_limit`, `trail` on `trailing_stop`), so a consumer never has to null-check a price that cannot exist for that kind. When the brokerage reports an order type we cannot normalize, `kind` is `other` and the brokerage's own label is in `raw_type`.
|
|
858
|
+
# Returns a list of recent orders in the specified account, in the same `kind`-discriminated format as `/accounts/{accountId}/positions/all`. Every order carries a `legs` list with at least one leg. Each leg's `instrument` uses the same `Instrument` union as positions; switch on `instrument.kind` to know which fields are present. Multi-leg orders (spreads, strangles, covered calls) are a single order with multiple legs. Orders that belong to a complex order group (OCO, OTO, OTOCO) share a `group.id`. `order_type` is an object discriminated by `kind`. Each kind declares the price fields it requires (`limit_price` on `limit`, `stop_price` on `stop`, both on `stop_limit`, `trail` on `trailing_stop`), so a consumer never has to null-check a price that cannot exist for that kind. When the brokerage reports an order type we cannot normalize, `kind` is `other` and the brokerage's own label is in `raw_type`. 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.
|
|
867
859
|
# @param user_id [String]
|
|
868
860
|
# @param user_secret [String]
|
|
869
861
|
# @param account_id [String]
|
|
@@ -877,7 +869,7 @@ module SnapTrade
|
|
|
877
869
|
end
|
|
878
870
|
|
|
879
871
|
# List all account orders
|
|
880
|
-
# Returns a list of recent orders in the specified account, in the same `kind`-discriminated format as `/accounts/{accountId}/positions/all`. Every order carries a `legs` list with at least one leg. Each leg's `instrument` uses the same `Instrument` union as positions; switch on `instrument.kind` to know which fields are present. Multi-leg orders (spreads, strangles, covered calls) are a single order with multiple legs. Orders that belong to a complex order group (OCO, OTO, OTOCO) share a `group.id`. `order_type` is an object discriminated by `kind`. Each kind declares the price fields it requires (`limit_price` on `limit`, `stop_price` on `stop`, both on `stop_limit`, `trail` on `trailing_stop`), so a consumer never has to null-check a price that cannot exist for that kind. When the brokerage reports an order type we cannot normalize, `kind` is `other` and the brokerage's own label is in `raw_type`.
|
|
872
|
+
# Returns a list of recent orders in the specified account, in the same `kind`-discriminated format as `/accounts/{accountId}/positions/all`. Every order carries a `legs` list with at least one leg. Each leg's `instrument` uses the same `Instrument` union as positions; switch on `instrument.kind` to know which fields are present. Multi-leg orders (spreads, strangles, covered calls) are a single order with multiple legs. Orders that belong to a complex order group (OCO, OTO, OTOCO) share a `group.id`. `order_type` is an object discriminated by `kind`. Each kind declares the price fields it requires (`limit_price` on `limit`, `stop_price` on `stop`, both on `stop_limit`, `trail` on `trailing_stop`), so a consumer never has to null-check a price that cannot exist for that kind. When the brokerage reports an order type we cannot normalize, `kind` is `other` and the brokerage's own label is in `raw_type`. 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.
|
|
881
873
|
# @param user_id [String]
|
|
882
874
|
# @param user_secret [String]
|
|
883
875
|
# @param account_id [String]
|
|
@@ -1085,8 +1077,6 @@ module SnapTrade
|
|
|
1085
1077
|
# By default only returns executed orders, but that can be changed by setting *only_executed* to false.
|
|
1086
1078
|
#
|
|
1087
1079
|
# Every order carries a `legs` list with at least one leg; switch on `legs[].instrument.kind` and `order_type.kind` to know which fields are present. `data_freshness.as_of` is the time of this live request.
|
|
1088
|
-
#
|
|
1089
|
-
# **Beta:** this endpoint and its response schema may change.
|
|
1090
1080
|
#
|
|
1091
1081
|
# @param user_id [String]
|
|
1092
1082
|
# @param user_secret [String]
|
|
@@ -1107,8 +1097,6 @@ module SnapTrade
|
|
|
1107
1097
|
# By default only returns executed orders, but that can be changed by setting *only_executed* to false.
|
|
1108
1098
|
#
|
|
1109
1099
|
# Every order carries a `legs` list with at least one leg; switch on `legs[].instrument.kind` and `order_type.kind` to know which fields are present. `data_freshness.as_of` is the time of this live request.
|
|
1110
|
-
#
|
|
1111
|
-
# **Beta:** this endpoint and its response schema may change.
|
|
1112
1100
|
#
|
|
1113
1101
|
# @param user_id [String]
|
|
1114
1102
|
# @param user_secret [String]
|
|
@@ -1121,7 +1109,7 @@ module SnapTrade
|
|
|
1121
1109
|
end
|
|
1122
1110
|
|
|
1123
1111
|
# List all account recent orders (last 24 hours only)
|
|
1124
|
-
# A lightweight endpoint that returns the latest page of orders placed in the last 24 hours in the specified account, in the same `kind`-discriminated format as `/accounts/{accountId}/orders/all`. For most brokerages, the default page size is 100 meaning the endpoint will return a max of 100 orders. This endpoint is realtime and can be used to quickly check if account state has recently changed due to an execution, or check status of recently placed orders. Differs from `/accounts/{accountId}/orders/all` in that it is always realtime, and only checks the last 24 hours as opposed to the last 30 days. By default only returns executed orders, but that can be changed by setting *only_executed* to false. Every order carries a `legs` list with at least one leg; switch on `legs[].instrument.kind` and `order_type.kind` to know which fields are present. `data_freshness.as_of` is the time of this live request.
|
|
1112
|
+
# A lightweight endpoint that returns the latest page of orders placed in the last 24 hours in the specified account, in the same `kind`-discriminated format as `/accounts/{accountId}/orders/all`. For most brokerages, the default page size is 100 meaning the endpoint will return a max of 100 orders. This endpoint is realtime and can be used to quickly check if account state has recently changed due to an execution, or check status of recently placed orders. Differs from `/accounts/{accountId}/orders/all` in that it is always realtime, and only checks the last 24 hours as opposed to the last 30 days. By default only returns executed orders, but that can be changed by setting *only_executed* to false. Every order carries a `legs` list with at least one leg; switch on `legs[].instrument.kind` and `order_type.kind` to know which fields are present. `data_freshness.as_of` is the time of this live request.
|
|
1125
1113
|
# @param user_id [String]
|
|
1126
1114
|
# @param user_secret [String]
|
|
1127
1115
|
# @param account_id [String]
|
|
@@ -1134,7 +1122,7 @@ module SnapTrade
|
|
|
1134
1122
|
end
|
|
1135
1123
|
|
|
1136
1124
|
# List all account recent orders (last 24 hours only)
|
|
1137
|
-
# A lightweight endpoint that returns the latest page of orders placed in the last 24 hours in the specified account, in the same `kind`-discriminated format as `/accounts/{accountId}/orders/all`. For most brokerages, the default page size is 100 meaning the endpoint will return a max of 100 orders. This endpoint is realtime and can be used to quickly check if account state has recently changed due to an execution, or check status of recently placed orders. Differs from `/accounts/{accountId}/orders/all` in that it is always realtime, and only checks the last 24 hours as opposed to the last 30 days. By default only returns executed orders, but that can be changed by setting *only_executed* to false. Every order carries a `legs` list with at least one leg; switch on `legs[].instrument.kind` and `order_type.kind` to know which fields are present. `data_freshness.as_of` is the time of this live request.
|
|
1125
|
+
# A lightweight endpoint that returns the latest page of orders placed in the last 24 hours in the specified account, in the same `kind`-discriminated format as `/accounts/{accountId}/orders/all`. For most brokerages, the default page size is 100 meaning the endpoint will return a max of 100 orders. This endpoint is realtime and can be used to quickly check if account state has recently changed due to an execution, or check status of recently placed orders. Differs from `/accounts/{accountId}/orders/all` in that it is always realtime, and only checks the last 24 hours as opposed to the last 30 days. By default only returns executed orders, but that can be changed by setting *only_executed* to false. Every order carries a `legs` list with at least one leg; switch on `legs[].instrument.kind` and `order_type.kind` to know which fields are present. `data_freshness.as_of` is the time of this live request.
|
|
1138
1126
|
# @param user_id [String]
|
|
1139
1127
|
# @param user_secret [String]
|
|
1140
1128
|
# @param account_id [String]
|
|
@@ -1320,6 +1308,8 @@ module SnapTrade
|
|
|
1320
1308
|
#
|
|
1321
1309
|
# **Deprecated.** Use the [get account details](/reference/Account%20Information/AccountInformation_getAccountDetails) endpoint instead, which supports all account types, including investment, deposit, line of credit, annuity, and mortgage accounts.
|
|
1322
1310
|
#
|
|
1311
|
+
# This endpoint will return HTTP 410 Gone for all customers that sign up after December 1, 2026.
|
|
1312
|
+
#
|
|
1323
1313
|
# Returns account detail known to SnapTrade for the specified account.
|
|
1324
1314
|
#
|
|
1325
1315
|
# 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:
|
|
@@ -1341,6 +1331,8 @@ module SnapTrade
|
|
|
1341
1331
|
#
|
|
1342
1332
|
# **Deprecated.** Use the [get account details](/reference/Account%20Information/AccountInformation_getAccountDetails) endpoint instead, which supports all account types, including investment, deposit, line of credit, annuity, and mortgage accounts.
|
|
1343
1333
|
#
|
|
1334
|
+
# This endpoint will return HTTP 410 Gone for all customers that sign up after December 1, 2026.
|
|
1335
|
+
#
|
|
1344
1336
|
# Returns account detail known to SnapTrade for the specified account.
|
|
1345
1337
|
#
|
|
1346
1338
|
# 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:
|
|
@@ -1358,7 +1350,7 @@ module SnapTrade
|
|
|
1358
1350
|
end
|
|
1359
1351
|
|
|
1360
1352
|
# Get account detail
|
|
1361
|
-
# **Deprecated.** Use the [get account details](/reference/Account%20Information/AccountInformation_getAccountDetails) endpoint instead, which supports all account types, including investment, deposit, line of credit, annuity, and mortgage accounts. Returns account detail known to SnapTrade 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.
|
|
1353
|
+
# **Deprecated.** Use the [get account details](/reference/Account%20Information/AccountInformation_getAccountDetails) endpoint instead, which supports all account types, including investment, deposit, line of credit, annuity, and mortgage accounts. This endpoint will return HTTP 410 Gone for all customers that sign up after December 1, 2026. Returns account detail known to SnapTrade 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.
|
|
1362
1354
|
# @param user_id [String]
|
|
1363
1355
|
# @param user_secret [String]
|
|
1364
1356
|
# @param account_id [String]
|
|
@@ -1370,7 +1362,7 @@ module SnapTrade
|
|
|
1370
1362
|
end
|
|
1371
1363
|
|
|
1372
1364
|
# Get account detail
|
|
1373
|
-
# **Deprecated.** Use the [get account details](/reference/Account%20Information/AccountInformation_getAccountDetails) endpoint instead, which supports all account types, including investment, deposit, line of credit, annuity, and mortgage accounts. Returns account detail known to SnapTrade 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.
|
|
1365
|
+
# **Deprecated.** Use the [get account details](/reference/Account%20Information/AccountInformation_getAccountDetails) endpoint instead, which supports all account types, including investment, deposit, line of credit, annuity, and mortgage accounts. This endpoint will return HTTP 410 Gone for all customers that sign up after December 1, 2026. Returns account detail known to SnapTrade 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.
|
|
1374
1366
|
# @param user_id [String]
|
|
1375
1367
|
# @param user_secret [String]
|
|
1376
1368
|
# @param account_id [String]
|
|
@@ -1437,6 +1429,8 @@ module SnapTrade
|
|
|
1437
1429
|
|
|
1438
1430
|
# Get account order detail
|
|
1439
1431
|
#
|
|
1432
|
+
# **Deprecated.** Use the [get account order detail](/reference/Account%20Information/AccountInformation_getAccountOrder) endpoint instead.
|
|
1433
|
+
#
|
|
1440
1434
|
# Returns the detail of a single order using the external order ID provided in the request body.
|
|
1441
1435
|
#
|
|
1442
1436
|
# This endpoint only works for single-leg orders at this time. Support for multi-leg orders will be added in the future.
|
|
@@ -1461,6 +1455,8 @@ module SnapTrade
|
|
|
1461
1455
|
|
|
1462
1456
|
# Get account order detail
|
|
1463
1457
|
#
|
|
1458
|
+
# **Deprecated.** Use the [get account order detail](/reference/Account%20Information/AccountInformation_getAccountOrder) endpoint instead.
|
|
1459
|
+
#
|
|
1464
1460
|
# Returns the detail of a single order using the external order ID provided in the request body.
|
|
1465
1461
|
#
|
|
1466
1462
|
# This endpoint only works for single-leg orders at this time. Support for multi-leg orders will be added in the future.
|
|
@@ -1483,7 +1479,7 @@ module SnapTrade
|
|
|
1483
1479
|
end
|
|
1484
1480
|
|
|
1485
1481
|
# Get account order detail
|
|
1486
|
-
# Returns the detail of a single order using the external order ID provided in the request body. This endpoint only works for single-leg orders at this time. Support for multi-leg orders will be added in the future. This endpoint is always realtime and does not rely on cached data. This endpoint only returns orders placed through SnapTrade. In other words, orders placed outside of the SnapTrade network are not returned by this endpoint.
|
|
1482
|
+
# **Deprecated.** Use the [get account order detail](/reference/Account%20Information/AccountInformation_getAccountOrder) endpoint instead. Returns the detail of a single order using the external order ID provided in the request body. This endpoint only works for single-leg orders at this time. Support for multi-leg orders will be added in the future. This endpoint is always realtime and does not rely on cached data. This endpoint only returns orders placed through SnapTrade. In other words, orders placed outside of the SnapTrade network are not returned by this endpoint.
|
|
1487
1483
|
# @param account_id [String]
|
|
1488
1484
|
# @param user_id [String]
|
|
1489
1485
|
# @param user_secret [String]
|
|
@@ -1496,7 +1492,7 @@ module SnapTrade
|
|
|
1496
1492
|
end
|
|
1497
1493
|
|
|
1498
1494
|
# Get account order detail
|
|
1499
|
-
# Returns the detail of a single order using the external order ID provided in the request body. This endpoint only works for single-leg orders at this time. Support for multi-leg orders will be added in the future. This endpoint is always realtime and does not rely on cached data. This endpoint only returns orders placed through SnapTrade. In other words, orders placed outside of the SnapTrade network are not returned by this endpoint.
|
|
1495
|
+
# **Deprecated.** Use the [get account order detail](/reference/Account%20Information/AccountInformation_getAccountOrder) endpoint instead. Returns the detail of a single order using the external order ID provided in the request body. This endpoint only works for single-leg orders at this time. Support for multi-leg orders will be added in the future. This endpoint is always realtime and does not rely on cached data. This endpoint only returns orders placed through SnapTrade. In other words, orders placed outside of the SnapTrade network are not returned by this endpoint.
|
|
1500
1496
|
# @param account_id [String]
|
|
1501
1497
|
# @param user_id [String]
|
|
1502
1498
|
# @param user_secret [String]
|
|
@@ -1573,6 +1569,8 @@ module SnapTrade
|
|
|
1573
1569
|
|
|
1574
1570
|
# List account orders
|
|
1575
1571
|
#
|
|
1572
|
+
# **Deprecated.** Use the [list all account orders](/reference/Account%20Information/AccountInformation_getAllAccountOrders) endpoint instead.
|
|
1573
|
+
#
|
|
1576
1574
|
# Returns a list of recent orders in the specified account.
|
|
1577
1575
|
#
|
|
1578
1576
|
# 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:
|
|
@@ -1596,6 +1594,8 @@ module SnapTrade
|
|
|
1596
1594
|
|
|
1597
1595
|
# List account orders
|
|
1598
1596
|
#
|
|
1597
|
+
# **Deprecated.** Use the [list all account orders](/reference/Account%20Information/AccountInformation_getAllAccountOrders) endpoint instead.
|
|
1598
|
+
#
|
|
1599
1599
|
# Returns a list of recent orders in the specified account.
|
|
1600
1600
|
#
|
|
1601
1601
|
# 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:
|
|
@@ -1617,7 +1617,7 @@ module SnapTrade
|
|
|
1617
1617
|
end
|
|
1618
1618
|
|
|
1619
1619
|
# List account orders
|
|
1620
|
-
# Returns a list of recent orders in 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.
|
|
1620
|
+
# **Deprecated.** Use the [list all account orders](/reference/Account%20Information/AccountInformation_getAllAccountOrders) endpoint instead. Returns a list of recent orders in 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.
|
|
1621
1621
|
# @param user_id [String]
|
|
1622
1622
|
# @param user_secret [String]
|
|
1623
1623
|
# @param account_id [String]
|
|
@@ -1631,7 +1631,7 @@ module SnapTrade
|
|
|
1631
1631
|
end
|
|
1632
1632
|
|
|
1633
1633
|
# List account orders
|
|
1634
|
-
# Returns a list of recent orders in 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.
|
|
1634
|
+
# **Deprecated.** Use the [list all account orders](/reference/Account%20Information/AccountInformation_getAllAccountOrders) endpoint instead. Returns a list of recent orders in 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.
|
|
1635
1635
|
# @param user_id [String]
|
|
1636
1636
|
# @param user_secret [String]
|
|
1637
1637
|
# @param account_id [String]
|
|
@@ -1714,6 +1714,8 @@ module SnapTrade
|
|
|
1714
1714
|
|
|
1715
1715
|
# List account recent orders (last 24 hours only)
|
|
1716
1716
|
#
|
|
1717
|
+
# **Deprecated.** Use the [list all account recent orders](/reference/Account%20Information/AccountInformation_getAllAccountRecentOrders) endpoint instead.
|
|
1718
|
+
#
|
|
1717
1719
|
# A lightweight endpoint that returns the latest page of orders placed in the last 24 hours in the specified account. For most brokerages, the default page size is 100 meaning the endpoint will return a max of 100 orders.
|
|
1718
1720
|
# This endpoint is realtime and can be used to quickly check if account state has recently changed due to an execution, or check status of recently placed orders
|
|
1719
1721
|
# Differs from /orders in that it is always realtime, and only checks the last 24 hours
|
|
@@ -1732,6 +1734,8 @@ module SnapTrade
|
|
|
1732
1734
|
|
|
1733
1735
|
# List account recent orders (last 24 hours only)
|
|
1734
1736
|
#
|
|
1737
|
+
# **Deprecated.** Use the [list all account recent orders](/reference/Account%20Information/AccountInformation_getAllAccountRecentOrders) endpoint instead.
|
|
1738
|
+
#
|
|
1735
1739
|
# A lightweight endpoint that returns the latest page of orders placed in the last 24 hours in the specified account. For most brokerages, the default page size is 100 meaning the endpoint will return a max of 100 orders.
|
|
1736
1740
|
# This endpoint is realtime and can be used to quickly check if account state has recently changed due to an execution, or check status of recently placed orders
|
|
1737
1741
|
# Differs from /orders in that it is always realtime, and only checks the last 24 hours
|
|
@@ -1748,7 +1752,7 @@ module SnapTrade
|
|
|
1748
1752
|
end
|
|
1749
1753
|
|
|
1750
1754
|
# List account recent orders (last 24 hours only)
|
|
1751
|
-
# A lightweight endpoint that returns the latest page of orders placed in the last 24 hours in the specified account. For most brokerages, the default page size is 100 meaning the endpoint will return a max of 100 orders. This endpoint is realtime and can be used to quickly check if account state has recently changed due to an execution, or check status of recently placed orders Differs from /orders in that it is always realtime, and only checks the last 24 hours By default only returns executed orders, but that can be changed by setting *only_executed* to false
|
|
1755
|
+
# **Deprecated.** Use the [list all account recent orders](/reference/Account%20Information/AccountInformation_getAllAccountRecentOrders) endpoint instead. A lightweight endpoint that returns the latest page of orders placed in the last 24 hours in the specified account. For most brokerages, the default page size is 100 meaning the endpoint will return a max of 100 orders. This endpoint is realtime and can be used to quickly check if account state has recently changed due to an execution, or check status of recently placed orders Differs from /orders in that it is always realtime, and only checks the last 24 hours By default only returns executed orders, but that can be changed by setting *only_executed* to false
|
|
1752
1756
|
# @param user_id [String]
|
|
1753
1757
|
# @param user_secret [String]
|
|
1754
1758
|
# @param account_id [String]
|
|
@@ -1761,7 +1765,7 @@ module SnapTrade
|
|
|
1761
1765
|
end
|
|
1762
1766
|
|
|
1763
1767
|
# List account recent orders (last 24 hours only)
|
|
1764
|
-
# A lightweight endpoint that returns the latest page of orders placed in the last 24 hours in the specified account. For most brokerages, the default page size is 100 meaning the endpoint will return a max of 100 orders. This endpoint is realtime and can be used to quickly check if account state has recently changed due to an execution, or check status of recently placed orders Differs from /orders in that it is always realtime, and only checks the last 24 hours By default only returns executed orders, but that can be changed by setting *only_executed* to false
|
|
1768
|
+
# **Deprecated.** Use the [list all account recent orders](/reference/Account%20Information/AccountInformation_getAllAccountRecentOrders) endpoint instead. A lightweight endpoint that returns the latest page of orders placed in the last 24 hours in the specified account. For most brokerages, the default page size is 100 meaning the endpoint will return a max of 100 orders. This endpoint is realtime and can be used to quickly check if account state has recently changed due to an execution, or check status of recently placed orders Differs from /orders in that it is always realtime, and only checks the last 24 hours By default only returns executed orders, but that can be changed by setting *only_executed* to false
|
|
1765
1769
|
# @param user_id [String]
|
|
1766
1770
|
# @param user_secret [String]
|
|
1767
1771
|
# @param account_id [String]
|
|
@@ -1940,7 +1944,7 @@ module SnapTrade
|
|
|
1940
1944
|
|
|
1941
1945
|
# List account holdings
|
|
1942
1946
|
#
|
|
1943
|
-
# **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/
|
|
1947
|
+
# **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_getAllAccountOrders).
|
|
1944
1948
|
#
|
|
1945
1949
|
# This endpoint will return HTTP 410 Gone for all customers that sign up after May 11, 2026.
|
|
1946
1950
|
#
|
|
@@ -1965,7 +1969,7 @@ module SnapTrade
|
|
|
1965
1969
|
|
|
1966
1970
|
# List account holdings
|
|
1967
1971
|
#
|
|
1968
|
-
# **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/
|
|
1972
|
+
# **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_getAllAccountOrders).
|
|
1969
1973
|
#
|
|
1970
1974
|
# This endpoint will return HTTP 410 Gone for all customers that sign up after May 11, 2026.
|
|
1971
1975
|
#
|
|
@@ -1988,7 +1992,7 @@ module SnapTrade
|
|
|
1988
1992
|
end
|
|
1989
1993
|
|
|
1990
1994
|
# List account holdings
|
|
1991
|
-
# **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/
|
|
1995
|
+
# **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_getAllAccountOrders). 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. Concurrent live holdings requests for the same account fail immediately with HTTP 409 and error code `1166`. Wait for the in-flight request to complete before retrying.
|
|
1992
1996
|
# @param account_id [String]
|
|
1993
1997
|
# @param user_id [String]
|
|
1994
1998
|
# @param user_secret [String]
|
|
@@ -2000,7 +2004,7 @@ module SnapTrade
|
|
|
2000
2004
|
end
|
|
2001
2005
|
|
|
2002
2006
|
# List account holdings
|
|
2003
|
-
# **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/
|
|
2007
|
+
# **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_getAllAccountOrders). 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. Concurrent live holdings requests for the same account fail immediately with HTTP 409 and error code `1166`. Wait for the in-flight request to complete before retrying.
|
|
2004
2008
|
# @param account_id [String]
|
|
2005
2009
|
# @param user_id [String]
|
|
2006
2010
|
# @param user_secret [String]
|
|
@@ -2172,9 +2176,11 @@ module SnapTrade
|
|
|
2172
2176
|
#
|
|
2173
2177
|
# **Deprecated.** Use the [list all user accounts](/reference/Account%20Information/AccountInformation_listAllUserAccounts) endpoint instead, which returns all account types in a single response, including investment, deposit, line of credit, annuity, and mortgage accounts.
|
|
2174
2178
|
#
|
|
2179
|
+
# This endpoint will return HTTP 410 Gone for all customers that sign up after December 1, 2026.
|
|
2180
|
+
#
|
|
2175
2181
|
# Returns all brokerage accounts across all connections known to SnapTrade for the authenticated user.
|
|
2176
2182
|
#
|
|
2177
|
-
# This endpoint returns Daily data regardless of the customer's plan. Daily data is cached and refreshed once a day, which makes this endpoint fast and well-suited to listing accounts across all of a user's connections in a single call. Exact refresh timing may vary by brokerage. To get real-time data on Pay as you Go / Real-time, use the [list accounts for a connection endpoint](/reference/Connections/
|
|
2183
|
+
# This endpoint returns Daily data regardless of the customer's plan. Daily data is cached and refreshed once a day, which makes this endpoint fast and well-suited to listing accounts across all of a user's connections in a single call. Exact refresh timing may vary by brokerage. To get real-time data on Pay as you Go / Real-time, use the [list accounts for a connection endpoint](/reference/Connections/Connections_listConnectionAccounts). Customers on Pay as you Go / Daily can force a refresh with the [manual refresh endpoint](/reference/Connections/Connections_refreshBrokerageAuthorization).
|
|
2178
2184
|
#
|
|
2179
2185
|
# @param user_id [String]
|
|
2180
2186
|
# @param user_secret [String]
|
|
@@ -2188,9 +2194,11 @@ module SnapTrade
|
|
|
2188
2194
|
#
|
|
2189
2195
|
# **Deprecated.** Use the [list all user accounts](/reference/Account%20Information/AccountInformation_listAllUserAccounts) endpoint instead, which returns all account types in a single response, including investment, deposit, line of credit, annuity, and mortgage accounts.
|
|
2190
2196
|
#
|
|
2197
|
+
# This endpoint will return HTTP 410 Gone for all customers that sign up after December 1, 2026.
|
|
2198
|
+
#
|
|
2191
2199
|
# Returns all brokerage accounts across all connections known to SnapTrade for the authenticated user.
|
|
2192
2200
|
#
|
|
2193
|
-
# This endpoint returns Daily data regardless of the customer's plan. Daily data is cached and refreshed once a day, which makes this endpoint fast and well-suited to listing accounts across all of a user's connections in a single call. Exact refresh timing may vary by brokerage. To get real-time data on Pay as you Go / Real-time, use the [list accounts for a connection endpoint](/reference/Connections/
|
|
2201
|
+
# This endpoint returns Daily data regardless of the customer's plan. Daily data is cached and refreshed once a day, which makes this endpoint fast and well-suited to listing accounts across all of a user's connections in a single call. Exact refresh timing may vary by brokerage. To get real-time data on Pay as you Go / Real-time, use the [list accounts for a connection endpoint](/reference/Connections/Connections_listConnectionAccounts). Customers on Pay as you Go / Daily can force a refresh with the [manual refresh endpoint](/reference/Connections/Connections_refreshBrokerageAuthorization).
|
|
2194
2202
|
#
|
|
2195
2203
|
# @param user_id [String]
|
|
2196
2204
|
# @param user_secret [String]
|
|
@@ -2200,7 +2208,7 @@ module SnapTrade
|
|
|
2200
2208
|
end
|
|
2201
2209
|
|
|
2202
2210
|
# List user accounts
|
|
2203
|
-
# **Deprecated.** Use the [list all user accounts](/reference/Account%20Information/AccountInformation_listAllUserAccounts) endpoint instead, which returns all account types in a single response, including investment, deposit, line of credit, annuity, and mortgage accounts. Returns all brokerage accounts across all connections known to SnapTrade for the authenticated user. This endpoint returns Daily data regardless of the customer's plan. Daily data is cached and refreshed once a day, which makes this endpoint fast and well-suited to listing accounts across all of a user's connections in a single call. Exact refresh timing may vary by brokerage. To get real-time data on Pay as you Go / Real-time, use the [list accounts for a connection endpoint](/reference/Connections/
|
|
2211
|
+
# **Deprecated.** Use the [list all user accounts](/reference/Account%20Information/AccountInformation_listAllUserAccounts) endpoint instead, which returns all account types in a single response, including investment, deposit, line of credit, annuity, and mortgage accounts. This endpoint will return HTTP 410 Gone for all customers that sign up after December 1, 2026. Returns all brokerage accounts across all connections known to SnapTrade for the authenticated user. This endpoint returns Daily data regardless of the customer's plan. Daily data is cached and refreshed once a day, which makes this endpoint fast and well-suited to listing accounts across all of a user's connections in a single call. Exact refresh timing may vary by brokerage. To get real-time data on Pay as you Go / Real-time, use the [list accounts for a connection endpoint](/reference/Connections/Connections_listConnectionAccounts). Customers on Pay as you Go / Daily can force a refresh with the [manual refresh endpoint](/reference/Connections/Connections_refreshBrokerageAuthorization).
|
|
2204
2212
|
# @param user_id [String]
|
|
2205
2213
|
# @param user_secret [String]
|
|
2206
2214
|
# @param [Hash] opts the optional parameters
|
|
@@ -2211,7 +2219,7 @@ module SnapTrade
|
|
|
2211
2219
|
end
|
|
2212
2220
|
|
|
2213
2221
|
# List user accounts
|
|
2214
|
-
# **Deprecated.** Use the [list all user accounts](/reference/Account%20Information/AccountInformation_listAllUserAccounts) endpoint instead, which returns all account types in a single response, including investment, deposit, line of credit, annuity, and mortgage accounts. Returns all brokerage accounts across all connections known to SnapTrade for the authenticated user. This endpoint returns Daily data regardless of the customer's plan. Daily data is cached and refreshed once a day, which makes this endpoint fast and well-suited to listing accounts across all of a user's connections in a single call. Exact refresh timing may vary by brokerage. To get real-time data on Pay as you Go / Real-time, use the [list accounts for a connection endpoint](/reference/Connections/
|
|
2222
|
+
# **Deprecated.** Use the [list all user accounts](/reference/Account%20Information/AccountInformation_listAllUserAccounts) endpoint instead, which returns all account types in a single response, including investment, deposit, line of credit, annuity, and mortgage accounts. This endpoint will return HTTP 410 Gone for all customers that sign up after December 1, 2026. Returns all brokerage accounts across all connections known to SnapTrade for the authenticated user. This endpoint returns Daily data regardless of the customer's plan. Daily data is cached and refreshed once a day, which makes this endpoint fast and well-suited to listing accounts across all of a user's connections in a single call. Exact refresh timing may vary by brokerage. To get real-time data on Pay as you Go / Real-time, use the [list accounts for a connection endpoint](/reference/Connections/Connections_listConnectionAccounts). Customers on Pay as you Go / Daily can force a refresh with the [manual refresh endpoint](/reference/Connections/Connections_refreshBrokerageAuthorization).
|
|
2215
2223
|
# @param user_id [String]
|
|
2216
2224
|
# @param user_secret [String]
|
|
2217
2225
|
# @param [Hash] opts the optional parameters
|
|
@@ -334,6 +334,10 @@ module SnapTrade
|
|
|
334
334
|
|
|
335
335
|
# List accounts for a connection
|
|
336
336
|
#
|
|
337
|
+
# **Deprecated.** Use the [list accounts](/reference/Connections/Connections_listConnectionAccounts) endpoint instead, which returns all account types in a single response, including investment, deposit, line of credit, annuity, and mortgage accounts.
|
|
338
|
+
#
|
|
339
|
+
# This endpoint will return HTTP 410 Gone for all customers that sign up after December 1, 2026.
|
|
340
|
+
#
|
|
337
341
|
# Returns all brokerage accounts that belong to the specified connection for the authenticated user.
|
|
338
342
|
#
|
|
339
343
|
# On Pay as you Go / Real-time, this endpoint refreshes each account's opening date, funding date, and total value live from the brokerage on each call.
|
|
@@ -353,6 +357,10 @@ module SnapTrade
|
|
|
353
357
|
|
|
354
358
|
# List accounts for a connection
|
|
355
359
|
#
|
|
360
|
+
# **Deprecated.** Use the [list accounts](/reference/Connections/Connections_listConnectionAccounts) endpoint instead, which returns all account types in a single response, including investment, deposit, line of credit, annuity, and mortgage accounts.
|
|
361
|
+
#
|
|
362
|
+
# This endpoint will return HTTP 410 Gone for all customers that sign up after December 1, 2026.
|
|
363
|
+
#
|
|
356
364
|
# Returns all brokerage accounts that belong to the specified connection for the authenticated user.
|
|
357
365
|
#
|
|
358
366
|
# On Pay as you Go / Real-time, this endpoint refreshes each account's opening date, funding date, and total value live from the brokerage on each call.
|
|
@@ -370,7 +378,7 @@ module SnapTrade
|
|
|
370
378
|
end
|
|
371
379
|
|
|
372
380
|
# List accounts for a connection
|
|
373
|
-
# Returns all brokerage accounts that belong to the specified connection for the authenticated user. On Pay as you Go / Real-time, this endpoint refreshes each account's opening date, funding date, and total value live from the brokerage on each call. On Pay as you Go / Daily, this endpoint returns Daily data. Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. To force a refresh, use the [manual refresh endpoint](/reference/Connections/Connections_refreshBrokerageAuthorization). Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see whether your plan includes real-time data.
|
|
381
|
+
# **Deprecated.** Use the [list accounts](/reference/Connections/Connections_listConnectionAccounts) endpoint instead, which returns all account types in a single response, including investment, deposit, line of credit, annuity, and mortgage accounts. This endpoint will return HTTP 410 Gone for all customers that sign up after December 1, 2026. Returns all brokerage accounts that belong to the specified connection for the authenticated user. On Pay as you Go / Real-time, this endpoint refreshes each account's opening date, funding date, and total value live from the brokerage on each call. On Pay as you Go / Daily, this endpoint returns Daily data. Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. To force a refresh, use the [manual refresh endpoint](/reference/Connections/Connections_refreshBrokerageAuthorization). Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see whether your plan includes real-time data.
|
|
374
382
|
# @param authorization_id [String]
|
|
375
383
|
# @param user_id [String]
|
|
376
384
|
# @param user_secret [String]
|
|
@@ -382,7 +390,7 @@ module SnapTrade
|
|
|
382
390
|
end
|
|
383
391
|
|
|
384
392
|
# List accounts for a connection
|
|
385
|
-
# Returns all brokerage accounts that belong to the specified connection for the authenticated user. On Pay as you Go / Real-time, this endpoint refreshes each account's opening date, funding date, and total value live from the brokerage on each call. On Pay as you Go / Daily, this endpoint returns Daily data. Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. To force a refresh, use the [manual refresh endpoint](/reference/Connections/Connections_refreshBrokerageAuthorization). Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see whether your plan includes real-time data.
|
|
393
|
+
# **Deprecated.** Use the [list accounts](/reference/Connections/Connections_listConnectionAccounts) endpoint instead, which returns all account types in a single response, including investment, deposit, line of credit, annuity, and mortgage accounts. This endpoint will return HTTP 410 Gone for all customers that sign up after December 1, 2026. Returns all brokerage accounts that belong to the specified connection for the authenticated user. On Pay as you Go / Real-time, this endpoint refreshes each account's opening date, funding date, and total value live from the brokerage on each call. On Pay as you Go / Daily, this endpoint returns Daily data. Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. To force a refresh, use the [manual refresh endpoint](/reference/Connections/Connections_refreshBrokerageAuthorization). Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see whether your plan includes real-time data.
|
|
386
394
|
# @param authorization_id [String]
|
|
387
395
|
# @param user_id [String]
|
|
388
396
|
# @param user_secret [String]
|