snaptrade 2.0.132 → 2.0.133
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 +3 -3
- data/README.md +4 -2
- data/lib/snaptrade/api/account_information_api.rb +6 -2
- 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: af0d2039a57c1b91759e12516953be9d7b1a9f6060cbaa38dac3fd421770c0da
|
4
|
+
data.tar.gz: f3f7a79b4e2c577c5bb505521b7118929e1d04e903a69d01282c372b08215637
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4cbce888d7c200a68a3d84f39185627ed26c68e05c6be286eb9e63b54a97e3e5daf68faf95b7a153c3844bcd7b69775d696b096b83149031749a88f9c50d1078
|
7
|
+
data.tar.gz: 14e917dd59562d744a671f5d2fe0136ca719dbabc641e0c4db619028d4c7d9c990dbe4832575ba9dee8e1bd0890149f1f8b85fe6a4d0ed1978158e28abfd62ab
|
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.133)
|
5
5
|
faraday (>= 1.0.1, < 3.0)
|
6
6
|
faraday-multipart (~> 1.0, >= 1.0.4)
|
7
7
|
|
@@ -32,7 +32,7 @@ GEM
|
|
32
32
|
parser (3.3.9.0)
|
33
33
|
ast (~> 2.4.1)
|
34
34
|
racc
|
35
|
-
prism (1.
|
35
|
+
prism (1.5.1)
|
36
36
|
pry (0.14.2)
|
37
37
|
coderay (~> 1.1)
|
38
38
|
method_source (~> 1.0)
|
@@ -42,7 +42,7 @@ GEM
|
|
42
42
|
racc (1.8.1)
|
43
43
|
rainbow (3.1.1)
|
44
44
|
rake (13.0.6)
|
45
|
-
regexp_parser (2.11.
|
45
|
+
regexp_parser (2.11.3)
|
46
46
|
reline (0.6.2)
|
47
47
|
io-console (~> 0.5)
|
48
48
|
rexml (3.4.4)
|
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.133)
|
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.133'
|
85
85
|
```
|
86
86
|
|
87
87
|
## Getting Started<a id="getting-started"></a>
|
@@ -322,6 +322,8 @@ p result
|
|
322
322
|
|
323
323
|
Returns the detail of a single order using the external order ID provided in the request body.
|
324
324
|
|
325
|
+
This endpoint only works for single-leg orders at this time. Support for multi-leg orders will be added in the future.
|
326
|
+
|
325
327
|
This endpoint is always realtime and does not rely on cached data.
|
326
328
|
|
327
329
|
This endpoint only returns orders placed through SnapTrade. In other words, orders placed outside of the SnapTrade network are not returned by this endpoint.
|
@@ -501,6 +501,8 @@ module SnapTrade
|
|
501
501
|
#
|
502
502
|
# Returns the detail of a single order using the external order ID provided in the request body.
|
503
503
|
#
|
504
|
+
# This endpoint only works for single-leg orders at this time. Support for multi-leg orders will be added in the future.
|
505
|
+
#
|
504
506
|
# This endpoint is always realtime and does not rely on cached data.
|
505
507
|
#
|
506
508
|
# This endpoint only returns orders placed through SnapTrade. In other words, orders placed outside of the SnapTrade network are not returned by this endpoint.
|
@@ -523,6 +525,8 @@ module SnapTrade
|
|
523
525
|
#
|
524
526
|
# Returns the detail of a single order using the external order ID provided in the request body.
|
525
527
|
#
|
528
|
+
# This endpoint only works for single-leg orders at this time. Support for multi-leg orders will be added in the future.
|
529
|
+
#
|
526
530
|
# This endpoint is always realtime and does not rely on cached data.
|
527
531
|
#
|
528
532
|
# This endpoint only returns orders placed through SnapTrade. In other words, orders placed outside of the SnapTrade network are not returned by this endpoint.
|
@@ -541,7 +545,7 @@ module SnapTrade
|
|
541
545
|
end
|
542
546
|
|
543
547
|
# Get account order detail
|
544
|
-
# Returns the detail of a single order using the external order ID provided in the request body. 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.
|
548
|
+
# Returns the detail of a single order using the external order ID provided in the request body. This endpoint only works for single-leg orders at this time. Support for multi-leg orders will be added in the future. 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.
|
545
549
|
# @param account_id [String]
|
546
550
|
# @param user_id [String]
|
547
551
|
# @param user_secret [String]
|
@@ -554,7 +558,7 @@ module SnapTrade
|
|
554
558
|
end
|
555
559
|
|
556
560
|
# Get account order detail
|
557
|
-
# Returns the detail of a single order using the external order ID provided in the request body. 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.
|
561
|
+
# Returns the detail of a single order using the external order ID provided in the request body. This endpoint only works for single-leg orders at this time. Support for multi-leg orders will be added in the future. 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.
|
558
562
|
# @param account_id [String]
|
559
563
|
# @param user_id [String]
|
560
564
|
# @param user_secret [String]
|
data/lib/snaptrade/version.rb
CHANGED
@@ -90,7 +90,7 @@ describe 'AccountInformationApi' do
|
|
90
90
|
|
91
91
|
# unit tests for get_user_account_order_detail
|
92
92
|
# Get account order detail
|
93
|
-
# Returns the detail of a single order using the external order ID provided in the request body. 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.
|
93
|
+
# Returns the detail of a single order using the external order ID provided in the request body. This endpoint only works for single-leg orders at this time. Support for multi-leg orders will be added in the future. 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.
|
94
94
|
# @param account_id
|
95
95
|
# @param user_id
|
96
96
|
# @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.133
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- SnapTrade
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-09-
|
11
|
+
date: 2025-09-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|