snaptrade 2.0.175 → 2.0.176

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: 519c010f86a7f07df0f7e841d5088269e62e71b6138a57fc127fa10ad23cfab5
4
- data.tar.gz: 36d1d04dd0143c6fe38edf288d439ac602c3d6499df626ee5da43e30624c4927
3
+ metadata.gz: 00b5eec663396a575f8d1a6786b40d2f1d9b01edf9234b76b726e39b116bc1fd
4
+ data.tar.gz: 6b3eb40bc99223d221c9e141a9b724e09d599d365c356738d88220fa082b436e
5
5
  SHA512:
6
- metadata.gz: 5a16b405097a4368a894345423da65be4161d7b338e94a8f36e220fc16a20d91744ae369d566631e3c433d025a9c49391fc3462c1f15b4ac023ef8571fb622d8
7
- data.tar.gz: 67f15acdd6d0e7126943d698038bef2a1e2a5ad54c62bb4a6f28b66c874fe6c34828807177bedf60a683cb262e53e2483286c20f990b9cc44cc689b7542b122f
6
+ metadata.gz: 341f5d1e3c1c8db37afbe80b9ba099a8c2519f5d3eef7deb6cf2ba78c5734bc774ef8bb88651c794be2d88a127351b8e6b7e6cc721fbeeca511bf7de3ced9826
7
+ data.tar.gz: df7b2091ac632d23544365cfe20f154f9b46ad0b12e446acaf048978302e964c27f872b9085055bff2147e94bf702149a22695ebad3266706c0f63b2703518ce
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- snaptrade (2.0.175)
4
+ snaptrade (2.0.176)
5
5
  faraday (>= 1.0.1, < 3.0)
6
6
  faraday-multipart (~> 1.0, >= 1.0.4)
7
7
 
@@ -28,7 +28,7 @@ GEM
28
28
  reline (>= 0.3.0)
29
29
  method_source (1.1.0)
30
30
  multipart-post (2.4.1)
31
- parallel (1.27.0)
31
+ parallel (1.28.0)
32
32
  parser (3.3.11.1)
33
33
  ast (~> 2.4.1)
34
34
  racc
@@ -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.3)
45
+ regexp_parser (2.12.0)
46
46
  reline (0.6.3)
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
- [![npm](https://img.shields.io/badge/gem-v2.0.175-blue)](https://rubygems.org/gems/snaptrade/versions/2.0.175)
9
+ [![npm](https://img.shields.io/badge/gem-v2.0.176-blue)](https://rubygems.org/gems/snaptrade/versions/2.0.176)
10
10
  [![More Info](https://img.shields.io/badge/More%20Info-Click%20Here-orange)](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.175'
90
+ gem 'snaptrade', '~> 2.0.176'
91
91
  ```
92
92
 
93
93
  ## Getting Started<a id="getting-started"></a>
@@ -42,13 +42,13 @@ module SnapTrade
42
42
  # The number of shares or contracts that have been filled. Can be a decimal number for fractional shares.
43
43
  attr_accessor :filled_quantity
44
44
 
45
- # The price at which the order was executed.
45
+ # The price at which the order was executed. For option orders, this represents the price per share.
46
46
  attr_accessor :execution_price
47
47
 
48
- # The limit price is maximum price one is willing to pay for a buy order or the minimum price one is willing to accept for a sell order. Should only apply to `Limit` and `StopLimit` orders.
48
+ # The limit price is maximum price one is willing to pay for a buy order or the minimum price one is willing to accept for a sell order. Should only apply to `Limit` and `StopLimit` orders. For option orders, this represents the price per share.
49
49
  attr_accessor :limit_price
50
50
 
51
- # The stop price is the price at which a stop order is triggered. Should only apply to `Stop` and `StopLimit` orders.
51
+ # The stop price is the price at which a stop order is triggered. Should only apply to `Stop` and `StopLimit` orders. For option orders, this represents the price per share.
52
52
  attr_accessor :stop_price
53
53
 
54
54
  # The type of order placed. The most common values are `Market`, `Limit`, `Stop`, and `StopLimit`. We try our best to map brokerage order types to these values. When mapping fails, we will return the brokerage's order type value.
@@ -20,7 +20,7 @@ module SnapTrade
20
20
 
21
21
  attr_accessor :option_symbol
22
22
 
23
- # The price of the security for the transaction. This is mostly applicable to `BUY`, `SELL`, and `DIVIDEND` transactions.
23
+ # The price of the security for the transaction. This is mostly applicable to `BUY`, `SELL`, and `DIVIDEND` transactions. For option transactions, this represents the price per share of the option contract.
24
24
  attr_accessor :price
25
25
 
26
26
  # The number of units of the security for the transaction. This is mostly applicable to `BUY`, `SELL`, and `DIVIDEND` transactions.
@@ -41,13 +41,13 @@ module SnapTrade
41
41
  # The number of shares or contracts that have been filled. Can be a decimal number for fractional shares.
42
42
  attr_accessor :filled_quantity
43
43
 
44
- # The price at which the order was executed.
44
+ # The price at which the order was executed. For option orders, this represents the price per share.
45
45
  attr_accessor :execution_price
46
46
 
47
- # The limit price is maximum price one is willing to pay for a buy order or the minimum price one is willing to accept for a sell order. Should only apply to `Limit` and `StopLimit` orders.
47
+ # The limit price is maximum price one is willing to pay for a buy order or the minimum price one is willing to accept for a sell order. Should only apply to `Limit` and `StopLimit` orders. For option orders, this represents the price per share.
48
48
  attr_accessor :limit_price
49
49
 
50
- # The stop price is the price at which a stop order is triggered. Should only apply to `Stop` and `StopLimit` orders.
50
+ # The stop price is the price at which a stop order is triggered. Should only apply to `Stop` and `StopLimit` orders. For option orders, this represents the price per share.
51
51
  attr_accessor :stop_price
52
52
 
53
53
  # The type of order placed. The most common values are `Market`, `Limit`, `Stop`, and `StopLimit`. We try our best to map brokerage order types to these values. When mapping fails, we will return the brokerage's order type value.
@@ -8,5 +8,5 @@ Contact: api@snaptrade.com
8
8
  =end
9
9
 
10
10
  module SnapTrade
11
- VERSION = '2.0.175'
11
+ VERSION = '2.0.176'
12
12
  end
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.175
4
+ version: 2.0.176
5
5
  platform: ruby
6
6
  authors:
7
7
  - SnapTrade
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-04-01 00:00:00.000000000 Z
11
+ date: 2026-04-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday