Alerts with JSON data
Instructions on Configuring alerts to receive JSON data with the entry/Sl/TP price. Useful for automated trading.
If you are planning to automate the Trading Using GreenCrypto Indicator then you would require more details in the alerts than just buy and sell. GreenCrypto Indicator supports configuring alerts to receive entry-price, stop-loss and take profit details in the alert message.
​

Configure Alert

You don't need to configure separate alert for buy and sell signals. Single alert configuration will send notification whenever there is a new BUY or SELL signals.
While configuring the alert you need to select "Any alert() function Call" as shown in the below screenshot.

If you need detailed instruction on Configuring the alert please refer the below page till Step-2

Creating alert to receive JSON alert message
Once you configure the alert with the configuration as shown the above message you should receive new signals with the JSON message. Sample LONG/Buy and SHORT/Sell message given below

Sample Sell/SHORT signal

1
{
2
"orderSide": "sell",
3
"ticker": "LTCUSDT",
4
"entryPrice": 154.49,
5
"stopLoss": 154.79,
6
"tp1": 154.19,
7
"tp2": 153.89,
8
"tp3": 153.59,
9
"tp4": 153.29,
10
"tp5": 152.99
11
}
Copied!
​

Sample Buy/LONG signal

1
{
2
"orderSide": "buy",
3
"ticker": "LTCUSDT",
4
"entryPrice": 154.49,
5
"stopLoss": 154.79,
6
"tp1": 154.19,
7
"tp2": 153.89,
8
"tp3": 153.59,
9
"tp4": 153.29,
10
"tp5": 152.99
11
}
Copied!
Last modified 2mo ago
Copy link