OCO Order implementation

I am trying to incorporate Take profit and Stop Loss in RL algo, and implmeting it from scratch is going to a big task.  Are their any libaries in Python that can be used?



thanks

Hi Bhupinder,



I am not aware of any pre-built packages which would help you implement take profit and stop loss criteria in RL.



When you are implementing it, you can consider adding take profit and stop loss criteria to your environment as variables and then check every episode.



Hope this helps!