Kratos_3.RunTimePlatform Namespace |
Class | Description | |
---|---|---|
![]() | DFSnapshotOnDemand |
Class for making calls to the DFSnapshotOnDemand service
|
![]() | DocumentsOnDemand |
Class for making calls to the DFSnapshotOnDemand service
|
![]() ![]() | FactSetOnDemand |
Main Interface for DataDirect FactSetOnDemand API.
Making a Factlet request involves making the appropriate call on the API and
receiving a DataFrame object. This object represents the data when it becomes available,
first one needs to wait for the data to be available. After the DataFrame is ready, data can be extracted.
![]()
Here we make a call to ExtractFormulaHistory, wait for the dataframe to finish, and print it to the console.
FactSetOnDemand fsod = new FactSetOnDemand(); // Set our configuration. We definitely need to set our username and password, as given to us by FactSet Support staff IConfigManager config = fsod.getConfig(); /// config.setConfig(ConfigOptions.DataDirectUserName, "MyUserName"); config.setConfig(ConfigOptions.DataDirectPassword, "MyPassword"); DataFrame df = fsod.ExtractFormulaHistory("ibm", "p_price", "09/19/2014"); Console.WriteLine(fsod.GetEventLogger().getOutputBuffer()); //Print a summary string if (df.hasError()) { df.throwErrorIfAnyIsPresent(); } for (int row = 0; row < df.getNumberOfRows(); row++) { for (int col = 0; col < df.getNumberOfColumns(); col++) { Object o = df.getCellAt(row, col); // Note that we know what the type of this cell is, so we could cast it or treat it as its proper type if we needed to Console.WriteLine("Row: " + row + ", Col: " + col + ", Value: " + o.ToString()); } } |
![]() | TickHistoryOnDemand |
Class for making calls to the TickHistoryOnDemand service
|
Delegate | Description | |
---|---|---|
![]() | CancelledEventDelegate |