snaptrade 2.0.153 → 2.0.154

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: 2ce0cc0e9102793783fb6d2feba21dfaf5f0949e9391c66dc7dcbca47549c303
4
- data.tar.gz: 81813319d28e184b85ef17db73924b34c155355196e5a845f9620c206305aa09
3
+ metadata.gz: 8cd1d97980cff323ce7a0c014067ebece91e61c5c0bca3ac4c279359e07bd4ce
4
+ data.tar.gz: ee721036231bc1c63bfea1671868266e873647b75591e286fb113e32ccf14e56
5
5
  SHA512:
6
- metadata.gz: 4cace339575694d94c36c558b6b6e7728d6530511e99c29f497c9a417239ab80331101d343a69e611928516aa5d9b64aaa621d0ac4c40a4d649c36c2d1c52c15
7
- data.tar.gz: e6551744687d6f8873a1b05841655f265055eaf252b7313a663e445de0a344312462ae7fafbcf1492c1a1efa569408097d7f9600d9c4a1523c6de716e9774349
6
+ metadata.gz: ed039802d30c1f9945a826e92ce41fb07e12f90d437eb980a64b9f075f37e49737887e7ff36851285484010591cb23c7d7a578fda1a3edd546b586f184cb9154
7
+ data.tar.gz: a5f558aac9e37a85488b9a9e6785e861caf75e855043059a3985aaa8acea6702b9b9b2dccda31a93964cecef938f58754cebbb1d4bc8c7e6829da43348ba2f47
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- snaptrade (2.0.153)
4
+ snaptrade (2.0.154)
5
5
  faraday (>= 1.0.1, < 3.0)
6
6
  faraday-multipart (~> 1.0, >= 1.0.4)
