A variant is a type of data source that provides the necessary data and information for a worker to perform it's actions and calculations. Each variant has different ways to get data; it may come from user inputs, from entities, from tags, from previous workers, etc.
Here is a list of all variants used inside the Everysk platform.
Types of Variants:
String: It receives ordered sequences of characters values which will be sent to the worker.
Number: It receives numeric data values which will be sent to the worker.
Date: It receives a date to be sent to the worker.
Boolean: A boolean data value (True or False) which will be sent to the worker.
Percent: It receives a percent numeric data value which will be sent to the worker
Tag: It receives a string which will be sent to the worker and will be used as a filter tag for data generated by the worker.
Tag Latest: Similar to the tag variant, it receives a string which will be sent to the worker and used as a filter to call a specific stored data.
Tag List: It receives a string which will be sent to the worker and used as a filter to call all the stored datas with this tag in parallel.
Symbol: Allows to select a security symbol inside the Everysk platform.
Select: Allows to select only a specific type of data inside the worker.
Select Portfolio: It allows the user to select a specific portfolio from the Portfolio Entity, which will be sent to the worker.
Select Datastore: It allows the user to select a specific datastore from the Datastore Entity, which will be sent to the worker.
Select Report: It allows the user to select a specific report from the Report Entity, which will be sent to the worker.
Select Report Template: It allows the user to select a specific Report Template from the Report Template Entity, which will be sent to the worker.
Select Multiple: Allows to select a list of a specific type of data or entity inside the worker.
Whole Select: Allows the user to select a specific data from a provided list of options.
Select File: Allows to select a specific file from the File Entity, which will be sent to the worker.
Template Text: Allows to concatenate a string with other strings returned by previous workers.
Upstream Data: Receives a specific data returned by previous workers inside the workflow.
JSON: Receives a json object