Fixed date.to_f bug
moved stop loss to riskmanagement helpers module