Return the nearest integer to ``self``, rounding away from 0 by default, for consistency with the builtin Python round. A simple solution may be to change the default to even, which is the current ...
This example demonstrates how to round numbers when placing orders. Both Price (px) and Size (sz) have a maximum number of decimals that are accepted. Prices can have up to 5 significant figures, but ...
Editor's Note: I just thought I should mention that there's an ongoing, ever-evolving, and dramatically different presentation of this topic entitled Rounding 101 on my personal website. We'll start ...