def _nearest_interger(f_x):
    if f_x >= 0:
        return np.floor(f_x)
    else :
        return np.ceil(f_x)
@summary Return the nearest integer to the float number
dataset/ETHPy150Open QuantSoftware/QuantSoftwareToolkit/QSTK/qstksim/tradesim.py/_nearest_interger