snaptrade 2.0.153 → 2.0.155

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: 215093f43172a954289d020e6feccadd0832d5dd17037013ee89bd0a42088d81
4
+ data.tar.gz: e3828e6cad03623498859ae5d3df866a5a3e00d35acad759ae8e16ec09141552
5
5
  SHA512:
6
- metadata.gz: 4cace339575694d94c36c558b6b6e7728d6530511e99c29f497c9a417239ab80331101d343a69e611928516aa5d9b64aaa621d0ac4c40a4d649c36c2d1c52c15
7
- data.tar.gz: e6551744687d6f8873a1b05841655f265055eaf252b7313a663e445de0a344312462ae7fafbcf1492c1a1efa569408097d7f9600d9c4a1523c6de716e9774349
6
+ metadata.gz: 4908c95d293161623bee36599e3b8b127080c8c8ff17d0daec664aa20f1c090ccd74d00b4bfda02d6f537ec4de5282562fd8aa10be56452ba37d5632f1e3c266
7
+ data.tar.gz: dbd496135c64eb0da77791c81623376522ddb0b40a40b03b7a7f49d527c34d4bad41e93f77e3049a4f505c9c79d6f1e0b23c325de41c012d52325db0f007c51e
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.155)
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.155-blue)](https://rubygems.org/gems/snaptrade/versions/2.0.155)
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.155'
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>
@@ -1030,7 +1029,7 @@ p result
1030
1029
 
1031
1030
  ### `snaptrade.connections.remove_brokerage_authorization`<a id="snaptradeconnectionsremove_brokerage_authorization"></a>
1032
1031
 
1033
- Deletes the connection specified by the ID. This will also delete all accounts and holdings associated with the connection. This action is irreversible. This endpoint is synchronous, a 204 response indicates that the connection has been successfully deleted.
1032
+ Deletes the SnapTrade connection specified by the ID. This will also remove the accounts and holdings data associated with the connection from SnapTrade. This action is irreversible. This endpoint is synchronous, a 204 response indicates that the data has been successfully deleted.
1034
1033
 
1035
1034
  #### 🛠️ Usage<a id="🛠️-usage"></a>
1036
1035
 
@@ -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]
@@ -443,7 +443,7 @@ module SnapTrade
443
443
 
444
444
  # Delete connection
445
445
  #
446
- # Deletes the connection specified by the ID. This will also delete all accounts and holdings associated with the connection. This action is irreversible. This endpoint is synchronous, a 204 response indicates that the connection has been successfully deleted.
446
+ # Deletes the SnapTrade connection specified by the ID. This will also remove the accounts and holdings data associated with the connection from SnapTrade. This action is irreversible. This endpoint is synchronous, a 204 response indicates that the data has been successfully deleted.
447
447
  #
448
448
  # @param authorization_id [String]
449
449
  # @param user_id [String]
@@ -456,7 +456,7 @@ module SnapTrade
456
456
 
457
457
  # Delete connection
458
458
  #
459
- # Deletes the connection specified by the ID. This will also delete all accounts and holdings associated with the connection. This action is irreversible. This endpoint is synchronous, a 204 response indicates that the connection has been successfully deleted.
459
+ # Deletes the SnapTrade connection specified by the ID. This will also remove the accounts and holdings data associated with the connection from SnapTrade. This action is irreversible. This endpoint is synchronous, a 204 response indicates that the data has been successfully deleted.
460
460
  #
461
461
  # @param authorization_id [String]
462
462
  # @param user_id [String]
@@ -467,7 +467,7 @@ module SnapTrade
467
467
  end
468
468
 
469
469
  # Delete connection
470
- # Deletes the connection specified by the ID. This will also delete all accounts and holdings associated with the connection. This action is irreversible. This endpoint is synchronous, a 204 response indicates that the connection has been successfully deleted.
470
+ # Deletes the SnapTrade connection specified by the ID. This will also remove the accounts and holdings data associated with the connection from SnapTrade. This action is irreversible. This endpoint is synchronous, a 204 response indicates that the data has been successfully deleted.
471
471
  # @param authorization_id [String]
472
472
  # @param user_id [String]
473
473
  # @param user_secret [String]
@@ -479,7 +479,7 @@ module SnapTrade
479
479
  end
480
480
 
481
481
  # Delete connection
482
- # Deletes the connection specified by the ID. This will also delete all accounts and holdings associated with the connection. This action is irreversible. This endpoint is synchronous, a 204 response indicates that the connection has been successfully deleted.
482
+ # Deletes the SnapTrade connection specified by the ID. This will also remove the accounts and holdings data associated with the connection from SnapTrade. This action is irreversible. This endpoint is synchronous, a 204 response indicates that the data has been successfully deleted.
483
483
  # @param authorization_id [String]
484
484
  # @param user_id [String]
485
485
  # @param user_secret [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.155'
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
@@ -84,7 +84,7 @@ describe 'ConnectionsApi' do
84
84
 
85
85
  # unit tests for remove_brokerage_authorization
86
86
  # Delete connection
87
- # Deletes the connection specified by the ID. This will also delete all accounts and holdings associated with the connection. This action is irreversible. This endpoint is synchronous, a 204 response indicates that the connection has been successfully deleted.
87
+ # Deletes the SnapTrade connection specified by the ID. This will also remove the accounts and holdings data associated with the connection from SnapTrade. This action is irreversible. This endpoint is synchronous, a 204 response indicates that the data has been successfully deleted.
88
88
  # @param authorization_id
89
89
  # @param user_id
90
90
  # @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.153
4
+ version: 2.0.155
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-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday