snaptrade 3.0.67 → 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 +21 -9
- data/lib/snaptrade/api/account_information_api.rb +28 -28
- data/lib/snaptrade/api/experimental_endpoints_api.rb +18 -6
- data/lib/snaptrade/version.rb +1 -1
- data/spec/api/account_information_api_spec.rb +7 -7
- data/spec/api/experimental_endpoints_api_spec.rb +3 -3
- metadata +290 -290
|
@@ -55,7 +55,7 @@ describe 'ExperimentalEndpointsApi' do
|
|
|
55
55
|
|
|
56
56
|
# unit tests for get_user_account_order_detail_v2
|
|
57
57
|
# Get account order detail (V2)
|
|
58
|
-
# Returns the detail of a single order using the brokerage order ID provided as a path parameter. The V2 order response format includes all legs of the order in the `legs` list field. If the order is single legged, `legs` will be a list of one leg. 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.
|
|
58
|
+
# **Deprecated.** Use the [get account order detail](/reference/Account%20Information/AccountInformation_getAccountOrder) endpoint instead. Returns the detail of a single order using the brokerage order ID provided as a path parameter. The V2 order response format includes all legs of the order in the `legs` list field. If the order is single legged, `legs` will be a list of one leg. 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.
|
|
59
59
|
# @param account_id
|
|
60
60
|
# @param brokerage_order_id
|
|
61
61
|
# @param user_id
|
|
@@ -70,7 +70,7 @@ describe 'ExperimentalEndpointsApi' do
|
|
|
70
70
|
|
|
71
71
|
# unit tests for get_user_account_orders_v2
|
|
72
72
|
# List account orders v2
|
|
73
|
-
# Returns a list of recent orders in the specified account. The V2 order response format will include all legs of each order in the `legs` list field. If the order is single legged, `legs` will be a list of one leg. 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.
|
|
73
|
+
# **Deprecated.** Use the [list all account orders](/reference/Account%20Information/AccountInformation_getAllAccountOrders) endpoint instead. Returns a list of recent orders in the specified account. The V2 order response format will include all legs of each order in the `legs` list field. If the order is single legged, `legs` will be a list of one leg. 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.
|
|
74
74
|
# @param user_id
|
|
75
75
|
# @param user_secret
|
|
76
76
|
# @param account_id
|
|
@@ -86,7 +86,7 @@ describe 'ExperimentalEndpointsApi' do
|
|
|
86
86
|
|
|
87
87
|
# unit tests for get_user_account_recent_orders_v2
|
|
88
88
|
# List account recent orders (V2, last 24 hours only)
|
|
89
|
-
# A lightweight endpoint that returns a list of orders executed in the last 24 hours in the specified account using the V2 order format. 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 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.
|
|
89
|
+
# **Deprecated.** Use the [list all account recent orders](/reference/Account%20Information/AccountInformation_getAllAccountRecentOrders) endpoint instead. A lightweight endpoint that returns a list of orders executed in the last 24 hours in the specified account using the V2 order format. 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 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.
|
|
90
90
|
# @param user_id
|
|
91
91
|
# @param user_secret
|
|
92
92
|
# @param account_id
|