You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 16, 2020. It is now read-only.
Hey! This is indeed very handy, but it's almost always used in a context of dealing with exchanges. In that case it would make more sense to make it available through Gekko Broker (see #2118). On top of that: Gekko makes a lot of use of the library Lodash, the version of Lodash used by Gekko is very old, but I want to update it so we can use Lodash' round method, see here: https://lodash.com/docs/4.17.10#round
Yeap, mainly using it for output and fixing issues with the exchange returning errors.
Having lodash do it would be better. Since you're upgrading, i guess this is not needed.
Hi @askmike, would you mind if I add these 2 function to core/util.js?
round for rounding off the fractions issue (Eg: 0.145 * 100 = 14.499999999999998)
getPrecision will return the number of decimal count
The text was updated successfully, but these errors were encountered: