Using Tags

Tags are a powerful way to label your positions for easy identification and organize your bots' statefulness. Explore all the ways you can tag (and untag) your bots.

The tagging system is a powerful tool that allows you to add data to your bots, positions, and symbols. This data can be used to track information, categorize items, and make decisions within your automations.

Types of Tags

There are three main types of tags:

  • Bot Tags: Tags that are applied to your bot. They do not change state and remain applied to the bot unless reset or untagged by the user. Bot tags can be used to track the status of your bot, such as "actively hedging" or "avoiding high volatility".

  • Position Tags: Tags that are applied to your open positions. They stay with the position and are helpful to determine what type of position it might be or other identifiers the user might want to know to manage and treat that position differently than others. For example, you could use a position tag to identify a "hedge" or a "core" position.

  • Symbol Tags: Tags that are applied to your symbols. An example of this would be tagging a symbol based on an indicator reading like RSI Overbought.

Using Tags in Automations

Tags can be used in conjunction with decisions to create powerful and flexible automations. For example, you could use a bot tag to track the performance of your bot over time. You could use a position tag to identify a specific type of position, such as a "hedge" or a "core" position. You could also use a symbol tag to filter symbols based on certain criteria.

Tagging Options

The tagging system provides the following options for adding and removing tags:

  • Tag Bot: Add tags to your bot.

  • Untag Bot: Remove tags from your bot.

  • Reset Bot Tags: Replace all tags for your bot.

  • Tag Position: Add tags to a position.

  • Untag Position: Remove tags from a position.

  • Reset Position Tags: Replace all tags for a position.

  • Tag Symbol: Add tags to a symbol.

  • Untag Symbol: Remove tags from a symbol.

  • Reset Symbol Tags: Replace all tags for a symbol.

Tips for Using Tags

  • Use descriptive and consistent tags.

  • Use a hierarchy of tags to organize your information.

  • Use tags to track the performance of your bots and positions.

  • Use tags to filter symbols based on certain criteria.

  • Use tags to create custom reports and analytics.

The tagging system is a powerful tool that can be used to enhance the functionality of your automations. By using tags effectively, you can create more efficient, organized, and informed trading strategies.

Last updated