Interface

Module

Interface

OpenFIGI.cache_enumsFunction
cache_enums(; refresh=false)

Caches enumeration values in a global dictionary for quick access. If refresh is true, forces the enumeration values to be queried from the API instead of loaded from the scratch space.

source

Rate Limits

OpenFIGI.mapping_channelFunction
mapping_channel()

Creates a new channel for mapping tasks

The resulting Channel{Task} instance is sized to hold one interval of request tasks and is bound to a new Task spawned to rate-limit the channel.

source
mapping_channel(f, wait_reset=false)

Creates a channel for mapping tasks, runs f on that channel, and finally closes the channel.

nvda = search_channel() do ch
    return mapping(ch, Ticker("NVDA"), ExchCode("US"), SecurityType2("Common Stock"))
end

See mapping_channel()

source
OpenFIGI.search_channelFunction
search_channel()

Creates a channel for search or filter tasks

The resulting Channel{Task} instance is sized to hold one interval of search or filter tasks and is bound to a new Task spawned to rate-limit the channel.

source
search_channel(f, wait_reset=false)

Creates a channel for search or filter tasks, runs f on that channel, and finally closes the channel.

See search_channel()

source