Error with trailing stoploss in Python API

ferdinand.sousa
ferdinand.sousa edited December 2016 in Python client
I get the below traceback when placing a bracket order:

Traceback (most recent call last):
File "", line 1, in
upb('TATASTEEL',2.15)
File "C:\Users\soft-koushik\Desktop\ZKC\autotrade.py", line 73, in upb
one_way(sym,qty,'b','b',target)
File "C:\Users\soft-koushik\Desktop\ZKC\autotrade.py", line 128, in one_way
tag="AT")
File "C:\Python27\lib\site-packages\kiteconnect\__init__.py", line 278, in order_place
return self._post("orders.place", params)["order_id"]
File "C:\Python27\lib\site-packages\kiteconnect\__init__.py", line 459, in _post
return self._request(route, "POST", params)
File "C:\Python27\lib\site-packages\kiteconnect\__init__.py", line 542, in _request
raise(exp(data["message"], code=r.status_code))
OrderException: Trailing Tick should be multiple of tick size 0.05

This was for TATASTEEL placed today morning (8-Dec-2016). First, an order with a trailing stoploss of 1.1 gave the above error. Then, an order with a trailing stoploss of 1.2 went through.
Please can you let me know what is the issue here?
  • sujith
    Hi @ferdinand.sousa,
    Thank you for notifying. We have forwarded this to concerned team. We will get back to you about this.
Sign In or Register to comment.