For the complete documentation index, see llms.txt. This page is also available as Markdown.

Filter by volume

The $ filter compares the total market volume of the selected bars with the given amount. It allows both directions when the comparison is made.

Add a filter to the task

Open up the task of creating or editing a Binance robot or a Bybit robot. — The Bybit robot In the filter block, select By volume of dollars.

Field Active is missing. Set the filter for the pair the task is going to work with.

Set the calculation

  • The TF sets the time frame for the calculation. The initial value is 1 minute.

  • Calculation On closing the bar or On crossing (every second). The first uses closed bars, the second takes into account the current unopened bar. In the new form, the mode P is selected (every second).

  • Period number of bars to sum the volume. The starting value is 60.

  • The threshold for the $ in the pair's listed assets. For a pair to USDT, that's a volume in USDT. The new form is 0.

  • Allow entry if The volume is greater than the given volume or less than the given volume. By default, the first condition is selected.

When the filter allows action

  • The market volume of the bargain is taken into account for the last bar of the chosen timeframe. It's not the volume of your orders or the balance of your account.

  • A larger set allows action when the sum is not less than the threshold.

  • Before comparing, the sum is given a whole value; a fraction of the volume is not involved in comparison.

Determine the meaning of the parameters

The 60 period means 60 bars. It's only 60 minutes in a minute timeframe. The calculation mode determines whether the current unopened bar is taken into account.

Set the action when you exit the filter

Field When the filter is out refers to the situation when the task stops passing this condition. The new card has the Cancel Cycles option. The form also includes Sell by market and Sell by market with deviation (if indicated).

The filter can also affect a task that is already working: the exit from the condition transmits the selected command. Before you save, check the command's implications for your robot in the Binance or Bybit task description. — Binance tasks — Bybit tasks

Save and verify the task

Save the filter card, then check the rest of the conditions and parameters. Several filters should allow it to move at the same time. The filtering permission itself does not mean that the order has been sent or executed.

If the task mode supports the task without a basic signal, the filters can be involved in its start. So the conditions and the action you choose to take when you exit them should be checked before the robot starts.