Skip to main content

Annexure

πŸ“Š Exchange Segment IDs​

IDSegmentDescription
1NSE CASHNSE Cash / Equity segment
2BSE CASHBSE Cash / Equity segment
3MSE CASHMSE Cash / Equity segment
17ALL CASHAll exchanges β€” Cash segment
4NSE FNONSE Futures & Options segment
5BSE FNOBSE Futures & Options segment
6MSE FNOMSE Futures & Options segment
18ALL FNOAll exchanges β€” F&O segment
7NSE CURRNSE Currency derivatives
8BSE CURRBSE Currency derivatives
9MSE CURRMSE Currency derivatives
19ALL CURRAll exchanges β€” Currency segment
10MCXMulti Commodity Exchange
11NCDEXNational Commodity & Derivatives Exchange
12ICEXIndian Commodity Exchange
13NSE COMMNSE Commodity segment
14BSE COMMBSE Commodity segment
20ALL COMMAll exchanges β€” Commodity segment
21ALL MFAll Mutual Funds
15NSE OFSNSE Offer for Sale
16BSE OFSBSE Offer for Sale
22ALL OFSAll exchanges β€” OFS
23ALL IPOAll IPOs
99ALLAll segments across all exchanges

βš™οΈ Operation Codes​

CodeRelevance
100Add
101Update
102Delete

πŸ“Ÿ Entity Types​

IDEntity Type
1Retail Investor
2Institutional Investor
4Family
8Dealer
16Franchisee
32PRO
64Branch
128Zone
256Admin
512Member

πŸ”£ Entity Sub Types​

IDEntity Sub Type
1NRI
2BANK
4FII
8DFI
16SPLCLI
32QFI
64MF
128INS
256CLI
512NPS
1024FPI CAT 1
2048FPI CAT 2
4096FPI CAT 3
8192MAIN
16384MEMBER
32768PRO

πŸ‘€ Entity Profiles​

IDEntity Profile
1Retail
2HNI
3NRI
4Franchisee Client
5Branch Client
6Direct Client
7Profile 2
8Profile 3
9Profile 4
10Profile 5

πŸ”˜ Entity States​

IDEntity State
1Normal
2PAN Barred
3SEBI Barred
4Ledger Debit
5Ageing Debit
6Funding Debit
7KYC Issue
8Inactive
9Suspended
10State 4

πŸ“Ά Entity Status​

IDEntity Status
1Active
2Suspended
3Inactive

πŸ“œ PoA Approved​

IDPoA Approved
1Active
2Inactive

🧺 Holding Types​

IDHolding
1DP
2Pledge
3Approved Scrips
4T5
5MTF Position
6LAS
7MF

🧺 Deposit Types​

info

Deposit type names are configurable and can be renamed to suit your organization's terminology. The IDs remain constant regardless of the display name.

IDDeposit
1Cash Deposit
2Adhoc Deposit
3Misc Deposit
4Notional Deposit
5Manual Deposit
6Uncleared Cheque
7Deposit 3
8Deposit 4
9Deposit 5
10Deposit 6
11Deposit 7
12Deposit 8
13Deposit 9
14Fund Payin
15Fund Payout
16Deposit 10
17Deposit 11
18Deposit 12
19Deposit 13
20Deposit 14
21Deposit 15
22Deposit 16
23Deposit 17
24Deposit 18
25Deposit 19

πŸ“¦ Product Types​

IDProduct Type
1Margin
2Delivery
3PTST
4MTF
5Margin Plus
6Bracket Order
7Intraday
8Carryforward

πŸ› οΈ Instrument Types​

IDInstrument Type
1Underlying
102Future
103Option

⏳ Expiry Types​

IDExpiry Type
999All Expiry
1001Near Expiry
1002Far Expiry

πŸ€– Algo Flags​

IDAlgo Flag
1Algo
2Non-Algo

πŸ•’ Validity Types​

IDValidity Type
1Max
0Min

🧾 Contract Types​

IDContract Type
0For Equity
1Monthly
2Weekly

πŸ—ΊοΈ Mapping Types​

IDMapping Type
1Entity Wise
2Entity Profile Wise
3Entity Type Wise

🧱 Template Types​

IDTemplate Type
1Entity Wise
2Entity Profile Wise
3Entity Type Wise

🧱 QVL Levels​

IDQVL Level
1Underlying Level
2Contract Level
3Series Level
4Instrument Level

πŸ“ QVL Rules​