7
7
 
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.153-blue)](https://rubygems.org/gems/snaptrade/versions/2.0.153)
9
+ [![npm](https://img.shields.io/badge/gem-v2.0.154-blue)](https://rubygems.org/gems/snaptrade/versions/2.0.154)
10
10
  [![More Info](https://img.shields.io/badge/More%20Info-Click%20Here-orange)](https://snaptrade.com/)
11
11
 
12
12
  </div>
@@ -83,7 +83,7 @@ Connect brokerage accounts to your app for live positions and trading
83
83
  Add to Gemfile:
84
84
 
85
85
  ```ruby
86
- gem 'snaptrade', '~> 2.0.153'
86
+ gem 'snaptrade', '~> 2.0.154'
87
87
  ```
88
88
 
89
89
  ## Getting Started<a id="getting-started"></a>
@@ -471,7 +471,6 @@ A lightweight endpoint that returns a list of orders executed in the last 24 hou
471
471
  This endpoint is realtime and can be used to quickly check if account state has recently changed due to an execution, or check status of recently placed orders
472
472
  Differs from /orders in that it is realtime, and only checks the last 24 hours as opposed to the last 30 days
473
473
  By default only returns executed orders, but that can be changed by setting *only_executed* to false
474
- **Because of the cost of realtime requests, each call to this endpoint incurs an additional charge. You can find the exact cost for your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing)**
475
474
 
476
475
 
477
476
  #### 🛠️ Usage<a id="🛠️-usage"></a>
@@ -911,7 +911,6 @@ module SnapTrade
911
911
  # This endpoint is realtime and can be used to quickly check if account state has recently changed due to an execution, or check status of recently placed orders
912
912
  # Differs from /orders in that it is realtime, and only checks the last 24 hours as opposed to the last 30 days
913
913
  # By default only returns executed orders, but that can be changed by setting *only_executed* to false
914
- # **Because of the cost of realtime requests, each call to this endpoint incurs an additional charge. You can find the exact cost for your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing)**
915
914
  #
916
915
  # @param user_id [String]
917
916
  # @param user_secret [String]
@@ -930,7 +929,6 @@ module SnapTrade
930
929
  # This endpoint is realtime and can be used to quickly check if account state has recently changed due to an execution, or check status of recently placed orders
931
930
  # Differs from /orders in that it is realtime, and only checks the last 24 hours as opposed to the last 30 days
932
931
  # By default only returns executed orders, but that can be changed by setting *only_executed* to false
933
- # **Because of the cost of realtime requests, each call to this endpoint incurs an additional charge. You can find the exact cost for your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing)**
934
932
  #
935
933
  # @param user_id [String]
936
934
  # @param user_secret [String]
@@ -943,7 +941,7 @@ module SnapTrade
943
941
  end
944
942
 
945
943
  # List account recent orders (last 24 hours only)
946
- # A lightweight endpoint that returns a list of orders executed in the last 24 hours in the specified account. This endpoint is realtime and can be used to quickly check if account state has recently changed due to an execution, or check status of recently placed orders Differs from /orders in that it is realtime, and only checks the last 24 hours as opposed to the last 30 days By default only returns executed orders, but that can be changed by setting *only_executed* to false **Because of the cost of realtime requests, each call to this endpoint incurs an additional charge. You can find the exact cost for your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing)**
944
+ # A lightweight endpoint that returns a list of orders executed in the last 24 hours in the specified account. This endpoint is realtime and can be used to quickly check if account state has recently changed due to an execution, or check status of recently placed orders Differs from /orders in that it is realtime, and only checks the last 24 hours as opposed to the last 30 days By default only returns executed orders, but that can be changed by setting *only_executed* to false
947
945
  # @param user_id [String]
948
946
  # @param user_secret [String]
949
947
  # @param account_id [String]
@@ -956,7 +954,7 @@ module SnapTrade
956
954
  end
957
955
 
958
956
  # List account recent orders (last 24 hours only)
959
- # A lightweight endpoint that returns a list of orders executed in the last 24 hours in the specified account. This endpoint is realtime and can be used to quickly check if account state has recently changed due to an execution, or check status of recently placed orders Differs from /orders in that it is realtime, and only checks the last 24 hours as opposed to the last 30 days By default only returns executed orders, but that can be changed by setting *only_executed* to false **Because of the cost of realtime requests, each call to this endpoint incurs an additional charge. You can find the exact cost for your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing)**
957
+ # A lightweight endpoint that returns a list of orders executed in the last 24 hours in the specified account. This endpoint is realtime and can be used to quickly check if account state has recently changed due to an execution, or check status of recently placed orders Differs from /orders in that it is realtime, and only checks the last 24 hours as opposed to the last 30 days By default only returns executed orders, but that can be changed by setting *only_executed* to false
960
958
  # @param user_id [String]
961
959
  # @param user_secret [String]
962
960
  # @param account_id [String]
@@ -12,7 +12,7 @@ require 'time'
12
12
 
13
13
  module SnapTrade
14
14
  class MlegTradingInstrument
15
- # The security's trading ticker symbol. This currently supports stock symbols and Options symbols in the 21 character OCC format. For example `AAPL 131124C00240000` represents a call option on AAPL expiring on 2024-11-13 with a strike price of $240. For more information on the OCC format, see [here](https://en.wikipedia.org/wiki/Option_symbol#OCC_format)
15
+ # The security's trading ticker symbol. This currently supports stock symbols and Options symbols in the 21 character OCC format. For example `AAPL 251114C00240000` represents a call option on AAPL expiring on 2025-11-14 with a strike price of $240. For more information on the OCC format, see [here](https://en.wikipedia.org/wiki/Option_symbol#OCC_format)
16
16
  attr_accessor :symbol
17
17
 
18
18
  # The instrument's type
@@ -12,7 +12,7 @@ require 'time'
12
12
 
13
13
  module SnapTrade
14
14
  class TradingInstrument
15
- # The instrument's trading ticker symbol. This currently supports stock symbols and Options symbols in the 21 character OCC format. For example `AAPL 131124C00240000` represents a call option on AAPL expiring on 2024-11-13 with a strike price of $240. For more information on the OCC format, see [here](https://en.wikipedia.org/wiki/Option_symbol#OCC_format)
15
+ # The instrument's trading ticker symbol. This currently supports stock symbols and Options symbols in the 21 character OCC format. For example `AAPL 251114C00240000` represents a call option on AAPL expiring on 2025-11-14 with a strike price of $240. For more information on the OCC format, see [here](https://en.wikipedia.org/wiki/Option_symbol#OCC_format)
16
16
  attr_accessor :symbol
17
17
 
18
18
  # The instrument's type
@@ -8,5 +8,5 @@ Contact: api@snaptrade.com
8
8
  =end
9
9
 
10
10
  module SnapTrade
11
- VERSION = '2.0.153'
11
+ VERSION = '2.0.154'
12
12
  end
@@ -135,7 +135,7 @@ describe 'AccountInformationApi' do
135
135
 
136
136
  # unit tests for get_user_account_recent_orders
137
137
  # List account recent orders (last 24 hours only)
138
- # A lightweight endpoint that returns a list of orders executed in the last 24 hours in the specified account. This endpoint is realtime and can be used to quickly check if account state has recently changed due to an execution, or check status of recently placed orders Differs from /orders in that it is realtime, and only checks the last 24 hours as opposed to the last 30 days By default only returns executed orders, but that can be changed by setting *only_executed* to false **Because of the cost of realtime requests, each call to this endpoint incurs an additional charge. You can find the exact cost for your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing)**
138
+ # A lightweight endpoint that returns a list of orders executed in the last 24 hours in the specified account. This endpoint is realtime and can be used to quickly check if account state has recently changed due to an execution, or check status of recently placed orders Differs from /orders in that it is realtime, and only checks the last 24 hours as opposed to the last 30 days By default only returns executed orders, but that can be changed by setting *only_executed* to false
139
139
  # @param user_id
140
140
  # @param user_secret
141
141
  # @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.153
4
+ version: 2.0.154
5
5
  platform: ruby
6
6
  authors:
7
7
  - SnapTrade
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-11-29 00:00:00.000000000 Z
11
+ date: 2025-12-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday