Decision Recipes

Comparing Bot Position Count to Underlying Symbol

Comparing bot position count to underlying symbol allows you to make decisions based on the number of a particular symbol in a bot. Here is how to use it.
Comparing Bot Position Count to Underlying Symbol
Steve Henry
May 3, 2021

The decision recipe for comparing a bot position’s count to an underlying symbol has three inputs:

  • More than / less than / exactly
  • Number of positions
  • Symbol

This decision recipe allows you to make decisions based on the number of a particular symbol in a bot.

Screenshot displaying the decision recipe for comparing bot position count to underlying symbol

The first field prompts you to choose if the bot has more than, less than, or exactly the number of positions you select in the second field. In the third field, you select the symbol to reference.

Screenshot of the decision recipe's symbol referece

When you have finished creating the recipe, select “Save.”

Screenshot highlighting the save button following the decision recipe inputs

NOTE: You can also create a custom input for the number of positions and symbol type, which allows you to input the field later to make the decision recipe dynamic across all automations.

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.

Screenshot highlighting the save button to return to the automation editor

The automation editor will display your completed decision criteria for comparing a bot position’s count to a symbol.

Screenshot highlighting the decision recipe within the automation editor

You can always select the decision inside the automation editor and make changes to the criteria.

No tags found.
Next article
Evaluating Underlying Symbol Indicator Properties
Evaluating underlying symbol indicator properties allows you to make decisions based on an indicator’s properties for an underlying symbol. Here is how to use it.
Was this helpful?
FAQs
Related articles

Trade smarter with automation