Trailing stop loss orders and paper trading

I have a couple of questions:

  • Is it possible to place a Cover order which contains a buy market order and a trailing stop loss order? If yes, then what is the python code for this?
  • Can we do paper trading using fyers api?

I couldn’t find the answers in the api documentation. Please help, as I am new to fyers and want to test my strategies before diving into intraday trading. Thank you!

(1) It’s possible but not available as default, you will need to code on your own

(2) Not using Fyers API, but you can use Fyers APIBridge. Paper trading in Fyers APIBridge is 100% free.

You may like to see my post on tradingview vs python https://community.fyers.in/question/hi-can-anyone-who-uses-pine-script-please-explain-me-what-this-below-code-i–5f58edf7d23e99260ca84ca5

I don’t think it’s possible to code a trailing stop loss order. For that I have to run my code almost every few seconds to check if the stop loss is triggered, which is not feasible. Anyways thank you for your reply.

it is feasible by using the websocket order udpate data.

it is feasible by using the websocket order udpate data.

The documentation for the api did not contain the answers. I need your assistance because I’m new to fyers and want to practise my techniques before starting to trade intraday.