snaptrade 2.0.125 → 2.0.127

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: 11b241c94a730790636f70715fa1d45ac5d7df7557c49bcc901de21599d320e3
4
- data.tar.gz: 38cf98011e50e074187dd245424da594e8258f21f133ecc3f9fd1878d16a20a4
3
+ metadata.gz: f76bd21456b85ad4893f2ac6ee26379500e230cd8cf14389daf785b684c7648a
4
+ data.tar.gz: 271b4ef9ad2f6c0857653d9377402e20984c9f5cc593a9f3d9e189b5b475feaa
5
5
  SHA512:
6
- metadata.gz: 4020c52948f0d1d9e2840dc0426863a2dfb303ff2480e826389b6d6ff4e53a0a067da4497b861fc2960ee59c3dab1e68b9e976623bd238640e58ce2ecff7c8d8
7
- data.tar.gz: aa02784c328165731ee75bd5c626441ba2903a5b31cbeb472ed55a070bd47f83645e52d1518311c6b2847e8359f2fc9d30713129877b868c8ff92b1903052bbc
6
+ metadata.gz: 97793f804b00d4f34f9cb6678a8f8543a75da9d40bff5db57f84f21c498d12cf02c399052e40b2a31949d25a40ede9edba30aa8b5a7acf697ada34f7a0743867
7
+ data.tar.gz: a1b77ba592b1e45528054b8ef217c62f1b5f18a32eba99921e7f65a17bb194ba515b62b1cd95078cb46042f7844d08e869cbb4dbd834c83e2ffb03008dc4f13c
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- snaptrade (2.0.125)
4
+ snaptrade (2.0.127)
5
5
  faraday (>= 1.0.1, < 3.0)
6
6
  faraday-multipart (~> 1.0, >= 1.0.4)
7
7
 
@@ -45,7 +45,7 @@ GEM
45
45
  regexp_parser (2.11.2)
46
46
  reline (0.6.2)
47
47
  io-console (~> 0.5)
48
- rexml (3.4.1)
48
+ rexml (3.4.2)
49
49
  rspec (3.13.1)
50
50
  rspec-core (~> 3.13.0)
