Trade symbol format for Equity, Futures and Options?

The most important parameter that one should know while trading through API is the ‘TRADE SYMBOL’. Trade symbol will differ for each segment, you can construct the trade symbol as per the format given below;

1. EQUITY:
For EQUITY series, the trade symbol will be the name of the stock (as per exchange) in upper case.

Example:
Trade symbol for
Axisbank will be AXISBANK
Acc will be ACC

2. FUTURES:
The trade symbol format for FUTURES is

[SYMBOL] [YY] [MMM] FUT

[SYMBOL] = Name of the stock (as per exchange) in upper case like AXISBANK, ACC, ITC etc.
[YY] = A two digit representation of the contract expiry year, like 18, 19 etc.
[MMM] = A short textual (three letters) representation of the contract expiry month in upper case like JAN, FEB, MAR etc.

Example:
Trade symbol of Axisbank for 25-Apr-2019 expiry is
[SYMBOL] = AXISBANK
[YY] = 19
[MMM] = APR

and the trade symbol is AXISBANK19APRFUT

3. OPTIONS (WEEKLY):
The trade symbol format for WEEKLY OPTIONS is

[SYMBOL] [YY] [M] [DD] [STRIKE] [OPT TYPE]

[SYMBOL] = Name of the stock (as per exchange) in upper case like NIFTY, BANKNIFTY etc.
[YY] = A two digit representation of the contract expiry year, like 18, 19 etc.
[M]
For contract expiring in JAN – SEP = A single digit representation of the contract expiry month, like 1-9; 1 for January, 2 for February, 9 for September etc.
For contract expiring in OCT – DEC = First letter of the contract expiry month in upper case; O for October, N for November, D for December.
[DD] = A two digit representation of the contract expiry date, like 01-31.
[STRIKE] = Strike price like 29500, 210 etc
[OPT TYPE] = CE or PE

Example:
Trade symbol of BANKNIFTY Call Option for Strike 29900 and Expiry 04-Apr-2019 is
[SYMBOL] = BANKNIFTY
[YY] = 19
[M] = 4
[DD] = 04
[STRIKE] = 29900
[OPT TYPE] = CE

and the trade symbol is BANKNIFTY1940429900CE

Trade symbol of BANKNIFTY Put Option for Strike 29800 and Expiry 07-Nov-2019 is
[SYMBOL] = BANKNIFTY
[YY] = 19
[M] = N
[DD] = 07
[STRIKE] = 29800
[OPT TYPE] = PE

and the trade symbol is BANKNIFTY19N0729800PE

4. OPTIONS (MONTHLY):
The trade symbol format for MONTHLY OPTIONS is

[SYMBOL] [YY] [MMM] [STRIKE] [OPT TYPE]

The last contract of a month is always MONTHLY OPTION

[SYMBOL] = Name of the stock (as per exchange) in upper case like NIFTY, BANKNIFTY etc.
[YY] = A two digit representation of the contract expiry year, like 18, 19 etc.
[MMM] = A short textual (three letters) representation of the contract expiry month in upper case like JAN, FEB, MAR etc.
[STRIKE] = Strike price like 29500, 210 etc
[OPT TYPE] = CE or PE

Example:
Trade symbol of BANKNIFTY Call Option for Strike 30100 and Expiry 25-Apr-2019 is
[SYMBOL] = BANKNIFTY
[YY] = 19
[MMM] = APR
[STRIKE] = 30100
[OPT TYPE] = CE

and the trade symbol is BANKNIFTY19APR30100CE

Was this article helpful?

Related Articles

2 Comments

  1. Avatar balu

    iam using upstox api, pls tell me how to list of symbols of specified index or stock

    1. Hi Balu,
      Downloaded symbol details are stored in your app folder.
      Refer the below files
      [APP FOLDER]\UpstoxNet\[DDMMMYYYY]\[EXCH].txt

      Replace [APP FOLDER], [DDMMMYYYY] and [EXCH] as required.
      In case of Excel, the app folder is My Documents.

Leave A Comment?