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

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

{
	"orderSide": "sell",
	"ticker": "LTCUSDT",
	"entryPrice": 154.49,
	"stopLoss": 154.79,
	"tp1": 154.19,
	"tp2": 153.89,
	"tp3": 153.59,
	"tp4": 153.29,
	"tp5": 152.99
}

Sample Buy/LONG signal

{
	"orderSide": "buy",
	"ticker": "LTCUSDT",
	"entryPrice": 154.49,
	"stopLoss": 154.79,
	"tp1": 154.19,
	"tp2": 153.89,
	"tp3": 153.59,
	"tp4": 153.29,
	"tp5": 152.99
}

Last updated