UserContext

struct UserContext {
JSONValue m_allData;
string[] m_symbols;
string[] m_links;
string m_cachePath;
string m_cacheMetaPath;
string m_userName;
string m_contextId;
Engine m_portfolio;
Engine m_benchmark;
Engine m_rebalance;
PineScoreSnapshot[] m_pineScores;
SSOTProfile m_profile;
}

Constructors

this
this(string contextId, string userName)

Members

Functions

Destroy
void Destroy()
EnableTestMode
void EnableTestMode()
InitEngines
void InitEngines()
LoadCacheAsJson
void LoadCacheAsJson()
RunBacktests
void RunBacktests()
SyncCache
void SyncCache()
UpdateCacheIncremental
void UpdateCacheIncremental(Date referenceDate, string[] collectedSymbols)