snaptrade 2.0.159 → 2.0.160
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 +1 -1
- data/README.md +4 -4
- data/lib/snaptrade/api/account_information_api.rb +6 -6
- data/lib/snaptrade/version.rb +1 -1
- data/spec/api/account_information_api_spec.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 39abef0a80a05056e6158a4188f33e2fdaff4fba0e1d2df65e8a0ac813547676
|
|
4
|
+
data.tar.gz: c972f3c93167a4380b19db8012a459afb4d2b04d007f7db1b7753dd8a2549d9f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cba00b1bdbf83f0eab2124b8694ac57387937a9e71a2e611b96bd4b3d16d2ef512338982371ac54ba4e016b59cd08a03cf723d591c2f2f3c8d8e7637436f4902
|
|
7
|
+
data.tar.gz: 8157df2d2e6eef61236ad1d2105cda161064ad4661828648992dba12c524f4a092f531a54a7876eabcc7aae35b4024eb4a1dee5e27a58b816cb4ef33a251b99e
|
data/Gemfile.lock
CHANGED
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.160)
|
|
10
10
|
[](https://snaptrade.com/)
|
|
11
11
|
|
|
12
12
|
</div>
|
|
@@ -84,7 +84,7 @@ Connect brokerage accounts to your app for live positions and trading
|
|
|
84
84
|
Add to Gemfile:
|
|
85
85
|
|
|
86
86
|
```ruby
|
|
87
|
-
gem 'snaptrade', '~> 2.0.
|
|
87
|
+
gem 'snaptrade', '~> 2.0.160'
|
|
88
88
|
```
|
|
89
89
|
|
|
90
90
|
## Getting Started<a id="getting-started"></a>
|
|
@@ -468,9 +468,9 @@ p result
|
|
|
468
468
|
|
|
469
469
|
### `snaptrade.account_information.get_user_account_recent_orders`<a id="snaptradeaccount_informationget_user_account_recent_orders"></a>
|
|
470
470
|
|
|
471
|
-
A lightweight endpoint that returns
|
|
471
|
+
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.
|
|
472
472
|
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
|
|
473
|
-
Differs from /orders in that it is realtime, and only checks the last 24 hours
|
|
473
|
+
Differs from /orders in that it is always realtime, and only checks the last 24 hours
|
|
474
474
|
By default only returns executed orders, but that can be changed by setting *only_executed* to false
|
|
475
475
|
|
|
476
476
|
|
|
@@ -907,9 +907,9 @@ module SnapTrade
|
|
|
907
907
|
|
|
908
908
|
# List account recent orders (last 24 hours only)
|
|
909
909
|
#
|
|
910
|
-
# A lightweight endpoint that returns
|
|
910
|
+
# 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.
|
|
911
911
|
# 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
|
|
912
|
-
# Differs from /orders in that it is realtime, and only checks the last 24 hours
|
|
912
|
+
# Differs from /orders in that it is always realtime, and only checks the last 24 hours
|
|
913
913
|
# By default only returns executed orders, but that can be changed by setting *only_executed* to false
|
|
914
914
|
#
|
|
915
915
|
# @param user_id [String]
|
|
@@ -925,9 +925,9 @@ module SnapTrade
|
|
|
925
925
|
|
|
926
926
|
# List account recent orders (last 24 hours only)
|
|
927
927
|
#
|
|
928
|
-
# A lightweight endpoint that returns
|
|
928
|
+
# 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.
|
|
929
929
|
# 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
|
|
930
|
-
# Differs from /orders in that it is realtime, and only checks the last 24 hours
|
|
930
|
+
# Differs from /orders in that it is always realtime, and only checks the last 24 hours
|
|
931
931
|
# By default only returns executed orders, but that can be changed by setting *only_executed* to false
|
|
932
932
|
#
|
|
933
933
|
# @param user_id [String]
|
|
@@ -941,7 +941,7 @@ module SnapTrade
|
|
|
941
941
|
end
|
|
942
942
|
|
|
943
943
|
# List account recent orders (last 24 hours only)
|
|
944
|
-
# A lightweight endpoint that returns
|
|
944
|
+
# 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
|
|
945
945
|
# @param user_id [String]
|
|
946
946
|
# @param user_secret [String]
|
|
947
947
|
# @param account_id [String]
|
|
@@ -954,7 +954,7 @@ module SnapTrade
|
|
|
954
954
|
end
|
|
955
955
|
|
|
956
956
|
# List account recent orders (last 24 hours only)
|
|
957
|
-
# A lightweight endpoint that returns
|
|
957
|
+
# 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
|
|
958
958
|
# @param user_id [String]
|
|
959
959
|
# @param user_secret [String]
|
|
960
960
|
# @param account_id [String]
|
data/lib/snaptrade/version.rb
CHANGED
|
@@ -135,7 +135,7 @@ describe 'AccountInformationApi' do
|
|
|
135
135
|
|
|
136
136
|
# unit tests for get_user_account_recent_orders
|
|
137
137
|
# List account recent orders (last 24 hours only)
|
|
138
|
-
# A lightweight endpoint that returns
|
|
138
|
+
# 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
|
|
139
139
|
# @param user_id
|
|
140
140
|
# @param user_secret
|
|
141
141
|
# @param account_id
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: snaptrade
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0.
|
|
4
|
+
version: 2.0.160
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- SnapTrade
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-02-
|
|
11
|
+
date: 2026-02-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|