The decision recipe for evaluating a position’s side has two inputs:
- Long / short
This decision recipe allows you to make decisions based on whether an underlying position is long or short. This allows you to split the decision tree in the automation based on different position types active in the bot.
Because the evaluating position side decision recipe uses information from an existing position inside a bot, it is typically used in monitor automations and after a repeater action.
The first field prompts you to choose an existing open position inside the bot. Each existing position in the bot will be linked, and this field will pull in the necessary data from the position.
In the second field, you will define if the position is long or short. When you have finished creating the recipe, select “Save.”
The decision will be added to the list of criteria. You have the option to add more decisions to the recipe or return to the automation editor. When finished, select “Save” again to return to the automation editor.
The automation editor will display your completed decision criteria for evaluating a position’s side.
You can always select the decision inside the automation editor and make changes to the criteria.