Scale Intelligence■ Docs
Docs / The model / MarketTwinState

MarketTwinState.

The state of a twin at one step of one simulation: the level of every stock, so the twin's trajectory is facts in gold and never a rebuild

Figure 1MarketTwinStatespecified
MARKETTWINSTATEfact at brand scopetwinidsimulationidstepcountattimelevels[StockLevel]STOCKLEVELthrough levels
MarketTwinState is a fact at brand scope. The drawing shows its fields and the objects that they point at.
kind
fact
scope
brand
key
the twin, the step and the time
store
postgres+lake
family
market

Fields#

fieldtyperequirednote
twinidyes
simulationidyes
stepcountyes
attimeyes
levelsStockLevelyes

Routes that use it#

No route takes or returns MarketTwinState directly. The record holds it, and the objects that point at it reach it.