Documentation

Last updated on 7. 5. 2015 by Mark Fric

List of programs

Loader

responsible for loading of reports/historical or backtesting data.

Methods:

loadFile
parameter: path to file
return: SQResultsGroup

loads report and returns it as SQResultsGroup


preloadFile

parameter: path to file
return: none

pre-loads report, so that it is possible to get the report settings and symbols table. Report will be returned only after finishLoad is called.

getAdvancedLoadSettings
parameter: none
return: AdvancedLoadSettings

returns settings used during this load. User can alter the settings to change the behavior of the load process when the report is processed later in finishLoad call.


finishLoad

parameter: none
return: SQResultsGroup

finishes load of report started by preloadFile and returns it as SQResultsGroup

getSymbolsTable
parameter: none
return: SymbolsTable

returns symbols table recognized for file preloaded by preloadFile

Example of use:

SQResultsGroup strategyResults = (SQResultsGroup) Program.get("Loader").call("loadFile", "./tests/data/loaders/test_statement.csv");

Was this article helpful? The article was useful The article was not useful

Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments