getting order margin for "NIFTY22MAYFUT" using CNC

Prvnkmr
Please see my below request:
order_param_single = [{
"exchange": "NFO",
"tradingsymbol": "NIFTY22MAYFUT",
"transaction_type": "BUY",
"variety": "regular",
"product": "CNC",
"order_type": "MARKET",
"quantity": 50
}]
order_param_single = pd.DataFrame(order_param_single)
self.client.order_margins(order_param_single.to_dict('records')))
and i get this error message : "in exception error computing margins: error getting rmscore: {NSE-FNO CNC} rmscore not loaded"

Note: This is not happening when i give "MIS" in place of "CNC" in order_param_single. Please tell me if i can use "MIS" to calculate the margin and place a "CNC" order. Will there be any error in margin calculation?
  • SRIJAN
    Why don't you learn stock market and basic trading before algo trading???
  • Prvnkmr
    ok please tell me if the order margin api has the provision to take "CNC" as product type if exchange is "NFO".
  • SRIJAN
    Why don't you search on internet on how to use 'CNC' on 'NFO' ?? :D
  • sujith
    @Prvnkmr,
    Kite Connect supports NRML and MIS product types for F&O trading. CNC(cash-n-carry) is only for equity which indicates user wants to take delivery.
Sign In or Register to comment.