Position-leg SL can't ratchet above entry, Smart Trail orders invisible on app & orderbook search bug

Two issues experienced across Fyers’ two SL/TP mechanisms:

1. Position legs — SL rejected above entry - Tried ratcheting a protective SL above entry (locking in profit on a running trade) via the Set/Modify Stop Loss endpoint. Rejected both times: stopLoss: Must be greater than or equal to 0. TP ratchets fine in either direction, only SL seems forced to a positive offset below entry. Yet the Fyers app’s own position dragger let us set a stop above entry directly, and it worked.

Is there an API way to place SL above entry (different param/legType), or is this only possible via the app?

Request - If this is a deliberate API restriction, could it be relaxed to allow ratcheting the SL above entry on the position-legs mechanism, matching what the app already allows via its dragger? This is a common and useful pattern (locking in profit as a trade runs) and right now it’s only reachable manually.

2. Smart Trail (create_smart_order_trail)

  • No visible marker on the app for an open Smart Trail order — legs show a dragger on the position row, Smart Trail shows nothing we can find. Only way to confirm it exists is calling the API back.
  • smart_orderbook_with_filter with a search param drops real matches: {'flowtype':[6],'search':'NSE:NIFTY26N0322800CE'} → {"orderBook": [], "count": 3}. 3 matches reported, 0 returned.
  • pause_smart_order appears asynchronous — a status:ok reply is sometimes an “accepted” ack rather than a confirmed state change: an immediate follow-up modify/resume call can get rejected with “must be paused,” even though the pause itself later succeeds. We’ve worked around it with a short retry loop, and it now works reliably.

Is Smart Trail surfaced anywhere on the app UI? What format does search expect? Is the ack-before-settle pause behavior expected/documented, and is there a way to poll for confirmed pause/resume state instead of retrying on rejection?