Under the actual trades that my algorithm produced, I can see that sometimes it prints 1 and sometimes it prints the numerical number of shares. Is there a reason for this. Is it actually only purchasing one share? 

Author