Options Unusual Activity

Options Unusual Activity Ruby API Documentation

Returns unusual options activity for a particular company across all option chains. Unusual options activity includes large trades, sweeps, and block trades.

API Class:
Intrinio::OptionsApi
Instance Method:
get_unusual_activity()

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
options_api = Intrinio::OptionsApi.new
symbol = "AAPL"
opts = {
source: nil
}
result = options_api.get_unusual_activity(symbol, opts)
pp result
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Parameters

NameTypeDescriptionNotes
symbolStringThe option symbol, corresponding to the underlying security. 
sourceStringRealtime or 15-minute delayed contracts.[optional]  

Return Type

object
Intrinio::ApiResponseOptionsUnusualActivity

Properties

NameTypeDescription
tradesArrayA list of unusual trades for a given company identifier  
object
Intrinio::OptionUnusualTrade

Properties

NameTypeDescription
symbolStringThe underlying option security symbol for the trade  
timestampDateThe UTC timestamp of order placement  
typeStringThe 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  
contractStringThe option contract symbol  
ask_at_executionFloatAsk price at execution  
bid_at_executionFloatBid price at execution  
sentimentStringBullish, 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