Hi,
I'm new to trading and quantopian...But I do find it interesting and became a hobby for me at least for the last couple weeks....As I'm learning how to trade and use algos I stumbled with one step: Have 2 stocks that I want to order with a stop limit price since my algo needs both (Long one and short the other at the same time) . To get the orders tighter I introduced the stop limit orders to buy/short at the price that I want...Problem I got into is one order get filled and the other doesn't (Since price does not hit) doesn't happen all the times...So need either to execute both or none. I thought about order and cancel if prev does not get filled but not sure how that will work out...Any ideas will be great.
Thanks in advance