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
On the client side (i.e. exchange.IBotExchange.SubmitOrder()) we fill float64s for price, amount, etc. Proper precision should be handled at exchange level as it is (1) exchange-dependent, (2) imprecise to round a float64 on the client side and expect the string representation to reflect that rounding precisely.
The text was updated successfully, but these errors were encountered:
ydm
changed the title
Exchanges have no idea of asset precision
Exchanges have no idea of precision
Aug 6, 2021
On the client side (i.e.
exchange.IBotExchange.SubmitOrder()
) we fill float64s for price, amount, etc. Proper precision should be handled at exchange level as it is (1) exchange-dependent, (2) imprecise to round a float64 on the client side and expect the string representation to reflect that rounding precisely.The text was updated successfully, but these errors were encountered: