66 lines
3.0 KiB
JSON
66 lines
3.0 KiB
JSON
{
|
|
"topic": "Data Mining",
|
|
"pageNumber": 10,
|
|
"type": "Data Mining - Status Dependencies",
|
|
"definition": {
|
|
"text": "Status Dependencies are another type of relationship between Bots. Sometimes bots don't depend on the Datasets produced by other bots, but they depend directly on the status of other bots.",
|
|
"updated": 1622219077845
|
|
},
|
|
"paragraphs": [
|
|
{
|
|
"style": "Title",
|
|
"text": "Status Dependency Tree",
|
|
"updated": 1622219244127
|
|
},
|
|
{
|
|
"style": "Text",
|
|
"text": "Status dependencies operate using the same idea of a tree as execution and data dependencies. Any Bot can have from zero to many status dependencies. For each Status Dependency, the Bot's process at runtime will load the Status Report file of the dependent Bot and will extract from there the information it needs.",
|
|
"updated": 1622222998840
|
|
},
|
|
{
|
|
"style": "Note",
|
|
"text": "Bots that produce Raw Data usually do not depend on any other Bot's status and are usually the root of a status dependency tree. "
|
|
},
|
|
{
|
|
"style": "Text",
|
|
"text": "A good way to undestand why Status Dependencies are needed is with an example:"
|
|
},
|
|
{
|
|
"style": "Text",
|
|
"text": "The Indicator Bot Bollinger-Bands depends on Candles-Volumes Dataset in order to calculate the Bollinger Bands, but it depend's on Exchange Raw Data Sensor Bot in order to know where the market begins, which is the date of the first piece of data. That information is part of the Status information that Exchange Raw Data Sensor Bot keeps at it's Status Report.",
|
|
"updated": 1622223640276
|
|
},
|
|
{
|
|
"style": "Title",
|
|
"text": "Classification by Utility",
|
|
"updated": 1621718216510
|
|
},
|
|
{
|
|
"style": "Text",
|
|
"text": "A Status Dependency can be classified by it's utility. This makes it easier for processes to handle them in code. There are currently three different utilities:",
|
|
"updated": 1622223177318
|
|
},
|
|
{
|
|
"style": "List",
|
|
"text": "Self Reference: this is used to load a bot's Status Report to extract data from it or modify it.",
|
|
"updated": 1622223714025
|
|
},
|
|
{
|
|
"style": "List",
|
|
"text": "Market Starting Point: this means that the referenced Status Report is to be used to extract the information of where the market begins.",
|
|
"updated": 1622223349370
|
|
},
|
|
{
|
|
"style": "List",
|
|
"text": "Market Ending Point: this means that the referenced Status Report is to be used to extract the information of where the market ends, meaning which date the market ends."
|
|
},
|
|
{
|
|
"style": "Important",
|
|
"text": "A Bot's process is not allowed to update the Status Report belonging to other Bots."
|
|
},
|
|
{
|
|
"style": "Text",
|
|
"text": ""
|
|
}
|
|
]
|
|
} |