All Stock Exchanges

All Stock Exchanges Ruby API Documentation

Returns all Stock Exchanges matching the specified parameters

API Class:
Intrinio::StockExchangeApi
Instance Method:
get_all_stock_exchanges()

Stock Price Code Example

Use my API Key
# Load the gem
require 'intrinio-sdk'
require 'pp'
# Setup authorization
Intrinio.configure do |config|
config.api_key['api_key'] = 'YOUR_API_KEY'
config.allow_retries = true
end
stockExchange_api = Intrinio::StockExchangeApi.new
opts = {
city: "New York",
country: "UNITED STATES OF AMERICA",
country_code: "US",
page_size: 100
}
result = stockExchange_api.get_all_stock_exchanges(opts)
pp result
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Parameters

NameTypeDescriptionNotes
cityStringFilter by city[optional]  
countryStringFilter by country[optional]  
country_codeStringFilter by ISO country code[optional]  
page_sizeIntegerThe number of results to return[optional] [default to 100]  

Return Type

object
Intrinio::ApiResponseStockExchanges

Properties

NameTypeDescription
stock_exchangesArray 
next_pageStringThe token required to request the next page of the data. If null, no further results are available.  
object
Intrinio::StockExchange

Properties

NameTypeDescription
idStringThe Intrinio ID for the Stock Exchange  
nameStringThe name of the exchange  
micStringThe Market Identifier Code (MIC) of the exchange  
acronymStringThe acronym of the exchange's name  
cityStringThe city in which the exchange is located  
countryStringThe country in which the exchange is located  
country_codeStringThe 2-digit code of the exchange's country  
websiteStringThe website of the exchange  
first_stock_price_dateDateThe earliest date for which Intrinio has stock prices for the exchange  
last_stock_price_dateDateThe latest date for which Intrinio has stock prices for the exchange