Files
catalyst/zipline
Jean BredecheandPaul Sutherland 6cf81a3f1c ENH: Allow override of order amount rounding. (#1722)
* ENH: Use regular rounding to calculate order amounts.

We previously tried to prevent accidental over-ordering by truncating
orders down unless they were within 1e-4 of the next higher integer.
Unfortunately, this makes it easy for a sell order to be one share short
of the desired position.

Using regular rounding treats both buys and sells in the same way.

* ENH keep non-rounding behavior consistent, but leave code structured to make easier to override

* DOC make round_order public and describe behavior in docstring
2017-03-27 20:44:12 -04:00
..
2017-02-23 11:32:04 -05:00
2016-09-20 17:12:07 -04:00
2017-03-26 15:54:14 -07:00
2015-11-11 18:47:51 -05:00
2017-03-10 17:19:57 -05:00
2017-03-07 17:14:27 -05:00