When placing a Bracket Order, the values for stop loss trigger and square off price are not being set properly.
For. eg. : Today I was trying with SBIN. Irrespective of what order i place, it always places the values as 243.45 for stoploss, 297.45 for squareoff. I tried this multiple values of stop loss and square off , always its the same above two values.
Possibly some bug ? Or something I am doing wrong?
Public Function PlaceBO ( Exch As String, TrdSym As String, Trans As String, Qty As Integer, LmtPrice As Double, SqOffValue As Double, StoplossValue As Double, Optional TrailValue As Double = 0 ) As String
SqOffValue & StoplossValue should be points not price... You are passing absolute price
SqOffValue & StoplossValue should be points not price...
You are passing absolute price
My bad
Points mean ticks or price difference.
Buy is at 240. If square off is 242, then should it be 2 or 2*20 (20 ticks per 1 rs)
Not ticks
Kite accept points only
Price was constant because it was setting stoploss at lower circuit and target at upper circuit value.
Thanks for replies...