@rajanprabu
Got that, I'll sure try it.
Thank you for your valuable response.
chexki
@chexki
Best posts made by chexki
-
RE: API BUG
Latest posts made by chexki
-
RE: API BUG
@rajanprabu
Got that, I'll sure try it.
Thank you for your valuable response. -
API Bug in order placement
When I try to place SELL order from API example, my order is getting placed.
{
"variety":"NORMAL",
"tradingsymbol":"SBIN-EQ",
"symboltoken":"3045",
"transactiontype":"SELL",
"exchange":"NSE",
"ordertype":"MARKET",
"producttype":"DELIVERY",
"duration":"DAY",
"price":"194.50",
"squareoff":"0",
"stoploss":"0",
"quantity":"1"
}But, when I try to put my stockname & symbol to it. it returns an error "TypeError: 'NoneType' object is not subscriptable"
{
"variety":"NORMAL",
"tradingsymbol":"COALINDIA-EQ",
"symboltoken":"20374",
"transactiontype":"SELL",
"exchange":"NSE",
"ordertype":"MARKET",
"producttype":"DELIVERY",
"duration":"DAY",
"price":"194.50",
"squareoff":"0",
"stoploss":"0",
"quantity":"1"
}This is really a frustrating problem, no proper documentation of errors is present.
Please help & resolve it. ASAP -
API BUG
When I try to place SELL order from API example, my order is getting placed.
{
"variety":"NORMAL",
"tradingsymbol":"SBIN-EQ",
"symboltoken":"3045",
"transactiontype":"SELL",
"exchange":"NSE",
"ordertype":"MARKET",
"producttype":"DELIVERY",
"duration":"DAY",
"price":"194.50",
"squareoff":"0",
"stoploss":"0",
"quantity":"1"
}But, when I try to put my stockname & symbol to it. it returns an error "TypeError: 'NoneType' object is not subscriptable"
{
"variety":"NORMAL",
"tradingsymbol":"COALINDIA-EQ",
"symboltoken":"20374",
"transactiontype":"SELL",
"exchange":"NSE",
"ordertype":"MARKET",
"producttype":"DELIVERY",
"duration":"DAY",
"price":"194.50",
"squareoff":"0",
"stoploss":"0",
"quantity":"1"
}This is really a frustrating problem, no proper documentation of errors is present.
Please help & resolve it. ASAP -
Stoploss
Hello,
I want to place a limit buy order, and if gets placed I want to put a stoploss to it.
The following format is able to place order, but Stoploss & Trigger has not been set.What format should I follow to do the same ?
should I go with ROBO order in such case ?{"variety": "STOPLOSS",
"tradingsymbol": "SBI-EQ",
"symboltoken": "123",
"transactiontype":"BUY",
"exchange": "NSE",
"ordertype": "STOPLOSS_LIMIT",
"producttype": "DELIVERY",
"duration": "DAY",
"price": "500",
"squareoff": "0",
"triggerprice" : "475",
"stoploss": "474",
"quantity": "1"}