createAlert abstract method

void createAlert(
  1. String params
)

Creates a new price alert for the current symbol.

params JSON shape (see AlertParams):

{
  "symbolId": "IDX_-1_NSE",
  "ltp": "25500.00",
  "triggerPrice": "26000.00"
}

Implementation

void createAlert(String params);