General Instructions
General Instructions
Steps to Generate Access Token
Steps to Generate Access Token
Order Management API
Order Management API

Trading

Limits

GET LIMITS

 DESCRIPTION

Allows you to get limits details

 URL

<protocol>://<domain name>/kb//Limits/GetLimits

 INPUT

S no. Parameter Description Mandatory/Comments
1 Uid User Id Yes
2 Actid Account Id(User Id) Yes
3 Prd Product,
Possible Values:
C: Delivery
M: Margin
H: Cover Order
I: Intraday
B: Bracket Order
F: MTF
No
4 Exch Exchange ,
Possible Values:
NSE ,
NFO ,
BSE ,
MCX ,
CDS ,
NCX ,
BFO ,
and BCD .
No

SAMPLE



{
  "Uid": "DEMO",
  "Actid": "DEMO",
  "Prd": null,
  "Exch": null
}

RESPONSE

S.No. Parameter Description
1 ResponseId Response Id
2 ResponseMessage Response Message
3 Data It contains the data of the response, such as the status of the request, request time, etc.

DATA

S.No.ParameterDescription
1Stat Status,
Possible Values:
'Ok',
'Not_Ok'.
2ActidAccount id
3PrdProduct name
4SegSegment - CM / FO / FX
5ExchExchange,
Possible Values: NSE ,
NFO ,
BSE ,
MCX ,
CDS ,
NCX ,
BFO ,
and BCD .
Cash Primary Fields
6CashCash Margin available
7PayinTotal Amount transferred using Payins today
8PayoutTotal amount requested for withdrawal today
Cash Additional Fields
9BrkcollamtPrevalued Collateral Amount
10UnclearedcashUncleared Cash (Payin through cheques)
11DaycashAdditional leverage amount / Amount added to handle system errors - by broker.
Margin Utilized
12MarginusedTotal margin / fund used today
13MtomcurperMtom current percentage
Margin Used components
14CbuCAC Buy used
15CscCAC Sell Credits
16RpnlCurrent realized PNL
17UnmtomCurrent unrealized mtom
18MarprtCovered Product margins
19SpanSpan used
20ExpoExposure margin
21PremiumPremium used
22VarelmVar Elm Margin
23GrexpoGross Exposure
24Greexpo_dGross Exposure derivative
25ScripbskmarScrip basket margin
26AddscripbskmrgAdditional scrip basket margin
27BrokerageBrokerage amount
28CollateralCollateral calculated based on uploaded holdings
29GrcollValuation of uploaded holding pre haircut
Additional Risk Limits
30TurnoverlmtTurn over limit
31PendordvallmtPending order limit
Additional Risk Indicators
32TurnoverTurnover
33PendordvalPending Order value
Margin used detailed breakup fields
34Rzpnl_e_iCurrent realized PNL (Equity Intraday)
35Rzpnl_e_mCurrent realized PNL (Equity Margin)
36Rzpnl_e_cCurrent realized PNL (Equity Cash n Carry)
37Rzpnl_d_iCurrent realized PNL (Derivative Intraday)
38Rzpnl_d_mCurrent realized PNL (Derivative Margin)
39Rzpnl_f_iCurrent realized PNL (Derivative Margin)
40Rzpnl_f_mCurrent realized PNL (FX Margin)
41Rzpnl_c_iCurrent realized PNL (Commodity Intraday)
42Rzpnl_c_mCurrent realized PNL (Commodity Margin)
43Uzpnl_e_iCurrent unrealized MTOM (Equity Intraday)
44Uzpnl_e_mCurrent unrealized MTOM (Equity Margin)
45Uzpnl_e_cCurrent unrealized MTOM (Equity Cash n Carry)
46Uzpnl_d_iCurrent unrealized MTOM (Derivative Intraday)
47Uzpnl_d_mCurrent unrealized MTOM (Derivative Margin)
48Uzpnl_f_iCurrent unrealized MTOM (FX Intraday)
49Uzpnl_f_mCurrent unrealized MTOM (FX Margin)
50Uzpnl_c_iCurrent unrealized MTOM (Commodity Intraday)
51Uzpnl_c_mCurrent unrealized MTOM (Commodity Margin)
52Span_d_iSpan Margin (Derivative Intraday)
53Span_d_mSpan Margin (Derivative Margin)
54Span_f_iSpan Margin (FX Intraday)
55Span_f_mSpan Margin (FX Margin)
56Span_c_iSpan Margin (Commodity Intraday)
57Span_c_mSpan Margin (Commodity Margin)
58Expo_d_iExposure Margin (Derivative Intraday)
59Expo_d_mExposure Margin (Derivative Margin)
60Expo_f_iExposure Margin (FX Intraday)
61Expo_f_mExposure Margin (FX Margin)
62Expo_c_iExposure Margin (Commodity Intraday)
63Expo_c_mExposure Margin (Commodity Margin)
64Premium_d_iOption premium (Derivative Intraday)
65Premium_d_mOption premium (Derivative Margin)
66Premium_f_iOption premium (FX Intraday)
67Premium_f_mOption premium (FX Margin)
68Premium_c_iOption premium (Commodity Intraday)
69Premium_c_mOption premium (Commodity Margin)
70Varelm_e_iVar Elm (Equity Intraday)
71Varelm_e_mVar Elm (Equity Margin)
72Varelm_e_cVar Elm (Equity Cash n Carry)
73Marprt_e_hCovered Product margins (Equity High leverage)
74Marprt_e_bCovered Product margins (Equity Bracket Order)
75Marprt_d_hCovered Product margins (Derivative High leverage)
76Marprt_d_bCovered Product margins (Derivative Bracket Order)
77Marprt_f_hCovered Product margins (FX High leverage)
78Marprt_f_bCovered Product margins (FX Bracket Order)
79Marprt_c_hCovered Product margins (Commodity High leverage)
80Marprt_c_bCovered Product margins (Commodity Bracket Order)
81Scripbskmar_e_iScrip basket margin (Equity Intraday)
82Scripbskmar_e_mScrip basket margin (Equity Margin)
83Scripbskmar_e_cScrip basket margin (Equity Cash n Carry)
84Addscripbskmrg_d_iAdditional scrip basket margin (Derivative Intraday)
85Addscripbskmrg_d_mAdditional scrip basket margin (Derivative Margin)
86Addscripbskmrg_f_iAdditional scrip basket margin (FX Intraday)
87Addscripbskmrg_f_mAdditional scrip basket margin (FX Margin)
88Addscripbskmrg_c_iAdditional scrip basket margin (Commodity Intraday)
89Addscripbskmrg_c_mAdditional scrip basket margin (Commodity Margin)
90Brkage_e_iBrokerage (Equity Intraday)
91Brkage_e_mBrokerage (Equity Margin)
92Brkage_e_cBrokerage (Equity CAC)
93Brkage_e_hBrokerage (Equity High Leverage)
94Brkage_e_bBrokerage (Equity Bracket Order)
95Brkage_d_iBrokerage (Derivative Intraday)
96Brkage_d_mBrokerage (Derivative Margin)
97Brkage_d_hBrokerage (Derivative High Leverage)
98Brkage_d_bBrokerage (Derivative Bracket Order)
99Brkage_f_iBrokerage (FX Intraday)
100Brkage_f_mBrokerage (FX Margin)
101Brkage_f_h(FX High Leverage)
102Brkage_f_bBrokerage (FX Bracket Order)
103Brkage_c_iBrokerage (Commodity Intraday)
104Brkage_c_mBrokerage (Commodity Margin)
105Brkage_c_hBrokerage (Commodity High Leverage)
106Brkage_c_bBrokerage (Commodity Bracket Order)
107Request_timeResponse received time
108Emsg Message is a small remark.

