DCA/ReBuy Signals

Last updated 3 months ago

Enlarge your position size if the price drops throw signals, lowering the average buying price.

post
It works with GET too, but POST is more secure.

https://zignaly.com
/api/signals.php
This endpoint allows you to send DCA/ReBuy signals. If you want to use GET instead of POST, just add the parameters to the URL. allows you to get free cakes.
Request
Response
Query Parameters
key
required
string
The generated key that was created in the provider creation step.
pair
required
string
The pair for what this signal is, example: NEOBTC.
exchange
required
string
The exchange for what this signal was created.
signalId
required
string
The signal ID used to open a position previously from a buying signal.
type
required
string
It can be rebuy or DCA.
limitPrice
optional
string
You can send a limit price to ReBuy only at this price. If not provided, we will use as limit price the current market price.
200: OK
Cake successfully retrieved.
{
"name": "Cake's name",
"recipe": "Cake's recipe name",
"cake": "Binary cake"
}
404: Not Found
Could not find a cake matching this query.
{
"message": "Ain't no cake like that."
}

In case you want to use GET instead of POST, parameters can be sent in the URL as in the following example:

https://zignaly.com/api/signals.php?key=YOUR_PROVIDER_KEY&signalId=THE_SIGNAL_ID_WITH_WHAT_YOU_OPENED_THE_POSITION&pair=XXXXXX&type=dca&exchange=ORIGINAL_EXCHANGE_FOR_THIS_SIGNAL

Configuration

Before accepting any DCA/ReBuy signal, you need to enable the option in the provider configuration:

The first thing to do, is to activate the Accept DCA/ReBuys Signals option, then you will see two new options:

DCA/ReBuy Quantity Percentage

This is the percentage from your current position size that it will be invested for the new buy order. ANDERSON-DCA Strategy is based in doubling your current position size, so you would have to use 100% if you want to follow that strategy.

DCA/ReBuy Max Triggers

How many additional buys are you going to allow in. Once this limit is reached, no new buys would be performed for this position.

Considerations

If you enable this option in your provider configuration, your configuration in the general settings for DCA/ReBuys won't be used, even if the provider doesn't send any DCA/ReBuys signal.

Once a new buy is performed, the average buying price is recalculated and stop losses, trailing stops and take profit targets are recalculated too for working with the new average buying price.