lib/snaptrade/api/account_information_api.rb in snaptrade-1.16.3 vs lib/snaptrade/api/account_information_api.rb in snaptrade-1.17.0

- old
+ new

@@ -23,11 +23,10 @@ # @param user_secret [String] # @param brokerage_authorizations [String] Optional. Comma seperated list of authorization IDs (only use if filtering is needed on one or more authorizations). # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name def get_all_user_holdings(user_id:, user_secret:, brokerage_authorizations: SENTINEL, extra: {}) extra[:brokerage_authorizations] = brokerage_authorizations if brokerage_authorizations != SENTINEL - data, _status_code, _headers = get_all_user_holdings_with_http_info_impl(user_id, user_secret, extra) data end # List all accounts for the user, plus balances, positions, and orders for each account. @@ -35,11 +34,10 @@ # @param user_secret [String] # @param brokerage_authorizations [String] Optional. Comma seperated list of authorization IDs (only use if filtering is needed on one or more authorizations). # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name def get_all_user_holdings_with_http_info(user_id:, user_secret:, brokerage_authorizations: SENTINEL, extra: {}) extra[:brokerage_authorizations] = brokerage_authorizations if brokerage_authorizations != SENTINEL - get_all_user_holdings_with_http_info_impl(user_id, user_secret, extra) end # List all accounts for the user, plus balances, positions, and orders for each account. # @param user_id [String] @@ -118,22 +116,20 @@ # @param user_id [String] # @param user_secret [String] # @param account_id [String] The ID of the account get positions. # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name def get_user_account_balance(user_id:, user_secret:, account_id:, extra: {}) - data, _status_code, _headers = get_user_account_balance_with_http_info_impl(user_id, user_secret, account_id, extra) data end # List account balances # @param user_id [String] # @param user_secret [String] # @param account_id [String] The ID of the account get positions. # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name def get_user_account_balance_with_http_info(user_id:, user_secret:, account_id:, extra: {}) - get_user_account_balance_with_http_info_impl(user_id, user_secret, account_id, extra) end # List account balances # @param user_id [String] @@ -215,22 +211,20 @@ # @param user_id [String] # @param user_secret [String] # @param account_id [String] The ID of the account to get detail of. # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name def get_user_account_details(user_id:, user_secret:, account_id:, extra: {}) - data, _status_code, _headers = get_user_account_details_with_http_info_impl(user_id, user_secret, account_id, extra) data end # Return details of a specific investment account # @param user_id [String] # @param user_secret [String] # @param account_id [String] The ID of the account to get detail of. # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name def get_user_account_details_with_http_info(user_id:, user_secret:, account_id:, extra: {}) - get_user_account_details_with_http_info_impl(user_id, user_secret, account_id, extra) end # Return details of a specific investment account # @param user_id [String] @@ -314,11 +308,10 @@ # @param account_id [String] The ID of the account get positions. # @param state [String] defaults value is set to \"all\" # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name def get_user_account_orders(user_id:, user_secret:, account_id:, state: SENTINEL, extra: {}) extra[:state] = state if state != SENTINEL - data, _status_code, _headers = get_user_account_orders_with_http_info_impl(user_id, user_secret, account_id, extra) data end # Get history of orders placed in account @@ -327,11 +320,10 @@ # @param account_id [String] The ID of the account get positions. # @param state [String] defaults value is set to \"all\" # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name def get_user_account_orders_with_http_info(user_id:, user_secret:, account_id:, state: SENTINEL, extra: {}) extra[:state] = state if state != SENTINEL - get_user_account_orders_with_http_info_impl(user_id, user_secret, account_id, extra) end # Get history of orders placed in account # @param user_id [String] @@ -420,22 +412,20 @@ # @param user_id [String] # @param user_secret [String] # @param account_id [String] The ID of the account get positions. # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name def get_user_account_positions(user_id:, user_secret:, account_id:, extra: {}) - data, _status_code, _headers = get_user_account_positions_with_http_info_impl(user_id, user_secret, account_id, extra) data end # List account positions # @param user_id [String] # @param user_secret [String] # @param account_id [String] The ID of the account get positions. # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name def get_user_account_positions_with_http_info(user_id:, user_secret:, account_id:, extra: {}) - get_user_account_positions_with_http_info_impl(user_id, user_secret, account_id, extra) end # List account positions # @param user_id [String] @@ -517,22 +507,20 @@ # @param account_id [String] The ID of the account to fetch holdings for. # @param user_id [String] # @param user_secret [String] # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name def get_user_holdings(account_id:, user_id:, user_secret:, extra: {}) - data, _status_code, _headers = get_user_holdings_with_http_info_impl(account_id, user_id, user_secret, extra) data end # List balances, positions and orders for the specified account. # @param account_id [String] The ID of the account to fetch holdings for. # @param user_id [String] # @param user_secret [String] # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name def get_user_holdings_with_http_info(account_id:, user_id:, user_secret:, extra: {}) - get_user_holdings_with_http_info_impl(account_id, user_id, user_secret, extra) end # List balances, positions and orders for the specified account. # @param account_id [String] The ID of the account to fetch holdings for. @@ -613,21 +601,19 @@ # List accounts # @param user_id [String] # @param user_secret [String] # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name def list_user_accounts(user_id:, user_secret:, extra: {}) - data, _status_code, _headers = list_user_accounts_with_http_info_impl(user_id, user_secret, extra) data end # List accounts # @param user_id [String] # @param user_secret [String] # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name def list_user_accounts_with_http_info(user_id:, user_secret:, extra: {}) - list_user_accounts_with_http_info_impl(user_id, user_secret, extra) end # List accounts # @param user_id [String] @@ -703,21 +689,19 @@ # @param user_id [String] # @param user_secret [String] # @param account_id [String] The ID of the account to update. # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name def update_user_account(user_id:, user_secret:, account_id:, extra: {}) - data, _status_code, _headers = update_user_account_with_http_info_impl(user_id, user_secret, account_id, extra) data end # Update details of an investment account # @param user_id [String] # @param user_secret [String] # @param account_id [String] The ID of the account to update. # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name def update_user_account_with_http_info(user_id:, user_secret:, account_id:, extra: {}) - update_user_account_with_http_info_impl(user_id, user_secret, account_id, extra) end # Update details of an investment account # @param user_id [String]