Using Altrady's Signal Bot with Futures exchanges
Altrady's SIgnal Bot can be used with Futures exchanges, both for Webhook signals and CBS signals.
For the basics of setting up a Signal bot, see the following:
Signal Bot Settings (draft)
Signal Bot: Quick Start Guide
Altrady's Crypto Base Scanner
Webhook and Trading View signals
This article covers aspects of the Signal bot that are specific to Futures accounts.
Basic details can be found in the above articles.
If there is already a position open on the market the bot will not open another position on that market. This applies whether or not the existing position was created by the Signal Bot.
This is set to one and cannot be altered.
The Signal Bot does not allow for a second position to be opened on a market, whether or not the original position was created by the signal bot.
Notes.
Altrady does not yet support hedge mode. This is a planned feature.
A second position in the same direction would effectively increase the position size on the exchange:
As an alternative, the Position size can be increased manually by clicking one of the orders (to open the edit), and +Add Target. An extra entry will be added, for the same value as the most recently filled entry order. Change the positoin size or Buy/Spend amount to adjust the new entry size.
A webhook signal for increasing position size is coming soon.
Choose Isolated or Crossed margin for the positions started by this signal bot
Enter the required leverage value. Note that the Signal Bot is not able to validate the leverage amount since it will vary by market for each exchange.

The leveraged order sizes are shown for the entry orders.
Using 100% balance for the order size will not work on some exchanges due to price fluctuations. This can result in the error: No Entry Orders to Create. Try a smaller order size.


The Crypto Base Scanner signals can be used to open positions using the signal bot.
This functions in the same way as using CBS signals for Spot markets. The only difference is that leverage is applied.
Many traders choose not to use a Stop Loss with CBS-style signals, and instead use deep DCAs, and potentially take over positions manually if they do not recover quickly.
For Futures markets, this decision should be carefully considered so as to avoid liquidation of your positions which is more expensive than reaching a Stop Loss.
The liquidation price is not known when the signal arrives. However, it is possible to estimate where it will be relative to the entry price depending on the chosen leverage. In general, the higher the leverage, the closer the liquidation price will be to the entry price.
However DCAs will also impact the liquidation price--it will move down as the average entry price decreases.
Due to the risk of liquidation, it is recommended that conservative settings are used for a CBS signal bot. For example:
one TP at half median drop
and possibly, TSL: Follow Price to move the SL up as soon as the position moves into profit
low leverage. If higher leverage is used, more monitoring will be needed or a tighter Stop Loss.
The use of webhook signals for Futures markets is mostly the same as for Spot markets.
Both Long and Short signals can be sent, to open a position.
For Futures:
the entry amount is calculated from the amount of quote currency available, and the position size it can fund.
this can be a percentage of the available balance or a fixed amount
Error messages might arrive after a signal is received.
Most error messages are shown in the Signal Bot Error Log.
You can check the contents of the signal by clicking the 'i' next to the market name.
These are some error messages that might appear in the log, specific to Futures markets.
For the basics of setting up a Signal bot, see the following:
Signal Bot Settings (draft)
Signal Bot: Quick Start Guide
Altrady's Crypto Base Scanner
Webhook and Trading View signals
This article covers aspects of the Signal bot that are specific to Futures accounts.
Basic details can be found in the above articles.
If there is already a position open on the market the bot will not open another position on that market. This applies whether or not the existing position was created by the Signal Bot.
Bot Settings Specific to Futures accounts
Maximum Positions per Market
This is set to one and cannot be altered.
The Signal Bot does not allow for a second position to be opened on a market, whether or not the original position was created by the signal bot.
Notes.
Altrady does not yet support hedge mode. This is a planned feature.
A second position in the same direction would effectively increase the position size on the exchange:
As an alternative, the Position size can be increased manually by clicking one of the orders (to open the edit), and +Add Target. An extra entry will be added, for the same value as the most recently filled entry order. Change the positoin size or Buy/Spend amount to adjust the new entry size.
A webhook signal for increasing position size is coming soon.
Margin Type
Choose Isolated or Crossed margin for the positions started by this signal bot
Leverage Amount
Enter the required leverage value. Note that the Signal Bot is not able to validate the leverage amount since it will vary by market for each exchange.

Order Sizes
The leveraged order sizes are shown for the entry orders.
Using 100% balance for the order size will not work on some exchanges due to price fluctuations. This can result in the error: No Entry Orders to Create. Try a smaller order size.


CBS Signal Bots
The Crypto Base Scanner signals can be used to open positions using the signal bot.
This functions in the same way as using CBS signals for Spot markets. The only difference is that leverage is applied.
Stop Losses for Futures markets
Many traders choose not to use a Stop Loss with CBS-style signals, and instead use deep DCAs, and potentially take over positions manually if they do not recover quickly.
For Futures markets, this decision should be carefully considered so as to avoid liquidation of your positions which is more expensive than reaching a Stop Loss.
The liquidation price is not known when the signal arrives. However, it is possible to estimate where it will be relative to the entry price depending on the chosen leverage. In general, the higher the leverage, the closer the liquidation price will be to the entry price.
However DCAs will also impact the liquidation price--it will move down as the average entry price decreases.
Due to the risk of liquidation, it is recommended that conservative settings are used for a CBS signal bot. For example:
one TP at half median drop
and possibly, TSL: Follow Price to move the SL up as soon as the position moves into profit
low leverage. If higher leverage is used, more monitoring will be needed or a tighter Stop Loss.
Webhook Signal Bots
The use of webhook signals for Futures markets is mostly the same as for Spot markets.
Both Long and Short signals can be sent, to open a position.
For Futures:
the entry amount is calculated from the amount of quote currency available, and the position size it can fund.
this can be a percentage of the available balance or a fixed amount
Signal Bot Error Messages
Error messages might arrive after a signal is received.
Most error messages are shown in the Signal Bot Error Log.
You can check the contents of the signal by clicking the 'i' next to the market name.
These are some error messages that might appear in the log, specific to Futures markets.
Example message | Issue |
---|---|
BYBIF code: 130051 message: cannot set leverage [10000] gt maxLeverage [2500] by risk limit -- KUCNF code: 300016 message: The leverage cannot be greater than 20 | Leverage too high |
Max per market | A position is already open on this market (see above) |
Too many positions opened | More positions cannot opened as the limit specified in Max concurrent positions has been reached |
BIFU code: -4003 message: Quantity less than or equal to zero. -- No orders could be placed: exchange: BYBIF code: 35015 message: Qty not in range | Order size is less than the minimum size for the exchange. Note that order minimums are often higher than those for Spot trading. |
No entry orders to create | There is a problem with the size of the entry order. Either too small for the exchange or too large for the account. As above, use < 100% order size. For mimimum order sizes, test an order in the Trading widget, or check the exchange support documentation |
Updated on: 26/06/2023
Thank you!