Tradesim bug fix when sufficient historical data is missing.
Tradesim bug fix when sufficient historical data is missing.

QuantSoftware/QuantSoftwareToolkit,michaelhuang/QuantSoftwareToolkit,michaelhuang/QuantSoftwareToolkit,michaelhuang/QuantSoftwareToolkit,QuantSoftware/QuantSoftwareToolkit,QuantSoftware/QuantSoftwareToolkit,QuantSoftware/QuantSoftwareToolkit,michaelhuang/QuantSoftwareToolkit,michaelhuang/QuantSoftwareToolkit,QuantSoftware/QuantSoftwareToolkit,QuantSoftware/QuantSoftwareToolkit,michaelhuang/QuantSoftwareToolkit