snaptrade 2.0.126 → 2.0.127
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 +2 -2
- data/README.md +3 -3
- data/lib/snaptrade/api/connections_api.rb +4 -4
- data/lib/snaptrade/version.rb +1 -1
- data/spec/api/connections_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: f76bd21456b85ad4893f2ac6ee26379500e230cd8cf14389daf785b684c7648a
|
4
|
+
data.tar.gz: 271b4ef9ad2f6c0857653d9377402e20984c9f5cc593a9f3d9e189b5b475feaa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 97793f804b00d4f34f9cb6678a8f8543a75da9d40bff5db57f84f21c498d12cf02c399052e40b2a31949d25a40ede9edba30aa8b5a7acf697ada34f7a0743867
|
7
|
+
data.tar.gz: a1b77ba592b1e45528054b8ef217c62f1b5f18a32eba99921e7f65a17bb194ba515b62b1cd95078cb46042f7844d08e869cbb4dbd834c83e2ffb03008dc4f13c
|
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.127)
|
5
5
|
faraday (>= 1.0.1, < 3.0)
|
6
6
|
faraday-multipart (~> 1.0, >= 1.0.4)
|
7
7
|
|
@@ -45,7 +45,7 @@ GEM
|
|
45
45
|
regexp_parser (2.11.2)
|
46
46
|
reline (0.6.2)
|
47
47
|
io-console (~> 0.5)
|
48
|
-
rexml (3.4.
|
48
|
+
rexml (3.4.2)
|
49
49
|
rspec (3.13.1)
|
50
50
|
rspec-core (~> 3.13.0)
|
51
51
|
rspec-expectations (~> 3.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.127)
|
10
10
|
[](https://snaptrade.com/)
|
11
11
|
|
12
12
|
</div>
|
@@ -81,7 +81,7 @@ Connect brokerage accounts to your app for live positions and trading
|
|
81
81
|
Add to Gemfile:
|
82
82
|
|
83
83
|
```ruby
|
84
|
-
gem 'snaptrade', '~> 2.0.
|
84
|
+
gem 'snaptrade', '~> 2.0.127'
|
85
85
|
```
|
86
86
|
|
87
87
|
## Getting Started<a id="getting-started"></a>
|
@@ -953,7 +953,7 @@ p result
|
|
953
953
|
Trigger a holdings update for all accounts under this connection. Updates will be queued asynchronously. [`ACCOUNT_HOLDINGS_UPDATED` webhook](/docs/webhooks#webhooks-account_holdings_updated) will be sent once the sync completes for each account under the connection.
|
954
954
|
This endpoint will also trigger a transaction sync for the past day if one has not yet occurred.
|
955
955
|
|
956
|
-
**
|
956
|
+
**Because of the cost of refreshing a connection, each call to this endpoint incurs a additional charge based on your [Pricing Plan](https://snaptrade.com/pricing)**
|
957
957
|
|
958
958
|
|
959
959
|
#### 🛠️ Usage<a id="🛠️-usage"></a>
|
@@ -337,7 +337,7 @@ module SnapTrade
|
|
337
337
|
# Trigger a holdings update for all accounts under this connection. Updates will be queued asynchronously. [`ACCOUNT_HOLDINGS_UPDATED` webhook](/docs/webhooks#webhooks-account_holdings_updated) will be sent once the sync completes for each account under the connection.
|
338
338
|
# This endpoint will also trigger a transaction sync for the past day if one has not yet occurred.
|
339
339
|
#
|
340
|
-
# **
|
340
|
+
# **Because of the cost of refreshing a connection, each call to this endpoint incurs a additional charge based on your [Pricing Plan](https://snaptrade.com/pricing)**
|
341
341
|
#
|
342
342
|
# @param authorization_id [String]
|
343
343
|
# @param user_id [String]
|
@@ -353,7 +353,7 @@ module SnapTrade
|
|
353
353
|
# Trigger a holdings update for all accounts under this connection. Updates will be queued asynchronously. [`ACCOUNT_HOLDINGS_UPDATED` webhook](/docs/webhooks#webhooks-account_holdings_updated) will be sent once the sync completes for each account under the connection.
|
354
354
|
# This endpoint will also trigger a transaction sync for the past day if one has not yet occurred.
|
355
355
|
#
|
356
|
-
# **
|
356
|
+
# **Because of the cost of refreshing a connection, each call to this endpoint incurs a additional charge based on your [Pricing Plan](https://snaptrade.com/pricing)**
|
357
357
|
#
|
358
358
|
# @param authorization_id [String]
|
359
359
|
# @param user_id [String]
|
@@ -364,7 +364,7 @@ module SnapTrade
|
|
364
364
|
end
|
365
365
|
|
366
366
|
# Refresh holdings for a connection
|
367
|
-
# Trigger a holdings update for all accounts under this connection. Updates will be queued asynchronously. [`ACCOUNT_HOLDINGS_UPDATED` webhook](/docs/webhooks#webhooks-account_holdings_updated) will be sent once the sync completes for each account under the connection. This endpoint will also trigger a transaction sync for the past day if one has not yet occurred. **
|
367
|
+
# Trigger a holdings update for all accounts under this connection. Updates will be queued asynchronously. [`ACCOUNT_HOLDINGS_UPDATED` webhook](/docs/webhooks#webhooks-account_holdings_updated) will be sent once the sync completes for each account under the connection. This endpoint will also trigger a transaction sync for the past day if one has not yet occurred. **Because of the cost of refreshing a connection, each call to this endpoint incurs a additional charge based on your [Pricing Plan](https://snaptrade.com/pricing)**
|
368
368
|
# @param authorization_id [String]
|
369
369
|
# @param user_id [String]
|
370
370
|
# @param user_secret [String]
|
@@ -376,7 +376,7 @@ module SnapTrade
|
|
376
376
|
end
|
377
377
|
|
378
378
|
# Refresh holdings for a connection
|
379
|
-
# Trigger a holdings update for all accounts under this connection. Updates will be queued asynchronously. [`ACCOUNT_HOLDINGS_UPDATED` webhook](/docs/webhooks#webhooks-account_holdings_updated) will be sent once the sync completes for each account under the connection. This endpoint will also trigger a transaction sync for the past day if one has not yet occurred. **
|
379
|
+
# Trigger a holdings update for all accounts under this connection. Updates will be queued asynchronously. [`ACCOUNT_HOLDINGS_UPDATED` webhook](/docs/webhooks#webhooks-account_holdings_updated) will be sent once the sync completes for each account under the connection. This endpoint will also trigger a transaction sync for the past day if one has not yet occurred. **Because of the cost of refreshing a connection, each call to this endpoint incurs a additional charge based on your [Pricing Plan](https://snaptrade.com/pricing)**
|
380
380
|
# @param authorization_id [String]
|
381
381
|
# @param user_id [String]
|
382
382
|
# @param user_secret [String]
|
data/lib/snaptrade/version.rb
CHANGED
@@ -70,7 +70,7 @@ describe 'ConnectionsApi' do
|
|
70
70
|
|
71
71
|
# unit tests for refresh_brokerage_authorization
|
72
72
|
# Refresh holdings for a connection
|
73
|
-
# Trigger a holdings update for all accounts under this connection. Updates will be queued asynchronously. [`ACCOUNT_HOLDINGS_UPDATED` webhook](/docs/webhooks#webhooks-account_holdings_updated) will be sent once the sync completes for each account under the connection. This endpoint will also trigger a transaction sync for the past day if one has not yet occurred. **
|
73
|
+
# Trigger a holdings update for all accounts under this connection. Updates will be queued asynchronously. [`ACCOUNT_HOLDINGS_UPDATED` webhook](/docs/webhooks#webhooks-account_holdings_updated) will be sent once the sync completes for each account under the connection. This endpoint will also trigger a transaction sync for the past day if one has not yet occurred. **Because of the cost of refreshing a connection, each call to this endpoint incurs a additional charge based on your [Pricing Plan](https://snaptrade.com/pricing)**
|
74
74
|
# @param authorization_id
|
75
75
|
# @param user_id
|
76
76
|
# @param user_secret
|
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.127
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- SnapTrade
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-08-
|
11
|
+
date: 2025-08-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|