Options Unusual Activity Intraday

Options Unusual Activity Intraday Python API Documentation

Returns unusual trades for a given identifier within the query parameters.

API Class:
OptionsApi
Instance Method:
get_unusual_activity_intraday()

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)
symbol = 'AAPL'
next_page = ''
page_size = 1000
activity_type = ''
sentiment = ''
start_date = '2022-02-01'
end_date = '2022-02-03'
minimum_total_value = 100000.0
maximum_total_value = 200000.0
response = intrinio.OptionsApi().get_unusual_activity_intraday(symbol, next_page=next_page, page_size=page_size, activity_type=activity_type,
  sentiment=sentiment, start_date=start_date, end_date=end_date, minimum_total_value=minimum_total_value, maximum_total_value=maximum_total_value)
print(response)
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Parameters

NameTypeDescriptionNotes
symbolstrThe option symbol, corresponding to the underlying security. 
next_pagestrGets the next page of data from a previous API call[optional]  
page_sizeintThe number of results to return[optional] [default to 1000]  
activity_typestrThe unusual activity type to query for.[optional]  
sentimentstrThe sentiment type to query for.[optional]  
start_datedateReturn unusual activity on or after this date.[optional]  
end_datedateReturn unusual activity on or before this date.[optional]  
minimum_total_valueobjectThe inclusive minimum total value for the unusual activity.[optional]  
maximum_total_valueobjectThe inclusive maximum total value for the unusual activity.[optional]  


Return Type

object
ApiResponseOptionsUnusualActivity

Properties

NameTypeDescription
tradeslist[OptionUnusualTrade]A list of unusual trades for a given company identifier  
object
OptionUnusualTrade

Properties

NameTypeDescription
symbolstrThe underlying option security symbol for the trade  
timestampdateThe UTC timestamp of order placement  
typestrThe type of unusual trade  
total_valuefloatThe aggregated value of all option contract premiums included in the trade  
total_sizefloatThe total number of contracts involved in a single transaction  
average_pricefloatThe average premium paid per option contract  
contractstrThe option contract symbol  
ask_at_executionfloatAsk price at execution  
bid_at_executionfloatBid price at execution  
sentimentstrBullish, Bearish, or Neutral Sentiment is estimated based on whether the trade was executed at the bid, ask, or mark price.  
underlying_price_at_executionfloatPrice of the underlying security at execution of trade