Publisher button gives an error

prashantd
prashantd edited June 2019 in Kite Publisher
Hi,
I am trying to create the following button:
<button data-kite="xxxxxxxxxxxxxxx"
data-exchange="NSE"
data-tradingsymbol="PE"
data-transaction_type="BUY"
data-quantity="75"
data-order_type="LIMIT"
data-variety="bo"
data-product="MIS"
data-price="20.5"
data-stoploss="5"
data-squareoff="10"
data-trailing_stoploss="1"
>Buy NIFTY PE (Bracket Order)</button>
<script src="https://kite.trade/publisher.js?v=3"></script>

The button appears however I get the following error on the Kite page:
{"status":"error","message":"No valid orders found in payload.","data":null,"error_type":"InputException"}

Thanks in advance for any help you can provide.
Sign In or Register to comment.