Bitspark (probably Peatio too) rounding issue

Issue #123 resolved
Sam Griffiths created an issue

WARNING: Strategy - Submit order : BUY 24.55545188 nbt @ 0.00264707 btc
Dec 05, 2014 3:43:10 PM com.nubits.nubot.tasks.StrategySecondaryPegTask initOrders
WARNING: Strategy - BUY Response1 = 952
Dec 05, 2014 3:43:10 PM com.nubits.nubot.tasks.StrategySecondaryPegTask initOrders
WARNING: Strategy - Submit order : BUY 24.55545188 nbt @ 0.00264707 btc
Dec 05, 2014 3:43:12 PM com.nubits.nubot.tasks.StrategySecondaryPegTask initOrders
SEVERE: ApiError [getCode 2002 getDescription Failed to create order. Reason: cannot lock funds (amount: 0.0650000000079916)] Dec 05, 2014 3:43:48 PM com.nubits.nubot.tasks.StrategySecondaryPegTask run
WARNING: Order reset needed on bitspark

Comments (13)

  1. Desrever Nu

    hot fixed with a workaround . Sent email to bitspark support as they are using rounding to the 17th decimal digit for balances, creating some inconsistency via API.

  2. Log in to comment