gtt_create | R Documentation |
Function to create Gtt rules
gtt_create( object, tradingsymbol, symboltoken, exchange, producttype, transactiontype, price, quantity, disclosedqty, triggerprice, timeperiod )
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. |
Returns a rule id, if successful.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.