51
51
  rspec-expectations (~> 3.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.125-blue)](https://rubygems.org/gems/snaptrade/versions/2.0.125)
9
+ [![npm](https://img.shields.io/badge/gem-v2.0.127-blue)](https://rubygems.org/gems/snaptrade/versions/2.0.127)
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.125'
84
+ gem 'snaptrade', '~> 2.0.127'
85
85
  ```
86
86
 
87
87
  ## Getting Started<a id="getting-started"></a>
@@ -320,7 +320,11 @@ p result
320
320
 
321
321
  ### `snaptrade.account_information.get_user_account_order_detail`<a id="snaptradeaccount_informationget_user_account_order_detail"></a>
322
322
 
323
- Returns the detail of a single order in the specified account. This endpoint is always realtime and does not rely on cached data.
323
+ Returns the detail of a single order in the specified account.
324
+
325
+ This endpoint is always realtime and does not rely on cached data.
326
+
327
+ This endpoint only returns orders placed through SnapTrade. In other words, orders placed outside of the SnapTrade network are not returned by this endpoint.
324
328
 
325
329
 
326
330
  #### 🛠️ Usage<a id="🛠️-usage"></a>
@@ -949,7 +953,7 @@ p result
949
953
  Trigger a holdings update for all accounts under this connection. Updates will be queued asynchronously. [`ACCOUNT_HOLDINGS_UPDATED` webhook](/docs/webhooks#webhooks-account_holdings_updated) will be sent once the sync completes for each account under the connection.
950
954
  This endpoint will also trigger a transaction sync for the past day if one has not yet occurred.
951
955
 
952
- **Please contact support before use. Because of the cost of refreshing a connection, each call to this endpoint incurs a additional charge of $0.05**
956
+ **Because of the cost of refreshing a connection, each call to this endpoint incurs a additional charge based on your [Pricing Plan](https://snaptrade.com/pricing)**
953
957
 
954
958
 
955
959
  #### 🛠️ Usage<a id="🛠️-usage"></a>
@@ -1689,7 +1693,14 @@ The price at which a stop order is triggered for `Stop` and `StopLimit` orders.
1689
1693
 
1690
1694
  ### `snaptrade.trading.get_user_account_quotes`<a id="snaptradetradingget_user_account_quotes"></a>
1691
1695
 
1692
- Returns quotes from the brokerage for the specified symbols and account. The quotes returned can be delayed depending on the brokerage the account belongs to. It is highly recommended that you use your own market data provider for real-time quotes instead of relying on this endpoint. This endpoint does not work for options quotes.
1696
+ Returns quotes from the brokerage for the specified symbols and account.
1697
+
1698
+ The quotes returned can be delayed depending on the brokerage the account belongs to. It is highly recommended that you use your own market data provider for real-time quotes instead of relying on this endpoint.
1699
+
1700
+ This endpoint does not work for options quotes.
1701
+
1702
+ This endpoint is disabled for free plans by default. Please contact support to enable this endpoint if needed.
1703
+
1693
1704
 
1694
1705
  #### 🛠️ Usage<a id="🛠️-usage"></a>
1695
1706
 
@@ -499,7 +499,11 @@ module SnapTrade
499
499
 
500
500
  # Get account order detail
501
501
  #
502
- # Returns the detail of a single order in the specified account. This endpoint is always realtime and does not rely on cached data.
502
+ # Returns the detail of a single order in the specified account.
503
+ #
504
+ # This endpoint is always realtime and does not rely on cached data.
505
+ #
506
+ # This endpoint only returns orders placed through SnapTrade. In other words, orders placed outside of the SnapTrade network are not returned by this endpoint.
503
507
  #
504
508
  # @param user_id [String]
505
509
  # @param user_secret [String]
@@ -513,7 +517,11 @@ module SnapTrade
513
517
 
514
518
  # Get account order detail
515
519
  #
516
- # Returns the detail of a single order in the specified account. This endpoint is always realtime and does not rely on cached data.
520
+ # Returns the detail of a single order in the specified account.
521
+ #
522
+ # This endpoint is always realtime and does not rely on cached data.
523
+ #
524
+ # This endpoint only returns orders placed through SnapTrade. In other words, orders placed outside of the SnapTrade network are not returned by this endpoint.
517
525
  #
518
526
  # @param user_id [String]
519
527
  # @param user_secret [String]
@@ -525,7 +533,7 @@ module SnapTrade
525
533
  end
526
534
 
527
535
  # Get account order detail
528
- # Returns the detail of a single order in the specified account. This endpoint is always realtime and does not rely on cached data.
536
+ # Returns the detail of a single order in the specified account. This endpoint is always realtime and does not rely on cached data. This endpoint only returns orders placed through SnapTrade. In other words, orders placed outside of the SnapTrade network are not returned by this endpoint.
529
537
  # @param user_id [String]
530
538
  # @param user_secret [String]
531
539
  # @param account_id [String]
@@ -538,7 +546,7 @@ module SnapTrade
538
546
  end
539
547
 
540
548
  # Get account order detail
541
- # Returns the detail of a single order in the specified account. This endpoint is always realtime and does not rely on cached data.
549
+ # Returns the detail of a single order in the specified account. This endpoint is always realtime and does not rely on cached data. This endpoint only returns orders placed through SnapTrade. In other words, orders placed outside of the SnapTrade network are not returned by this endpoint.
542
550
  # @param user_id [String]
543
551
  # @param user_secret [String]
544
552
  # @param account_id [String]
@@ -337,7 +337,7 @@ module SnapTrade
337
337
  # Trigger a holdings update for all accounts under this connection. Updates will be queued asynchronously. [`ACCOUNT_HOLDINGS_UPDATED` webhook](/docs/webhooks#webhooks-account_holdings_updated) will be sent once the sync completes for each account under the connection.
338
338
  # This endpoint will also trigger a transaction sync for the past day if one has not yet occurred.
339
339
  #
340
- # **Please contact support before use. Because of the cost of refreshing a connection, each call to this endpoint incurs a additional charge of $0.05**
340
+ # **Because of the cost of refreshing a connection, each call to this endpoint incurs a additional charge based on your [Pricing Plan](https://snaptrade.com/pricing)**
341
341
  #
342
342
  # @param authorization_id [String]
343
343
  # @param user_id [String]
@@ -353,7 +353,7 @@ module SnapTrade
353
353
  # Trigger a holdings update for all accounts under this connection. Updates will be queued asynchronously. [`ACCOUNT_HOLDINGS_UPDATED` webhook](/docs/webhooks#webhooks-account_holdings_updated) will be sent once the sync completes for each account under the connection.
354
354
  # This endpoint will also trigger a transaction sync for the past day if one has not yet occurred.
355
355
  #
356
- # **Please contact support before use. Because of the cost of refreshing a connection, each call to this endpoint incurs a additional charge of $0.05**
356
+ # **Because of the cost of refreshing a connection, each call to this endpoint incurs a additional charge based on your [Pricing Plan](https://snaptrade.com/pricing)**
357
357
  #
358
358
  # @param authorization_id [String]
359
359
  # @param user_id [String]
@@ -364,7 +364,7 @@ module SnapTrade
364
364
  end
365
365
 
366
366
  # Refresh holdings for a connection
367
- # Trigger a holdings update for all accounts under this connection. Updates will be queued asynchronously. [`ACCOUNT_HOLDINGS_UPDATED` webhook](/docs/webhooks#webhooks-account_holdings_updated) will be sent once the sync completes for each account under the connection. This endpoint will also trigger a transaction sync for the past day if one has not yet occurred. **Please contact support before use. Because of the cost of refreshing a connection, each call to this endpoint incurs a additional charge of $0.05**
367
+ # Trigger a holdings update for all accounts under this connection. Updates will be queued asynchronously. [`ACCOUNT_HOLDINGS_UPDATED` webhook](/docs/webhooks#webhooks-account_holdings_updated) will be sent once the sync completes for each account under the connection. This endpoint will also trigger a transaction sync for the past day if one has not yet occurred. **Because of the cost of refreshing a connection, each call to this endpoint incurs a additional charge based on your [Pricing Plan](https://snaptrade.com/pricing)**
368
368
  # @param authorization_id [String]
369
369
  # @param user_id [String]
370
370
  # @param user_secret [String]
@@ -376,7 +376,7 @@ module SnapTrade
376
376
  end
377
377
 
378
378
  # Refresh holdings for a connection
379
- # Trigger a holdings update for all accounts under this connection. Updates will be queued asynchronously. [&#x60;ACCOUNT_HOLDINGS_UPDATED&#x60; webhook](/docs/webhooks#webhooks-account_holdings_updated) will be sent once the sync completes for each account under the connection. This endpoint will also trigger a transaction sync for the past day if one has not yet occurred. **Please contact support before use. Because of the cost of refreshing a connection, each call to this endpoint incurs a additional charge of $0.05**
379
+ # Trigger a holdings update for all accounts under this connection. Updates will be queued asynchronously. [&#x60;ACCOUNT_HOLDINGS_UPDATED&#x60; webhook](/docs/webhooks#webhooks-account_holdings_updated) will be sent once the sync completes for each account under the connection. This endpoint will also trigger a transaction sync for the past day if one has not yet occurred. **Because of the cost of refreshing a connection, each call to this endpoint incurs a additional charge based on your [Pricing Plan](https://snaptrade.com/pricing)**
380
380
  # @param authorization_id [String]
381
381
  # @param user_id [String]
382
382
  # @param user_secret [String]
@@ -528,7 +528,13 @@ module SnapTrade
528
528
 
529
529
  # Get equity symbol quotes
530
530
  #
531
- # Returns quotes from the brokerage for the specified symbols and account. The quotes returned can be delayed depending on the brokerage the account belongs to. It is highly recommended that you use your own market data provider for real-time quotes instead of relying on this endpoint. This endpoint does not work for options quotes.
531
+ # Returns quotes from the brokerage for the specified symbols and account.
532
+ #
533
+ # The quotes returned can be delayed depending on the brokerage the account belongs to. It is highly recommended that you use your own market data provider for real-time quotes instead of relying on this endpoint.
534
+ #
535
+ # This endpoint does not work for options quotes.
536
+ #
537
+ # This endpoint is disabled for free plans by default. Please contact support to enable this endpoint if needed.
532
538
  #
533
539
  # @param user_id [String]
534
540
  # @param user_secret [String]
@@ -544,7 +550,13 @@ module SnapTrade
544
550
 
545
551
  # Get equity symbol quotes
546
552
  #
547
- # Returns quotes from the brokerage for the specified symbols and account. The quotes returned can be delayed depending on the brokerage the account belongs to. It is highly recommended that you use your own market data provider for real-time quotes instead of relying on this endpoint. This endpoint does not work for options quotes.
553
+ # Returns quotes from the brokerage for the specified symbols and account.
554
+ #
555
+ # The quotes returned can be delayed depending on the brokerage the account belongs to. It is highly recommended that you use your own market data provider for real-time quotes instead of relying on this endpoint.
556
+ #
557
+ # This endpoint does not work for options quotes.
558
+ #
559
+ # This endpoint is disabled for free plans by default. Please contact support to enable this endpoint if needed.
548
560
  #
549
561
  # @param user_id [String]
550
562
  # @param user_secret [String]
@@ -558,7 +570,7 @@ module SnapTrade
558
570
  end
559
571
 
560
572
  # Get equity symbol quotes
561
- # Returns quotes from the brokerage for the specified symbols and account. The quotes returned can be delayed depending on the brokerage the account belongs to. It is highly recommended that you use your own market data provider for real-time quotes instead of relying on this endpoint. This endpoint does not work for options quotes.
573
+ # Returns quotes from the brokerage for the specified symbols and account. The quotes returned can be delayed depending on the brokerage the account belongs to. It is highly recommended that you use your own market data provider for real-time quotes instead of relying on this endpoint. This endpoint does not work for options quotes. This endpoint is disabled for free plans by default. Please contact support to enable this endpoint if needed.
562
574
  # @param user_id [String]
563
575
  # @param user_secret [String]
564
576
  # @param symbols [String] List of Universal Symbol IDs or tickers to get quotes for. When providing multiple values, use a comma as separator
@@ -572,7 +584,7 @@ module SnapTrade
572
584
  end
573
585
 
574
586
  # Get equity symbol quotes
575
- # Returns quotes from the brokerage for the specified symbols and account. The quotes returned can be delayed depending on the brokerage the account belongs to. It is highly recommended that you use your own market data provider for real-time quotes instead of relying on this endpoint. This endpoint does not work for options quotes.
587
+ # Returns quotes from the brokerage for the specified symbols and account. The quotes returned can be delayed depending on the brokerage the account belongs to. It is highly recommended that you use your own market data provider for real-time quotes instead of relying on this endpoint. This endpoint does not work for options quotes. This endpoint is disabled for free plans by default. Please contact support to enable this endpoint if needed.
576
588
  # @param user_id [String]
577
589
  # @param user_secret [String]
578
590
  # @param symbols [String] List of Universal Symbol IDs or tickers to get quotes for. When providing multiple values, use a comma as separator
@@ -8,5 +8,5 @@ Contact: api@snaptrade.com
8
8
  =end
9
9
 
10
10
  module SnapTrade
11
- VERSION = '2.0.125'
11
+ VERSION = '2.0.127'
12
12
  end
@@ -90,7 +90,7 @@ describe 'AccountInformationApi' do
90
90
 
91
91
  # unit tests for get_user_account_order_detail
92
92
  # Get account order detail
93
- # Returns the detail of a single order in the specified account. This endpoint is always realtime and does not rely on cached data.
93
+ # Returns the detail of a single order in the specified account. This endpoint is always realtime and does not rely on cached data. This endpoint only returns orders placed through SnapTrade. In other words, orders placed outside of the SnapTrade network are not returned by this endpoint.
94
94
  # @param user_id
95
95
  # @param user_secret
96
96
  # @param account_id
@@ -70,7 +70,7 @@ describe 'ConnectionsApi' do
70
70
 
71
71
  # unit tests for refresh_brokerage_authorization
72
72
  # Refresh holdings for a connection
73
- # Trigger a holdings update for all accounts under this connection. Updates will be queued asynchronously. [&#x60;ACCOUNT_HOLDINGS_UPDATED&#x60; webhook](/docs/webhooks#webhooks-account_holdings_updated) will be sent once the sync completes for each account under the connection. This endpoint will also trigger a transaction sync for the past day if one has not yet occurred. **Please contact support before use. Because of the cost of refreshing a connection, each call to this endpoint incurs a additional charge of $0.05**
73
+ # Trigger a holdings update for all accounts under this connection. Updates will be queued asynchronously. [&#x60;ACCOUNT_HOLDINGS_UPDATED&#x60; webhook](/docs/webhooks#webhooks-account_holdings_updated) will be sent once the sync completes for each account under the connection. This endpoint will also trigger a transaction sync for the past day if one has not yet occurred. **Because of the cost of refreshing a connection, each call to this endpoint incurs a additional charge based on your [Pricing Plan](https://snaptrade.com/pricing)**
74
74
  # @param authorization_id
75
75
  # @param user_id
76
76
  # @param user_secret
@@ -88,7 +88,7 @@ describe 'TradingApi' do
88
88
 
89
89
  # unit tests for get_user_account_quotes
90
90
  # Get equity symbol quotes
91
- # Returns quotes from the brokerage for the specified symbols and account. The quotes returned can be delayed depending on the brokerage the account belongs to. It is highly recommended that you use your own market data provider for real-time quotes instead of relying on this endpoint. This endpoint does not work for options quotes.
91
+ # Returns quotes from the brokerage for the specified symbols and account. The quotes returned can be delayed depending on the brokerage the account belongs to. It is highly recommended that you use your own market data provider for real-time quotes instead of relying on this endpoint. This endpoint does not work for options quotes. This endpoint is disabled for free plans by default. Please contact support to enable this endpoint if needed.
92
92
  # @param user_id
93
93
  # @param user_secret
94
94
  # @param symbols List of Universal Symbol IDs or tickers to get quotes for. When providing multiple values, use a comma as separator
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.125
4
+ version: 2.0.127
5
5
  platform: ruby
6
6
  authors:
7
7
  - SnapTrade
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-08-21 00:00:00.000000000 Z
11
+ date: 2025-08-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday