snaptrade 2.0.35 → 2.0.36
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +2 -2
- data/lib/snaptrade/models/account.rb +7 -7
- data/lib/snaptrade/models/account_simple.rb +3 -3
- data/lib/snaptrade/version.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: 7e8a3e30ce711edef7835ce59691c2709524f4d40add0b1913146ac04a56efaf
|
4
|
+
data.tar.gz: 1ceed48b23a0c73555e2f13804dbeb51b819d2c39dca6edef6314674aae99ca2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 35df36a5be0fd0f2885229ee237b7938073703d7eb9878a4b77092a9dc6964afbeed9da5454434e02a3e45af466bff57ad9f8e25fe11c254cb6c2cc9ac17c8f7
|
7
|
+
data.tar.gz: c3e1f881f4509c8a8617e32c7cd25d583cba44c0e11b4633464867af8fed1ac592183645d6faf6594c671d6c1d5618afee35deb8ab92ba8e728b4a3c4af43f8b
|
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
|
-
[![npm](https://img.shields.io/badge/gem-v2.0.
|
9
|
+
[![npm](https://img.shields.io/badge/gem-v2.0.36-blue)](https://rubygems.org/gems/snaptrade/versions/2.0.36)
|
10
10
|
[![More Info](https://img.shields.io/badge/More%20Info-Click%20Here-orange)](https://snaptrade.com/)
|
11
11
|
|
12
12
|
</div>
|
@@ -70,7 +70,7 @@ Connect brokerage accounts to your app for live positions and trading
|
|
70
70
|
Add to Gemfile:
|
71
71
|
|
72
72
|
```ruby
|
73
|
-
gem 'snaptrade', '~> 2.0.
|
73
|
+
gem 'snaptrade', '~> 2.0.36'
|
74
74
|
```
|
75
75
|
|
76
76
|
## Getting Started<a id="getting-started"></a>
|
@@ -11,9 +11,9 @@ require 'date'
|
|
11
11
|
require 'time'
|
12
12
|
|
13
13
|
module SnapTrade
|
14
|
-
# A single
|
14
|
+
# A single account at a brokerage.
|
15
15
|
class Account
|
16
|
-
# Unique identifier for the connected brokerage account. This is the UUID used to reference the account in SnapTrade. This ID should not change for as long as the connection stays active. If the connection is deleted and re-added, a new account ID will be generated.
|
16
|
+
# Unique identifier for the connected brokerage account. This is the UUID used to reference the account in SnapTrade. This ID should not change for as long as the connection stays active. If the connection is deleted and re-added, a new account ID will be generated.
|
17
17
|
attr_accessor :id
|
18
18
|
|
19
19
|
# Unique identifier for the connection (brokerage authorization). This is the UUID used to reference the connection in SnapTrade.
|
@@ -22,19 +22,19 @@ module SnapTrade
|
|
22
22
|
# Portfolio Group ID. Portfolio Groups have been deprecated. Please contact support if you have a usecase for it.
|
23
23
|
attr_accessor :portfolio_group
|
24
24
|
|
25
|
-
# A display name for the account. Either assigned by the user or by the
|
25
|
+
# A display name for the account. Either assigned by the user or by the brokerage itself. For certain brokerages, SnapTrade appends the brokerage name to the account name for clarity.
|
26
26
|
attr_accessor :name
|
27
27
|
|
28
|
-
# The account number assigned by the
|
28
|
+
# The account number assigned by the brokerage. For some brokerages, this field may be masked for security reasons.
|
29
29
|
attr_accessor :number
|
30
30
|
|
31
|
-
# The name of the
|
31
|
+
# The name of the brokerage that holds the account.
|
32
32
|
attr_accessor :institution_name
|
33
33
|
|
34
|
-
# Timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format indicating when the account was created in SnapTrade. This is _not_ the account opening date at the
|
34
|
+
# Timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format indicating when the account was created in SnapTrade. This is _not_ the account opening date at the brokerage.
|
35
35
|
attr_accessor :created_date
|
36
36
|
|
37
|
-
# Additional information about the account, such as account type, status, etc. This information is specific to the
|
37
|
+
# Additional information about the account, such as account type, status, etc. This information is specific to the brokerage and there's no standard format for this data. Please use at your own risk.
|
38
38
|
attr_accessor :meta
|
39
39
|
|
40
40
|
# This field is deprecated.
|
@@ -11,15 +11,15 @@ require 'date'
|
|
11
11
|
require 'time'
|
12
12
|
|
13
13
|
module SnapTrade
|
14
|
-
# A single
|
14
|
+
# A single account at a brokerage.
|
15
15
|
class AccountSimple
|
16
16
|
# Unique identifier for the connected brokerage account. This is the UUID used to reference the account in SnapTrade.
|
17
17
|
attr_accessor :id
|
18
18
|
|
19
|
-
# A display name for the account. Either assigned by the user or by the
|
19
|
+
# A display name for the account. Either assigned by the user or by the brokerage itself. For certain brokerages, SnapTrade appends the brokerage name to the account name for clarity.
|
20
20
|
attr_accessor :name
|
21
21
|
|
22
|
-
# The account number assigned by the
|
22
|
+
# The account number assigned by the brokerage. For some brokerages, this field may be masked for security reasons.
|
23
23
|
attr_accessor :number
|
24
24
|
|
25
25
|
attr_accessor :sync_status
|
data/lib/snaptrade/version.rb
CHANGED
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.36
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- SnapTrade
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-08-
|
11
|
+
date: 2024-08-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|