snaptrade 2.0.66 → 2.0.68
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 +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +7 -6
- data/lib/snaptrade/api/account_information_api.rb +16 -14
- data/lib/snaptrade/version.rb +1 -1
- data/spec/api/account_information_api_spec.rb +2 -2
- metadata +2 -2
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 5f0cc945f4abf3788ed7455ac4e25ecb41eb9409f0175c19036de164d9ab9007
         | 
| 4 | 
            +
              data.tar.gz: 560688fa12785e3e8fd73669b24a8b351148e89f99875dc7a4992795212ebc4b
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: d77c0267c67a1e6f69a3f40a2d32999a12f9b2d22ae470384ef82fa98ac3cc6929caa87ea2ac7dfd3fb04481a4eb6f8e4f27ed634a1b1e160287631580a01308
         | 
| 7 | 
            +
              data.tar.gz: 0776cf6b250c874c222c01f815f83129314302294224621cac6cdde934eaae2ba096c7471cb3d911fc204526a935279fd8fc1d4b21d7853473fa52dcaf27c4dc
         | 
    
        data/Gemfile.lock
    CHANGED
    
    
    
        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 | 
            -
            [](https://rubygems.org/gems/snaptrade/versions/2.0.68)
         | 
| 10 10 | 
             
            [](https://snaptrade.com/)
         | 
| 11 11 |  | 
| 12 12 | 
             
            </div>
         | 
| @@ -73,7 +73,7 @@ Connect brokerage accounts to your app for live positions and trading | |
| 73 73 | 
             
            Add to Gemfile:
         | 
| 74 74 |  | 
| 75 75 | 
             
            ```ruby
         | 
| 76 | 
            -
            gem 'snaptrade', '~> 2.0. | 
| 76 | 
            +
            gem 'snaptrade', '~> 2.0.68'
         | 
| 77 77 | 
             
            ```
         | 
| 78 78 |  | 
| 79 79 | 
             
            ## Getting Started<a id="getting-started"></a>
         | 
| @@ -308,10 +308,11 @@ p result | |
| 308 308 |  | 
| 309 309 | 
             
            ### `snaptrade.account_information.get_user_account_recent_orders`<a id="snaptradeaccount_informationget_user_account_recent_orders"></a>
         | 
| 310 310 |  | 
| 311 | 
            -
             | 
| 312 | 
            -
            This endpoint is realtime and can be used to quickly check if account state has recently changed due to an execution
         | 
| 313 | 
            -
            Differs from /orders in that it  | 
| 314 | 
            -
             | 
| 311 | 
            +
            A lightweight endpoint that returns a list of orders executed in the last 24 hours in the specified account.
         | 
| 312 | 
            +
            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
         | 
| 313 | 
            +
            Differs from /orders in that it is realtime, and only checks the last 24 hours as opposed to the last 30 days
         | 
| 314 | 
            +
            By default only returns executed orders, but that can be changed by setting *only_executed* to false
         | 
| 315 | 
            +
            **Please contact support for access as this endpoint is not enabled by default.**
         | 
| 315 316 |  | 
| 316 317 |  | 
| 317 318 | 
             
            #### 🛠️ Usage<a id="🛠️-usage"></a>
         | 
| @@ -575,12 +575,13 @@ module SnapTrade | |
| 575 575 | 
             
                end
         | 
| 576 576 |  | 
| 577 577 |  | 
| 578 | 
            -
                # List account recent  | 
| 578 | 
            +
                # List account recent orders (last 24 hours only)
         | 
| 579 579 | 
             
                #
         | 
| 580 | 
            -
                #  | 
| 581 | 
            -
                # This endpoint is realtime and can be used to quickly check if account state has recently changed due to an execution
         | 
| 582 | 
            -
                # Differs from /orders in that it  | 
| 583 | 
            -
                #  | 
| 580 | 
            +
                # A lightweight endpoint that returns a list of orders executed in the last 24 hours in the specified account.
         | 
| 581 | 
            +
                # 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
         | 
| 582 | 
            +
                # Differs from /orders in that it is realtime, and only checks the last 24 hours as opposed to the last 30 days
         | 
| 583 | 
            +
                # By default only returns executed orders, but that can be changed by setting *only_executed* to false
         | 
| 584 | 
            +
                # **Please contact support for access as this endpoint is not enabled by default.**
         | 
| 584 585 | 
             
                #
         | 
| 585 586 | 
             
                # @param user_id [String] 
         | 
| 586 587 | 
             
                # @param user_secret [String] 
         | 
| @@ -593,12 +594,13 @@ module SnapTrade | |
| 593 594 | 
             
                  data
         | 
| 594 595 | 
             
                end
         | 
| 595 596 |  | 
| 596 | 
            -
                # List account recent  | 
| 597 | 
            +
                # List account recent orders (last 24 hours only)
         | 
| 597 598 | 
             
                #
         | 
| 598 | 
            -
                #  | 
| 599 | 
            -
                # This endpoint is realtime and can be used to quickly check if account state has recently changed due to an execution
         | 
| 600 | 
            -
                # Differs from /orders in that it  | 
| 601 | 
            -
                #  | 
| 599 | 
            +
                # A lightweight endpoint that returns a list of orders executed in the last 24 hours in the specified account.
         | 
| 600 | 
            +
                # 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
         | 
| 601 | 
            +
                # Differs from /orders in that it is realtime, and only checks the last 24 hours as opposed to the last 30 days
         | 
| 602 | 
            +
                # By default only returns executed orders, but that can be changed by setting *only_executed* to false
         | 
| 603 | 
            +
                # **Please contact support for access as this endpoint is not enabled by default.**
         | 
| 602 604 | 
             
                #
         | 
| 603 605 | 
             
                # @param user_id [String] 
         | 
| 604 606 | 
             
                # @param user_secret [String] 
         | 
| @@ -610,8 +612,8 @@ module SnapTrade | |
| 610 612 | 
             
                  get_user_account_recent_orders_with_http_info_impl(user_id, user_secret, account_id, extra)
         | 
| 611 613 | 
             
                end
         | 
| 612 614 |  | 
| 613 | 
            -
                # List account recent  | 
| 614 | 
            -
                #  | 
| 615 | 
            +
                # List account recent orders (last 24 hours only)
         | 
| 616 | 
            +
                # 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 **Please contact support for access as this endpoint is not enabled by default.** 
         | 
| 615 617 | 
             
                # @param user_id [String] 
         | 
| 616 618 | 
             
                # @param user_secret [String] 
         | 
| 617 619 | 
             
                # @param account_id [String] 
         | 
| @@ -623,8 +625,8 @@ module SnapTrade | |
| 623 625 | 
             
                  data
         | 
| 624 626 | 
             
                end
         | 
| 625 627 |  | 
| 626 | 
            -
                # List account recent  | 
| 627 | 
            -
                #  | 
| 628 | 
            +
                # List account recent orders (last 24 hours only)
         | 
| 629 | 
            +
                # 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 **Please contact support for access as this endpoint is not enabled by default.** 
         | 
| 628 630 | 
             
                # @param user_id [String] 
         | 
| 629 631 | 
             
                # @param user_secret [String] 
         | 
| 630 632 | 
             
                # @param account_id [String] 
         | 
    
        data/lib/snaptrade/version.rb
    CHANGED
    
    
| @@ -100,8 +100,8 @@ describe 'AccountInformationApi' do | |
| 100 100 | 
             
              end
         | 
| 101 101 |  | 
| 102 102 | 
             
              # unit tests for get_user_account_recent_orders
         | 
| 103 | 
            -
              # List account recent  | 
| 104 | 
            -
              #  | 
| 103 | 
            +
              # List account recent orders (last 24 hours only)
         | 
| 104 | 
            +
              # 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 **Please contact support for access as this endpoint is not enabled by default.** 
         | 
| 105 105 | 
             
              # @param user_id 
         | 
| 106 106 | 
             
              # @param user_secret 
         | 
| 107 107 | 
             
              # @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. | 
| 4 | 
            +
              version: 2.0.68
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - SnapTrade
         | 
| 8 8 | 
             
            autorequire: 
         | 
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date: 2025-01- | 
| 11 | 
            +
            date: 2025-01-10 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: faraday
         |