snaptrade 2.0.196 → 2.0.197
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 -2
- data/lib/snaptrade/api/trading_api.rb +4 -2
- data/lib/snaptrade/version.rb +1 -1
- data/spec/api/trading_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: bcbc842836424cdfc1f7b62023633b4663fc8b27e70b2d0c743e713590a8b7de
|
|
4
|
+
data.tar.gz: 5d3ea3e6598f63336d2453a61a9ad264de2c573c5b5889800d1b5b436357a036
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: af50e106dbade938c3f7c177dffc031be8c787c1a3b4af969ebf27aeadf335982385a4b9a0bc4f4218cb4824f8b569ee5003bbd00d27fce7dfc811c69dbf869b
|
|
7
|
+
data.tar.gz: 9739208a6b3ac13f3444edd4bc7f6ddf843805b675aa07516efa8fb333327a215325705e1e2d6d5a0c27904d3ccf4770f42428dc5b2935c3a8eb63c6cb431202
|
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.197)
|
|
10
10
|
[](https://snaptrade.com/)
|
|
11
11
|
|
|
12
12
|
</div>
|
|
@@ -87,7 +87,7 @@ Connect brokerage accounts to your app for live positions and trading
|
|
|
87
87
|
Add to Gemfile:
|
|
88
88
|
|
|
89
89
|
```ruby
|
|
90
|
-
gem 'snaptrade', '~> 2.0.
|
|
90
|
+
gem 'snaptrade', '~> 2.0.197'
|
|
91
91
|
```
|
|
92
92
|
|
|
93
93
|
## Getting Started<a id="getting-started"></a>
|
|
@@ -2036,7 +2036,9 @@ Should be set to `True` if `symbols` are comprised of tickers. Defaults to
|
|
|
2036
2036
|
|
|
2037
2037
|
|
|
2038
2038
|
### `snaptrade.trading.place_bracket_order`<a id="snaptradetradingplace_bracket_order"></a>
|
|
2039
|
+

|
|
2039
2040
|
|
|
2041
|
+
**This endpoint is deprecated. Please switch to [the new complex order endpoint](/reference/Trading/Trading_placeComplexOrder) **
|
|
2040
2042
|
Places a bracket order (entry order + OCO of stop loss and take profit). Disabled by default please contact support for
|
|
2041
2043
|
use. Only supported on certain brokerages
|
|
2042
2044
|
|
|
@@ -923,6 +923,7 @@ module SnapTrade
|
|
|
923
923
|
|
|
924
924
|
# Place bracket order
|
|
925
925
|
#
|
|
926
|
+
# **This endpoint is deprecated. Please switch to [the new complex order endpoint](/reference/Trading/Trading_placeComplexOrder) **
|
|
926
927
|
# Places a bracket order (entry order + OCO of stop loss and take profit). Disabled by default please contact support for
|
|
927
928
|
# use. Only supported on certain brokerages
|
|
928
929
|
#
|
|
@@ -958,6 +959,7 @@ module SnapTrade
|
|
|
958
959
|
|
|
959
960
|
# Place bracket order
|
|
960
961
|
#
|
|
962
|
+
# **This endpoint is deprecated. Please switch to [the new complex order endpoint](/reference/Trading/Trading_placeComplexOrder) **
|
|
961
963
|
# Places a bracket order (entry order + OCO of stop loss and take profit). Disabled by default please contact support for
|
|
962
964
|
# use. Only supported on certain brokerages
|
|
963
965
|
#
|
|
@@ -991,7 +993,7 @@ module SnapTrade
|
|
|
991
993
|
end
|
|
992
994
|
|
|
993
995
|
# Place bracket order
|
|
994
|
-
# Places a bracket order (entry order + OCO of stop loss and take profit). Disabled by default please contact support for use. Only supported on certain brokerages
|
|
996
|
+
# **This endpoint is deprecated. Please switch to [the new complex order endpoint](/reference/Trading/Trading_placeComplexOrder) ** Places a bracket order (entry order + OCO of stop loss and take profit). Disabled by default please contact support for use. Only supported on certain brokerages
|
|
995
997
|
# @param account_id [String] The ID of the account to execute the trade on.
|
|
996
998
|
# @param user_id [String]
|
|
997
999
|
# @param user_secret [String]
|
|
@@ -1004,7 +1006,7 @@ module SnapTrade
|
|
|
1004
1006
|
end
|
|
1005
1007
|
|
|
1006
1008
|
# Place bracket order
|
|
1007
|
-
# Places a bracket order (entry order + OCO of stop loss and take profit). Disabled by default please contact support for use. Only supported on certain brokerages
|
|
1009
|
+
# **This endpoint is deprecated. Please switch to [the new complex order endpoint](/reference/Trading/Trading_placeComplexOrder) ** Places a bracket order (entry order + OCO of stop loss and take profit). Disabled by default please contact support for use. Only supported on certain brokerages
|
|
1008
1010
|
# @param account_id [String] The ID of the account to execute the trade on.
|
|
1009
1011
|
# @param user_id [String]
|
|
1010
1012
|
# @param user_secret [String]
|
data/lib/snaptrade/version.rb
CHANGED
|
@@ -134,7 +134,7 @@ describe 'TradingApi' do
|
|
|
134
134
|
|
|
135
135
|
# unit tests for place_bracket_order
|
|
136
136
|
# Place bracket order
|
|
137
|
-
# Places a bracket order (entry order + OCO of stop loss and take profit). Disabled by default please contact support for use. Only supported on certain brokerages
|
|
137
|
+
# **This endpoint is deprecated. Please switch to [the new complex order endpoint](/reference/Trading/Trading_placeComplexOrder) ** Places a bracket order (entry order + OCO of stop loss and take profit). Disabled by default please contact support for use. Only supported on certain brokerages
|
|
138
138
|
# @param account_id The ID of the account to execute the trade on.
|
|
139
139
|
# @param user_id
|
|
140
140
|
# @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.197
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- SnapTrade
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-05-
|
|
11
|
+
date: 2026-05-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|