excoin - sometimes bot never exit the shift status causing looping message:

Issue #155 resolved
Desrever Nu created an issue
3, 2015 4:53:47 PM com.nubits.nubot.tasks.strategy.SecondaryPegStrategyUtils initOrders
WARNING: Strategy - Submit order : SELL side order :  BUY 16.6089 BTC @ 232.6264785 NBT
Jan 13, 2015 4:53:48 PM com.nubits.nubot.tasks.strategy.SecondaryPegStrategyUtils initOrders
WARNING: Strategy : SELL Response2 = NBT-BTC-BID-Fe4WG6mjT4uGkxmosXDYST
Jan 13, 2015 4:53:48 PM com.nubits.nubot.tasks.strategy.SecondaryPegStrategyUtils shiftWalls
WARNING: Skipping the waiting time : multipleCustodians option have been set to false
Jan 13, 2015 4:53:49 PM com.nubits.nubot.tasks.strategy.SecondaryPegStrategyUtils initOrders
WARNING: Strategy - Submit order : BUY side order :  SELL 11.5436 BTC @ 235.1995215 NBT
Jan 13, 2015 4:53:50 PM com.nubits.nubot.tasks.strategy.SecondaryPegStrategyUtils initOrders
WARNING: Strategy - BUY Response1 = NBT-BTC-ASK-4KUUXNElrjuaHV6NCyTsYu
Jan 13, 2015 4:53:55 PM com.nubits.nubot.tasks.strategy.SecondaryPegStrategyUtils initOrders
WARNING: Strategy - Submit order : BUY side order :  SELL 11.5436 BTC @ 235.1995215 NBT
Jan 13, 2015 4:53:56 PM com.nubits.nubot.tasks.strategy.SecondaryPegStrategyUtils initOrders
WARNING: Strategy : BUY Response2 = NBT-BTC-ASK-nbjIjRNzoSylfZFt8QWgzs
Jan 13, 2015 4:54:02 PM com.nubits.nubot.tasks.strategy.StrategySecondaryPegTask run
INFO: Wall shift successful
Jan 13, 2015 4:56:12 PM com.nubits.nubot.tasks.strategy.PriceMonitorTriggerTask verifyPegPrices
INFO: Walls needs to be shifted
Jan 13, 2015 4:56:12 PM com.nubits.nubot.tasks.strategy.PriceMonitorTriggerTask computeNewPrices
INFO:  Sell Price 235.640936
Buy Price  233.063064
Jan 13, 2015 4:56:12 PM com.nubits.nubot.tasks.strategy.StrategySecondaryPegTask notifyPriceChanged
WARNING: Strategy received a price change notification.
Jan 13, 2015 4:56:12 PM com.nubits.nubot.tasks.strategy.PriceMonitorTriggerTask computeNewPrices
WARNING: Tue Jan 13 16:56:12 CET 2015,btce,BTC,233.913,USD,235.640936,233.063064,{"price":236.48,"feed":"coinbase"}

Jan 13, 2015 4:56:19 PM com.nubits.nubot.tasks.strategy.StrategySecondaryPegTask run
WARNING: Shift needed on excoin: NBT price changed more than 0.02 %
Jan 13, 2015 4:57:44 PM com.nubits.nubot.tasks.SubmitLiquidityinfoTask checkOrders
WARNING: Liquidity is not being sent, a wall shift is happening. Will send on next execution.
Jan 13, 2015 4:58:16 PM com.nubits.nubot.tasks.strategy.PriceMonitorTriggerTask verifyPegPrices
WARNING: Wall shift is postponed: another process is already shifting existing walls. Will try again on next execution.
Jan 13, 2015 4:59:17 PM com.nubits.nubot.tasks.strategy.PriceMonitorTriggerTask verifyPegPrices
WARNING: Wall shift is postponed: another process is already shifting existing walls. Will try again on next execution.
Jan 13, 2015 5:00:45 PM com.nubits.nubot.tasks.SubmitLiquidityinfoTask checkOrders
WARNING: Liquidity is not being sent, a wall shift is happening. Will send on next execution.
Jan 13, 2015 5:01:17 PM com.nubits.nubot.tasks.strategy.PriceMonitorTriggerTask verifyPegPrices
WARNING: Wall shift is postponed: another process is already shifting existing walls. Will try again on next execution.
Jan 13, 2015 5:02:18 PM com.nubits.nubot.tasks.strategy.PriceMonitorTriggerTask verifyPegPrices
WARNING: Wall shift is postponed: another process is already shifting existing walls. Will try again on next execution.
Jan 13, 2015 5:03:20 PM com.nubits.nubot.tasks.strategy.PriceMonitorTriggerTask verifyPegPrices
WARNING: Wall shift is postponed: another process is already shifting existing walls. Will try again on next execution.
Jan 13, 2015 5:03:46 PM com.nubits.nubot.tasks.SubmitLiquidityinfoTask checkOrders
WARNING: Liquidity is not being sent, a wall shift is happening. Will send on next execution.
Jan 13, 2015 5:04:20 PM com.nubits.nubot.tasks.strategy.PriceMonitorTriggerTask verifyPegPrices
WARNING: Wall shift is postponed: another process is already shifting existing walls. Will try again on next execution.
Jan 13, 2015 5:05:21 PM com.nubits.nubot.tasks.strategy.PriceMonitorTriggerTask verifyPegPrices
WARNING: Wall shift is postponed: another process is already shifting existing walls. Will try again on next execution.
Jan 13, 2015 5:06:22 PM com.nubits.nubot.tasks.strategy.PriceMonitorTriggerTask verifyPegPrices
WARNING: Wall shift is postponed: another process is already shifting existing walls. Will try again on next execution.

Comments (6)

  1. Sam Griffiths
    • changed status to open

    in shiftWalls() in secondaryPegPriceStrategyUtils.java, isWallShift was set to true every time the method is run. isWallshift was only set to false if the ClearAllOrders call is successful. I have added the flags to set isWallShift to false on a failure of that call too.

  2. Log in to comment