Top Gainers by Exchange

Top Gainers by Exchange Python API Documentation

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

API Class:
StockExchangeApi
Instance Method:
get_stock_exchange_gainers()

Stock Price Code Example

Use my API Key
from __future__ import print_function
import time
import intrinio_sdk as intrinio
from intrinio_sdk.rest import ApiException
intrinio.ApiClient().set_api_key('YOUR_API_KEY')
intrinio.ApiClient().allow_retries(True)
identifier = 'USCOMP'
min_price = 8.14
page_size = 100
source = 'delayed_sip'
response = intrinio.StockExchangeApi().get_stock_exchange_gainers(identifier, min_price=min_price, page_size=page_size, source=source)
print(response)
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Parameters

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


Return Type

object
ApiResponseStockExchangeMovers

Properties

NameTypeDescription
moverslist[StockExchangeMover]The mover security.  
stock_exchangeStockExchangeThe Stock Exchange resolved from the given identifier  
object
StockExchangeMover

Properties

NameTypeDescription
security_idstrThe Intrinio Identifier for this security.  
tickerstrThe 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.  
sourcestrThe source of the data.  
object
StockExchange

Properties

NameTypeDescription
idstrThe Intrinio ID for the Stock Exchange  
namestrThe name of the exchange  
micstrThe Market Identifier Code (MIC) of the exchange  
acronymstrThe acronym of the exchange's name  
citystrThe city in which the exchange is located  
countrystrThe country in which the exchange is located  
country_codestrThe 2-digit code of the exchange's country  
websitestrThe 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