trying to place GTT order but it showing data error error: 'data'
here is the screen shot please check and let me know as soon as possible
@admin please reply
T
theertha
@theertha
0
Reputation
3
Posts
1
Profile views
0
Followers
0
Following
Best posts made by theertha
This user hasn't posted anything yet.
Latest posts made by theertha
-
not able to place GTT order
-
not able to place GTT order
trying to place GTT order but i am getting data error
-
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)