GTT order not placing
-
while trying to place the GTT order getting the following error :"'data'",
here is my gtt order place code
try:
gttorderparms={
"tradingsymbol" : "SBIN-EQ",
"symboltoken" : "3045",
"exchange" : "NSE",
"producttype" : "MARGIN",
"transactiontype" : "BUY",
"price" : 100000,
"qty" : 10,
"disclosedqty": 10,
"triggerprice" : 200000,
"timeperiod" : 365
}
rule_id = smartApi.gttCreateRule(gttorderparms)
print(rule_id) ->> trying to print response showing this error: ''data''
except Exception as e:
return format(e)
1 out of 1