Realtime Stock Prices Snapshot

Realtime Stock Prices Snapshot Ruby API Documentation

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

API Class:
Intrinio::SecurityApi
Instance Method:
get_security_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
security_api = Intrinio::SecurityApi.new
opts = {
at_datetime: DateTime.parse(nil)
}
result = security_api.get_security_snapshots(opts)
pp result
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Parameters

NameTypeDescriptionNotes
at_datetimeDateTimeThe UTC date and time (with url-encoded spaces) the snapshot will cover.[optional]  

Return Type

object
Intrinio::SecuritySnapshotsResult

Properties

NameTypeDescription
snapshotsArray<SecuritySnapshotGroup>List of all the snapshot groups comprising the queried result.  
object
Intrinio::SecuritySnapshotGroup

Properties

NameTypeDescription
timeDateTimeThe UTC timestamp of this snapshot group.  
filesArray<Object>List of all the snapshot parts of this group.