gtt_create: Function to create Gtt rules

View source: R/api_calls.R

gtt_createR Documentation

Function to create Gtt rules

Description

Function to create Gtt rules

Usage

gtt_create(
  object,
  tradingsymbol,
  symboltoken,
  exchange,
  producttype,
  transactiontype,
  price,
  quantity,
  disclosedqty,
  triggerprice,
  timeperiod
)

Arguments

object

An object of type smart connect

tradingsymbol

Trading Symbol of the instrument.

symboltoken

Symbol token

exchange

Exchange for the order, e.g. NSE, NFO, CDS etc.

producttype

Product type, e.g. MIS, NRML, CNC, BO or CO.

transactiontype

BUY or SELL.

price

New Price (e.g. for limit orders).

quantity

New quantity.

disclosedqty

Disclosed Quantity

triggerprice

Trigger Price

timeperiod

Time Period.

Value

Returns a rule id, if successful.


angelbroking-github/smartapi-r documentation built on March 30, 2022, 8:04 a.m.