If I long stock A with $100, I'd like to buy more A with unrealized profits if A>$103, and if A >$106, I will buy more A again. Assuming I always do a order_target_percent(A,1.0). I tried to record the last trading value of A every time I buy A. Then I realized if there's a stock split with A, my method won't work. Any ideas guys?