Lean  $LEAN_TAG$
QuantConnect.Data.Custom.Intrinio.IntrinioConfig Class Reference

Auxiliary class to access all Intrinio API data. More...

Static Public Member Functions

static void SetTimeIntervalBetweenCalls (TimeSpan timeSpan)
 Sets the time interval between calls. For more information, please refer to: https://intrinio.com/documentation/api#limits More...
 
static void SetUserAndPassword (string user, string password)
 Set the Intrinio API user and password. More...
 

Static Public Attributes

static RateGate RateGate
 
static bool IsInitialized => !string.IsNullOrWhiteSpace(User) && !string.IsNullOrWhiteSpace(Password)
 Check if Intrinio API user and password are not empty or null. More...
 
static string Password = string.Empty
 Intrinio API password More...
 
static string User = string.Empty
 Intrinio API user More...
 

Detailed Description

Auxiliary class to access all Intrinio API data.

Definition at line 24 of file IntrinioConfig.cs.

Member Function Documentation

◆ SetTimeIntervalBetweenCalls()

static void QuantConnect.Data.Custom.Intrinio.IntrinioConfig.SetTimeIntervalBetweenCalls ( TimeSpan  timeSpan)
static

Sets the time interval between calls. For more information, please refer to: https://intrinio.com/documentation/api#limits

Parameters
timeSpanTime interval between to consecutive calls.

Paid subscription has limits of 1 call per second. Free subscription has limits of 1 call per minute.

Definition at line 55 of file IntrinioConfig.cs.

◆ SetUserAndPassword()

static void QuantConnect.Data.Custom.Intrinio.IntrinioConfig.SetUserAndPassword ( string  user,
string  password 
)
static

Set the Intrinio API user and password.

Definition at line 63 of file IntrinioConfig.cs.

Member Data Documentation

◆ RateGate

RateGate QuantConnect.Data.Custom.Intrinio.IntrinioConfig.RateGate
static
Initial value:
=
new RateGate(1, TimeSpan.FromMilliseconds(5000))

Definition at line 28 of file IntrinioConfig.cs.

◆ IsInitialized

bool QuantConnect.Data.Custom.Intrinio.IntrinioConfig.IsInitialized => !string.IsNullOrWhiteSpace(User) && !string.IsNullOrWhiteSpace(Password)
static

Check if Intrinio API user and password are not empty or null.

Definition at line 34 of file IntrinioConfig.cs.

◆ Password

string QuantConnect.Data.Custom.Intrinio.IntrinioConfig.Password = string.Empty
static

Intrinio API password

Definition at line 39 of file IntrinioConfig.cs.

◆ User

string QuantConnect.Data.Custom.Intrinio.IntrinioConfig.User = string.Empty
static

Intrinio API user

Definition at line 44 of file IntrinioConfig.cs.


The documentation for this class was generated from the following file: