Option Prices Realtime Snapshot

Option Prices Realtime Snapshot Ruby API Documentation

Returns all options snapshots for the queried interval with links to download.

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

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
opts = {
source: nil,
at_datetime: DateTime.parse(nil),
with_greeks: nil,
stock_price_source: nil,
with_underlying_price: nil
}
result = options_api.get_options_snapshots(opts)
pp result
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Parameters

NameTypeDescriptionNotes
sourceStringRealtime or 15-minute delayed contracts.[optional]  
at_datetimeDateTimeThe UTC date and time (with url-encoded spaces) the snapshot will cover.[optional]  
with_greeksBOOLEANWhether to include Greek calculations fields when available.[optional]  
stock_price_sourceStringSource for underlying price for calculating Greeks.[optional]  
with_underlying_priceBOOLEANWhether to include the underlying price of the security in the file.[optional]  

Return Type

object
Intrinio::OptionSnapshotsResult

Properties

NameTypeDescription
snapshotsArrayList of all the snapshot groups comprising the queried result.  
object
Intrinio::OptionSnapshotGroup

Properties

NameTypeDescription
timeDateTimeThe UTC timestamp of this snapshot group.  
filesArrayList of all the snapshot parts of this group.