¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Re: Python Tws Api Target order


 

I know that yes you can create a bracket order with a "TRAIL LIMIT" buy order, (tip, simply set the buy price to a number much higher than the average price) when the buy order is submitted the trail automatically takes up the slack and starts trailing at the specefied trailing amount....?

As for the take profit and stop limit order, I am still struggling with myself, I would like to have the SELL take profit order automatically priced at say 20% above the fill order price, and stop limit SELL order priced 5% below the fill order price,?

If anyone can show the full code for a bracket order as described above, I would be super super grateful to.
Thank you
Adam

Join [email protected] to automatically receive all group messages.