Primitives
sessionFacts
Build active symbol/session facts and select historical hold/switch/wait predictions
sessionFacts (all)
Build active symbol/session facts and select historical hold/switch/wait predictions
Input parameters
| Prop | Type | Default | Description |
|---|---|---|---|
memoryDir | string | - | Directory holding the saved symbol-facts corpus |
maxMatches | number | - | Maximum similar sessions to keep in the active candidate set |
interval | number | - | Minimum milliseconds between candidate-set refreshes |
plot | boolean | - | Whether to plot the active SessionFacts prediction |
plotName | string | - | Plot series prefix for SessionFacts output |
plotWidth | number | - | Line width used for context.plot output |
plotPadding | number | - | Padding added around close so the prediction line sits beside price |
predictionSessionValue | string | - | Preferred future session outcome to use for prediction actions |
SQL example
TICK sessionFacts memoryDir="/tmp/symbol-poc" interval=60000 maxMatches=20 plot=true