Please forgive the mess, since its the first Algo and also learning.
When I check the algo with breakpoints it shows that goes into
order(stock,o)
but the backtest doesn't show.
Thanks for the help.
UPDATE
Apparently, Order(stock, -amount_shares)
that did the trick..