Top Losers by Exchange

Top Losers by Exchange Ruby API Documentation

Returns securities with the highest loss percent change traded on the chosen stock exchange.

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

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
identifier = "USCOMP"
opts = {
min_price: 8.14,
page_size: 100,
source: "delayed_sip"
}
result = stockExchange_api.get_stock_exchange_losers(identifier, opts)
pp result
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Parameters

NameTypeDescriptionNotes
identifierStringA Stock Exchange identifier (MIC or Intrinio ID) 
min_priceFloatThe minimum price filter[optional]  
page_sizeIntegerThe number of results to return[optional] [default to 100]  
sourceStringReturn the realtime price from the specified source instead of the most recent.[optional]  

Return Type

object
Intrinio::ApiResponseStockExchangeMovers

Properties

NameTypeDescription
moversArrayThe mover security.  
stock_exchangeStockExchangeThe Stock Exchange resolved from the given identifier  
object
Intrinio::StockExchangeMover

Properties

NameTypeDescription
security_idStringThe Intrinio Identifier for this security.  
tickerStringThe ticker symbol for this security.  
last_priceFloatThe last price of the last trade.  
changeFloatThe raw change in price.  
percent_changeFloatThe percent change in price.  
market_volumeFloatThe market volume for the most recent (today) trading day.  
sourceStringThe source of the data.  
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