Safepine
Legal
UserContext
safepine_os
runtime
user_context
struct
UserContext {
this
(string contextId, string userName);
void
UpdateCacheIncremental
(Date referenceDate, string[] collectedSymbols);
void
SyncCache
();
void
LoadCacheAsJson
();
void
InitEngines
();
void
RunBacktests
();
void
Destroy
();
void
EnableTestMode
();
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)
safepine_os
runtime
user_context
structs
UserContext