python for stock market pdf. 0 as being optimal. Code . bdo.