Guide for Service Providers
Zignaly accepts different types of signals, and also, different ways to send them.
Before sending any signal, you need to create a provider and get the key from it.
Go to your provider page,
In the edit tab you will find your key in the SignalURL (key=)
- It's important that you don't share this key with anybody because it controls your service (sending buy/sell orders to the exchange)
3 ways to send Signals to Zignaly
Signals can be sent by sending an email to signals (at) zignaly (dot) email
There are two different formats for composing the email:
One parameter per line
key = YOURSECRETKEY
Parameters separated by ||
Note the starting || and ending ||, that's to be sure the email doesn't add anything to the first or last parameter.
- With both formats, any parameter that is not recognized will be ignored.
Also, the system doesn't use the subject for anything.
API: endpoint GET / POST
- Endpoint GET
The endpoint URL is:
Using the GET method, you need to add the parameters to the URL, as in the following example:
*Visiting the previous URL (with your own provider's key), it will send a signal automatically, so be careful where you copy it.
You will need to enter your provider key, and give this signal a unique ID
If you enter this into your browser address bar, it will send a signal automatically.
In this example the buy signal I entered opened my position, I can now view it on Zignaly in my open positions:
*For Copytraders, you would need to add ‘positionSizePercentage’ This will open the position with the percentage of the allocated balance
The GET method is less secure than the POST because the parameters (including your secret key) are in the URL visible to everybody that can intercept it.
*check the HTTP code error. If you get 200, then everything is OK
- Endpoint POST
This works exactly as the GET method above, only the parameters will be sent as post data instead of URL parameters.
The URL is the same:
The parameters will go as JSON example:
The endpoint doesn't return anything visible, just the HTTP status code. If you get 200, then everything is OK, if not, check the HTTP code error
Connect your TradingView account with Zignaly.
- Alerts syntax example
- Link your TradingView
1) Alert syntax example
This is an example of a basic alert to send us a buy signal from your TradingView account. In JSON format:
The signalId is optional (only required if you are gonna send sell signals later).
It's important that the signalId matches the signalId of a previous entry signal.
- Optionally, you can add a lot more parameters within the alerts. Check all the available options in our SIGNALS document.
2) Link your TradingView
In order to link your TradingView account to Zignaly you need to use the Webhook URL option in your TradingView alert box. Check the option and enter our signal endpoint: https://zignaly.com/api/signals.php
- If the webhook is not working, it is most likely because the syntax is wrong.
You can't insert anything other than the json (no title or extra parameter)
If you need to insert something, add it as a field:value inside the json.
- Here is a good resource recommended by the community to check
your json format: https://jsonformatter.curiousconcept.com/