I need someone to write an api/algo for me.
It will be in tdameritrade thinkorswim. I want to buy a stock if it goes up by a certain percentage/$ amount above whatever it starts out at market open, with a certain stop loss and profit exit attached to the order, and to short it if it goes down by the same amount, with the same stop loss and profit exit.
And I want whichever order that triggers first to cancel out the other one
Can any of you do this for me, or know someone who can?