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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1fa83bbe1d67bcd1156377fbb945969cae929351a7a62071d2a984b8d8e92b1c
4
- data.tar.gz: '08ec226e7f82a264662215fe06a4801f5aa21967f38adad0baaa851cb73e94a3'
3
+ metadata.gz: 39abef0a80a05056e6158a4188f33e2fdaff4fba0e1d2df65e8a0ac813547676
4
+ data.tar.gz: c972f3c93167a4380b19db8012a459afb4d2b04d007f7db1b7753dd8a2549d9f
5
5
  SHA512:
6
- metadata.gz: 04e30804f136b31435b4ccc4d40311212c6f893eb5c693477010f99759d810f5d4bac3e9ba0924b341d5372cdb1a042ad21f2b00fef9ccbcd92b5fe247ad3e92
7
- data.tar.gz: 51b23e6298dd0a2b50a96e26c39f477a26032064ef10abe3b7b4d04dfcd9f67229184c761045ed9842feca14c3fecee05c155081847c3eaf902586de52aa6fe5
6
+ metadata.gz: cba00b1bdbf83f0eab2124b8694ac57387937a9e71a2e611b96bd4b3d16d2ef512338982371ac54ba4e016b59cd08a03cf723d591c2f2f3c8d8e7637436f4902
7
+ data.tar.gz: 8157df2d2e6eef61236ad1d2105cda161064ad4661828648992dba12c524f4a092f531a54a7876eabcc7aae35b4024eb4a1dee5e27a58b816cb4ef33a251b99e
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- snaptrade (2.0.159)
4
+ snaptrade (2.0.160)
5
5
  faraday (>= 1.0.1, < 3.0)
6
6
  faraday-multipart (~> 1.0, >= 1.0.4)
7
7
 
data/README.md CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  Connect brokerage accounts to your app for live positions and trading
8
8
 
9
- [![npm](https://img.shields.io/badge/gem-v2.0.159-blue)](https://rubygems.org/gems/snaptrade/versions/2.0.159)
9
+ [![npm](https://img.shields.io/badge/gem-v2.0.160-blue)](https://rubygems.org/gems/snaptrade/versions/2.0.160)
10
10
  [![More Info](https://img.shields.io/badge/More%20Info-Click%20Here-orange)](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.159'
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 a list of orders executed in the last 24 hours in the specified account.
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 as opposed to the last 30 days
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 a list of orders executed in the last 24 hours in the specified account.
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 as opposed to the last 30 days
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 a list of orders executed in the last 24 hours in the specified account.
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 as opposed to the last 30 days
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 a list of orders executed in the last 24 hours in the specified account. 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
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 a list of orders executed in the last 24 hours in the specified account. 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
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]
@@ -8,5 +8,5 @@ Contact: api@snaptrade.com
8
8
  =end
9
9
 
10
10
  module SnapTrade
11
- VERSION = '2.0.159'
11
+ VERSION = '2.0.160'
12
12
  end
@@ -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 a list of orders executed in the last 24 hours in the specified account. 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
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.159
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-03 00:00:00.000000000 Z
11
+ date: 2026-02-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday