Files
catalyst/tests
Jean Bredeche 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-03-27 09:59:08 -04:00
2017-02-23 11:32:04 -05:00
2017-03-26 15:54:14 -07:00
2012-05-09 13:34:13 -04:00
2016-08-02 23:12:07 -04:00