IDQVL Rule
1Gross Value
2Buy Gross Value
3Sell Gross Value
4Turnover (Value)
5Buy Turnover (Value)
6Sell Turnover (Value)
7Net Value
8Net Buy Value
9Net Sell Value
10Total Buy Quantity
11Total Sell Quantity
12Total Quantity
13Net Buy Quantity
14Net Sell Quantity
15Net Quantity
16Maximum Single Quantity
17Maximum Single Transaction Value
18Minimum Single Quantity
19Minimum Single Transaction Value
20Pending Order Value
21Pending Buy Order Value
22Pending Sell Order Value
23Gross Buy Quantity (n % of Issued Capital)
24Gross Sell Quantity (n % of Issued Capital)
45Sentimental Value

🎚️ SBR Level​

IDSBR Level
1Contract
2Series

🏷️ SBR Flags​

All SBR flags follow the same boolean convention unless noted otherwise.

Flag01
SellExpPosSqoffOffOn
FreshBuyOffOn
RolloverOffOn
BuyIntPosSqoffOffOn
DMABuyOffOn
SellInt Pos SqoffOffOn
DMASellOffOn
BuyExpPosSqoffOffOn

πŸ”“ Operations Allowed in Upload Flexi​

1. πŸ”’ Banned Scrip Master​

info

No operation code required. Only ExchangeId and Symbol are specified in the CSV.

2. βœ‚οΈ Haircut Template​

OperationCodeDescriptionUploaded ValueOutput
ADD100Adds the record1010
UPDATE101Updates the record2020
DELETE102Removes the recordβ€”β€”

3. 🧺 Scrip Basket Restricted​

OperationCodeDescriptionUploaded ValueOutput
ADD100Adds the record1010
UPDATE101Updates the record2020
DELETE102Removes the recordβ€”β€”

4. βš–οΈ Scrip Basket Margin​

OperationCodeDescriptionUploaded ValueOutput
ADD100Adds the record1010
UPDATE101Updates the record2020
DELETE102Removes the recordβ€”β€”

5. πŸ“š Entity Master​

OperationCodeDescriptionUploaded ValueOutput
ADD100Adds the record1010
UPDATE101Updates the record2020
DELETE102Removes the recordβ€”β€”

6. πŸ“š Entity Wise Deposit​

OperationCodeDescriptionUploaded ValueOutput
ADD100Adds the record1010
APPEND100Appends the record2030
UPDATE101Updates the record if combination exists55
DELETE102Keeps the record as it is; values in JSON are reset to 0β€”0
info

ADD and APPEND share the same operation code 100. The distinction is determined by whether the record already exists.

7. πŸ”— Template Mapping​

OperationCodeDescriptionUploaded ValueOutput
ADD100Adds the record1010
UPDATE101Updates the record2020
DELETE102Removes the recordβ€”β€”

8. 🧍 Entity Level Direct Restriction​

OperationCodeDescriptionUploaded ValueOutput
ADD100Adds the record1010
UPDATE101Updates the record2020
DELETE102Removes the recordβ€”β€”

9.🧍 Position Limit​

OperationCodeDescriptionUploaded ValueOutput
ADD100Adds the record1010
UPDATE101Updates the record2020
DELETE102Removes the recordβ€”β€”

10. πŸ“€ Holding Upload​

OperationCodeDescriptionUploaded ValueOutput
ADD100Adds the record1010
APPEND100Appends the record2030
UPDATE101Updates the record if combination exists55
DELETE102Removes the recordβ€”β€”
info

ADD and APPEND share the same operation code 100. The distinction is determined by whether the record already exists.

11. πŸ“ Manual Position Upload​

warning

UPDATE (101) is not supported for Manual Position Upload. Use ADD (100) to both add new records and append values to existing ones.

OperationCodeDescriptionUploaded ValueOutput
ADD100Adds the record1010
ADD100Appends values to the same record2030
DELETE102Reduces values in the same record525

12. πŸ“„ MTF Approved ISIN​

info

No operation code required. Only ExchangeId and Symbol are specified in the CSV.

13. πŸ’Έ Brokerage Template​

OperationCodeDescriptionUploaded ValueOutput
ADD100Adds the record1010
UPDATE101Updates the record2020
DELETE102Removes the recordβ€”β€”

14. πŸ“ Brokerage Schema​

OperationCodeDescriptionUploaded ValueOutput
ADD100Adds the record1010
UPDATE101Updates the record2020
warning

DELETE (102) is not supported for Brokerage Schema.

15. πŸ“ QVL​

OperationCodeDescriptionUploaded ValueOutput
ADD100Adds the record1010
UPDATE101Updates the record2020
DELETE102Removes the recordβ€”β€”