Description
sas.place_order(transaction_type=TransactionType.Buy,
#instrument=sas.get_instrument_by_symbol(n_call.exchange,n_call.symbol),
instrument=sas.get_instrument_by_symbol('NFO', 'BANKNIFTY MAY 49300.0 CE'),
quantity=15,
order_type=OrderType.StopLossLimit,
product_type=ProductType.BracketOrder,
price=float(400),
trigger_price=float(400),
stop_loss=float(380),
square_off=float(420),
trailing_sl=None,
is_amo=False)
##########################################################
Traceback (most recent call last):
File C:\ProgramData\Anaconda3\lib\site-packages\spyder_kernels[py3compat.py:356](https://py3compat.py:356/) in compat_exec
exec(code, globals, locals)
File c:\users\vikash.spyder-py3\bank[untitled4.py:43](https://untitled4.py:43/)
sas.place_order(transaction_type=TransactionType.Buy,
File C:\ProgramData\Anaconda3\lib\site-packages\alphatrade[alphatrade.py:687](https://alphatrade.py:687/) in place_order
return self.__api_call_helper(helper, Requests.POST, None, order)
File C:\ProgramData\Anaconda3\lib\site-packages\alphatrade[alphatrade.py:1086](https://alphatrade.py:1086/) in __api_call_helper
raise requests.HTTPError(response.text)
HTTPError: {"data":{},"error_code":44000,"message":"product can't be blank","status":"error"}