SAMPLE



{
  "StatusCode": 200,
  "Message": "Request successful.",
  "IsError": false,
  "ResponseException": null,
  "Result": {
    "ResponseId": 1,
    "ResponseMessage": null,
    "Data": {
      "Stat": "Ok",
      "Actid": null,
      "Prd": null,
      "Seg": null,
      "Exch": null,
      "Cash": "0.00",
      "Payin": "0.00",
      "Payout": "0.00",
      "Brkcollamt": "0.00",
      "Unclearedcash": "0.00",
      "Daycash": "0.00",
      "Marginused": null,
      "Mtomcurper": null,
      "Cbu": null,
      "Csc": null,
      "Rpnl": null,
      "Unmtom": null,
      "Marprt": null,
      "Span": null,
      "Expo": null,
      "Premium": null,
      "Varelm": null,
      "Grexpo": null,
      "Greexpo_d": null,
      "Scripbskmar": null,
      "Addscripbskmrg": null,
      "Brokerage": null,
      "Collateral": null,
      "Grcoll": null,
      "Turnoverlmt": "8888888888888.00",
      "Pendordvallmt": "8888888888888.00",
      "Turnover": null,
      "Pendordval": null,
      "Rzpnl_e_i": null,
      "Rzpnl_e_m": null,
      "Rzpnl_e_c": null,
      "Rzpnl_d_i": null,
      "Rzpnl_d_m": null,
      "Rzpnl_f_i": null,
      "Rzpnl_f_m": null,
      "Rzpnl_c_i": null,
      "Rzpnl_c_m": null,
      "Uzpnl_e_i": null,
      "Uzpnl_e_m": null,
      "Uzpnl_e_c": null,
      "Uzpnl_d_i": null,
      "Uzpnl_d_m": null,
      "Uzpnl_f_i": null,
      "Uzpnl_f_m": null,
      "Uzpnl_c_i": null,
      "Uzpnl_c_m": null,
      "Span_d_i": null,
      "Span_d_m": null,
      "Span_f_i": null,
      "Span_f_m": null,
      "Span_c_i": null,
      "Span_c_m": null,
      "Expo_d_i": null,
      "Expo_d_m": null,
      "Expo_f_i": null,
      "Expo_f_m": null,
      "Expo_c_i": null,
      "Expo_c_m": null,
      "Premium_d_i": null,
      "Premium_d_m": null,
      "Premium_f_i": null,
      "Premium_f_m": null,
      "Premium_c_i": null,
      "Premium_c_m": null,
      "Varelm_e_i": null,
      "Varelm_e_m": null,
      "Varelm_e_c": null,
      "Marprt_e_h": null,
      "Marprt_e_b": null,
      "Marprt_d_h": null,
      "Marprt_d_b": null,
      "Marprt_f_h": null,
      "Marprt_f_b": null,
      "Marprt_c_h": null,
      "Marprt_c_b": null,
      "Scripbskmar_e_i": null,
      "Scripbskmar_e_m": null,
      "Scripbskmar_e_c": null,
      "Addscripbskmrg_d_i": null,
      "Addscripbskmrg_d_m": null,
      "Addscripbskmrg_f_i": null,
      "Addscripbskmrg_f_m": null,
      "Addscripbskmrg_c_i": null,
      "Addscripbskmrg_c_m": null,
      "Brkage_e_i": null,
      "Brkage_e_m": null,
      "Brkage_e_c": null,
      "Brkage_e_h": null,
      "Brkage_e_b": null,
      "Brkage_d_i": null,
      "Brkage_d_m": null,
      "Brkage_d_h": null,
      "Brkage_d_b": null,
      "Brkage_f_i": null,
      "Brkage_f_m": null,
      "Brkage_f_h": null,
      "Brkage_f_b": null,
      "Brkage_c_i": null,
      "Brkage_c_m": null,
      "Brkage_c_h": null,
      "Brkage_c_b": null,
      "Request_time": "16:24:56 31-08-2022",
      "Emsg": null
    }
  }
 }