I Have hovered over the file dealing with long and short holding orders at this link :


 It is mentionned that Long holding is a quantity >0 and Short Holding is a quantity <0.

But in my algo when i place a short order, i place a positive quantity in a potentiel short price trend not a negative quantity in this trend...

Someone could explain me the logic behind ?