Python code for buying and sell with stop loss and target

Can anyone help me to get this code with example of api and sessions key

i need python code for buy and sell with stop loss and target to avoid the psychology trading by manually

Hi @mail.baluv-393 ,

Please follow the documentation for order placement api : https://myapi.fyers.in/docs#tag/Order-Placement/paths/~1OthePlacement/get

Order placement guide : https://myapi.fyers.in/docs#tag/Order-Placement-Guide/Order-Types

Sir i need python based algo trading system where did i get these?

@Nouqi6u4R6 Please follow the given documentation , and integrate it with python

https://myapi.fyers.in/docsv3

Github repo : https://github.com/FyersDev/fyers-api-sample-code/tree/sample_v3/v3