snaptrade 2.0.135 → 2.0.137

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: 106c4578f6b6cca16f45eeebe31a0bff1e196911864856d381c944863f274214
4
- data.tar.gz: 871ecb294433452e872f948cfaa85cc506c408596f1e8dc579a01fba52e517b1
3
+ metadata.gz: ab970376713d31231b181270f238e8d23441d4c0bf9bcce811152e3da217cd39
4
+ data.tar.gz: 12e1d048a48b69affec145dc1d25ece703b8a6e1ad3ce5599daf74276e64e80b
5
5
  SHA512:
6
- metadata.gz: '0378122fe0c71ba2b185b7819509feba6cadf8cd7deca9cc0a674f5a1d40f7a24399f6dfe2b0cece7ca38ce27685d8fd788b1ae66e66ac3943c98b5e97e56f9c'
7
- data.tar.gz: b293286be1e69f672a205b5d5578140faaa2d288aa1142043fd315b74cee0aac67e2b1885bcbc8cd8826dc9c939a75c9f63a2332d77a71a9f1dcd3d92c1ec13d
6
+ metadata.gz: b67c62a63bc9411536010ea19fd79801e225de3777b12421464fe4ff0cea5d20e349cde07893cca84e5f4b5c1b762e48127f378b5b1103bf6577e2ffd4583fa4
7
+ data.tar.gz: 205ab3359490c1567e7b5073b84c8860b1951748e1273d569244fdb2c40ab74444ce3f939bc4e2d3f5acaebd59afcf129dd63ba2c82256f95508a4194b51ab97
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- snaptrade (2.0.135)
4
+ snaptrade (2.0.137)
5
5
  faraday (>= 1.0.1, < 3.0)
6
6
  faraday-multipart (~> 1.0, >= 1.0.4)
7
7
 
@@ -68,7 +68,7 @@ GEM
68
68
  rubocop-ast (>= 1.2.0, < 2.0)
69
69
  ruby-progressbar (~> 1.7)
70
70
  unicode-display_width (>= 1.4.0, < 3.0)
71
- rubocop-ast (1.46.0)
71
+ rubocop-ast (1.47.1)
72
72
  parser (>= 3.3.7.2)
73
73
  prism (~> 1.4)
74
74
  ruby-progressbar (1.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
- [![npm](https://img.shields.io/badge/gem-v2.0.135-blue)](https://rubygems.org/gems/snaptrade/versions/2.0.135)
9
+ [![npm](https://img.shields.io/badge/gem-v2.0.137-blue)](https://rubygems.org/gems/snaptrade/versions/2.0.137)
10
10
  [![More Info](https://img.shields.io/badge/More%20Info-Click%20Here-orange)](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.135'
84
+ gem 'snaptrade', '~> 2.0.137'
85
85
  ```
86
86
 
87
87
  ## Getting Started<a id="getting-started"></a>
@@ -2289,7 +2289,7 @@ The price at which a stop order is triggered for `Stop` and `StopLimit` orders.
2289
2289
 
2290
2290
  ### `snaptrade.trading.search_cryptocurrency_pair_instruments`<a id="snaptradetradingsearch_cryptocurrency_pair_instruments"></a>
2291
2291
 
2292
- Searches cryptocurrency pairs instruments accessible to the specified account.
2292
+ Searches cryptocurrency pairs instruments accessible to the specified account. Both `base` and `quote` are optional. Omit both for a full list of cryptocurrency pairs.
2293
2293
 
2294
2294
 
2295
2295
  #### 🛠️ Usage<a id="🛠️-usage"></a>
@@ -1715,7 +1715,7 @@ module SnapTrade
1715
1715
 
1716
1716
  # Get crypto pairs
1717
1717
  #
1718
- # Searches cryptocurrency pairs instruments accessible to the specified account.
1718
+ # Searches cryptocurrency pairs instruments accessible to the specified account. Both `base` and `quote` are optional. Omit both for a full list of cryptocurrency pairs.
1719
1719
  #
1720
1720
  # @param user_id [String]
1721
1721
  # @param user_secret [String]
@@ -1732,7 +1732,7 @@ module SnapTrade
1732
1732
 
1733
1733
  # Get crypto pairs
1734
1734
  #
1735
- # Searches cryptocurrency pairs instruments accessible to the specified account.
1735
+ # Searches cryptocurrency pairs instruments accessible to the specified account. Both `base` and `quote` are optional. Omit both for a full list of cryptocurrency pairs.
1736
1736
  #
1737
1737
  # @param user_id [String]
1738
1738
  # @param user_secret [String]
@@ -1747,7 +1747,7 @@ module SnapTrade
1747
1747
  end
1748
1748
 
1749
1749
  # Get crypto pairs
1750
- # Searches cryptocurrency pairs instruments accessible to the specified account.
1750
+ # Searches cryptocurrency pairs instruments accessible to the specified account. Both `base` and `quote` are optional. Omit both for a full list of cryptocurrency pairs.
1751
1751
  # @param user_id [String]
1752
1752
  # @param user_secret [String]
1753
1753
  # @param account_id [String]
@@ -1761,7 +1761,7 @@ module SnapTrade
1761
1761
  end
1762
1762
 
1763
1763
  # Get crypto pairs
1764
- # Searches cryptocurrency pairs instruments accessible to the specified account.
1764
+ # Searches cryptocurrency pairs instruments accessible to the specified account. Both &#x60;base&#x60; and &#x60;quote&#x60; are optional. Omit both for a full list of cryptocurrency pairs.
1765
1765
  # @param user_id [String]
1766
1766
  # @param user_secret [String]
1767
1767
  # @param account_id [String]
@@ -117,10 +117,10 @@ module SnapTrade
117
117
  :'quote_universal_symbol' => :'AccountOrderRecordQuoteUniversalSymbol',
118
118
  :'quote_currency' => :'AccountOrderRecordQuoteCurrency',
119
119
  :'action' => :'String',
120
- :'total_quantity' => :'Float',
121
- :'open_quantity' => :'Float',
122
- :'canceled_quantity' => :'Float',
123
- :'filled_quantity' => :'Float',
120
+ :'total_quantity' => :'String',
121
+ :'open_quantity' => :'String',
122
+ :'canceled_quantity' => :'String',
123
+ :'filled_quantity' => :'String',
124
124
  :'execution_price' => :'Float',
125
125
  :'limit_price' => :'Float',
126
126
  :'stop_price' => :'Float',
@@ -8,5 +8,5 @@ Contact: api@snaptrade.com
8
8
  =end
9
9
 
10
10
  module SnapTrade
11
- VERSION = '2.0.135'
11
+ VERSION = '2.0.137'
12
12
  end
@@ -208,7 +208,7 @@ describe 'TradingApi' do
208
208
 
209
209
  # unit tests for search_cryptocurrency_pair_instruments
210
210
  # Get crypto pairs
211
- # Searches cryptocurrency pairs instruments accessible to the specified account.
211
+ # Searches cryptocurrency pairs instruments accessible to the specified account. Both &#x60;base&#x60; and &#x60;quote&#x60; are optional. Omit both for a full list of cryptocurrency pairs.
212
212
  # @param user_id
213
213
  # @param user_secret
214
214
  # @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.135
4
+ version: 2.0.137
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-18 00:00:00.000000000 Z
11
+ date: 2025-09-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday