Click or drag to resize

FactSetOnDemand Methods

The FactSetOnDemand type exposes the following members.

Methods
  NameDescription
Public methodCode exampleaddStringArrayParameters(DataRequest, Object)
Helper function for adding a series of parameters to a DataRequest object like a Factlet. The parameters should be formated as an array where every pair of strings represent a name-value pair
Examples
FactSetOnDemand fsod = new FactSetOnDemand();
Factlet f = new Factlet("ExtractFormulaHistory");
string[] params = new string[] { "ids", "ibm", "items", "p_price", "date", "08/10/2014" };
fsod.addStringArrayParameters(f, params);
Public methodCode exampleaddStringArrayParameters(DataRequest, String)
Helper function for adding a series of parameters to a DataRequest object like a Factlet. The parameters should be formated as an array where every pair of strings represent a name-value pair
Examples
FactSetOnDemand fsod = new FactSetOnDemand();
Factlet f = new Factlet("ExtractFormulaHistory");
string[] params = new string[] { "ids", "ibm", "items", "p_price", "date", "08/10/2014" };
fsod.addStringArrayParameters(f, params);
Public methodAddUrlParameter
Add a URL parameter to the next Factlet call
Public methodCancelAllRequests
Public methodCorporateActionsDividends(String, String, String)
Execute the CorporateActionsDividends Factlet.
Public methodCorporateActionsDividends(String, String, String, Object)
Execute the CorporateActionsDividends Factlet.
Public methodCorporateActionsSplits(String, String, String)
Execute the CorporateActionsSplits Factlet.
Public methodCorporateActionsSplits(String, String, String, Object)
Execute the CorporateActionsSplits Factlet.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodEstimatesOnDemand(String, String, String, String)
Execute the EstimatesOnDemand Factlet.
Public methodEstimatesOnDemand(String, String, String, String, Object)
Execute the EstimatesonDemand Factlet.
Public methodexecuteFactlet(Factlet)
Execute a factlet.
Public methodexecuteFactlet(Factlet, Boolean, Boolean)
Execute a factlet
Public methodexecuteFactlet(Factlet, Boolean, Boolean, Boolean)
Execute a factlet
Public methodexecuteFactlet(Factlet, Boolean, Boolean, Boolean, DictionaryString, String)
Execute a factlet.
Public methodExtractAlphaTestingSnapshot
Execute the ExtractAlphaTestingSnapshot Factlet.
Public methodExtractBenchmarkDetail(String, String, String)
Execute the ExtractBenchmarkDetail Factlet.
Public methodExtractBenchmarkDetail(String, String, String, Object)
Execute the ExtractBenchmarkDetail Factlet.
Public methodExtractCustomFormulaHistory(String, String)
Execute the ExtractCustomFormulaHistory Factlet.
Public methodExtractCustomFormulaHistory(String, String, Object)
Execute the ExtractCustomFormulaHistory Factlet.
Public methodExtractDataSnapshot(String, String, String)
Execute the ExtractDataSnapshot Factlet.
Public methodExtractDataSnapshot(String, String, String, Object)
Execute the ExtractDataSnapshot Factlet.
Public methodExtractEconData(String, String)
Execute the ExtractEconData Factlet.
Public methodExtractEconData(String, String, Object)
Execute the ExtractEconData Factlet.
Public methodExtractFormulaHistory(String, String, String)
Execute the ExtractFormulaHistory Factlet.
Public methodExtractFormulaHistory(String, String, String, Object)
Execute the ExtractFormulaHistory Factlet.
Public methodExtractOFDBItem(String, String, String, String)
Execute the ExtractOFDBItem Factlet.
Public methodExtractOFDBItem(String, String, String, String, Object)
Execute the ExtractOFDBItem Factlet.
Public methodExtractOFDBUniverse(String)
Execute the ExtractOFDBUniverse Factlet.
Public methodExtractOFDBUniverse(String, Object)
Execute the ExtractOFDBUniverse Factlet.
Public methodExtractOptionsSnapshot(String, String, String, String, String, String, String, String)
Execute the ExtractOptionsSnapshot Factlet.
Public methodExtractOptionsSnapshot(String, String, String, String, String, String, String, String, Object)
Execute the ExtractOptionsSnapshot Factlet.
Public methodExtractScreenUniverse(String)
Execute the ExtractScreenUniverse Factlet.
Public methodExtractScreenUniverse(String, Object)
Execute the ExtractScreenUniverse Factlet.
Public methodExtractSPARData(String, String, String)
Execute the ExtractSPARData Factlet.
Public methodExtractSPARData(String, String, String, Object)
Execute the ExtractSPARData Factlet.
Public methodExtractVectorFormula(String, String)
Execute the ExtractVectorFormula Factlet.
Public methodExtractVectorFormula(String, String, Object)
Execute the ExtractVectorFormula Factlet.
Public methodFXRate(String, String)
Execute the FXRate Factlet.
Public methodFXRate(String, String, Object)
Execute the FXRate Factlet.
Public methodgetAllConfigOptions
Get a list of all available config options
Public methodgetConfig
Get the ConfigManager being used. With this, one can change the configuration settings or see what they are
Public methodGetConfigPathInSpecialFolder
Public methodGetDFSnapshotOnDemand
Return the DFSnapshotOnDemand interface object for making DFSnapshot calls
Public methodGetDocumentsOnDemand
Return the DocumentsOnDemand interface object for making Document calls
Public methodGetEventLogAsString
Returns event log as a string ready for parsing or viewing
Public methodGetEventLogger
Get the EventLogger being used
Public methodGetFormat
Returns a string describing what value is being passed to the "format" network parameter
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetKratosVersion
Returns the actual version of the Kratos DLL as a string
Public methodGetPathToConfig
Public methodGetTickHistoryOnDemand
Returns the TickHistory interface object for making TickHistory calls
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsUsingRegistry
Public methodLSD_Ownership(String, String)
Execute the LSD_Ownership Factlet
Public methodLSD_Ownership(String, String, Object)
Execute the LSD_Ownership Factlet.
Public methodOtpKeyRequest
Send FactSet servers the passcode received on an email sent by PassCodeRequest to complete the key/counter reset process
Public methodPassCodeRequest
Request an email to FactSet servers to reset the OTP key and counter
Public methodRemoveUrlParameter
Remove URL parameter from list of parameters to use in the next call
Public methodRunStatBar
Run StatBar. For MATLAB and R Plugins. Calling this outside of either of these programs will give undefined results.
Public methodsetIndexingString
Set the column used for indexed parsing.
Public methodSetPathToConfig
Public methodSetUpConfig
Public methodCode examplesetWaitUntilDoneMode
Set whether or not to wait until a dataframe is done downloading and parsing before returning from a factlet execution call. If not in waitUntilDone mode, when a factlet call is made a DataFrame is immediately returned representing the response from OnDemand servers as it arrives. The DataFrame should not be accessed until it's isDone member variable is set to true
Examples
DataFrame df = fsod.executeFactlet(f);
while(!df.isDone) {
    Thread.Sleep(20);
}
// access the data frame here
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methoduseMatlabFormat
Returns true if initialized to use MATLAB-style dates and formats
Top
See Also