Username: Password:

Author Topic: 7.02 Waiting on open orders  (Read 15623 times)

Offline sandro

  • Rookie
  • *
  • Posts: 4
    • View Profile
7.02 Waiting on open orders
« on: December 26, 2017, 09:13:41 AM »
I'm having a problem with 7.02 (although I saw the same behavior with 7.01) where Gunbot tries to put in a trade for USDT-BTC on Poloniex, but the order never seems to appear.  Then Gunbot stays in "waiting for open orders" even though it's pretty clear there are no open orders.  Restarting gunboat seems to resolve the situation, but it starts with the Safety Switch on (apparently it thinks it traded recently even though it didn't)

The initial trade attempt:

Code: [Select]
GBXT_v7.0.2 USDT-BTC Round # 92
------------------------------------------------------------------------------------------------
 ɢƱƝɮǾŁ XT Edition  Scanning poloniex for trading opportunities 2017/12/26 03:16:24
------------------------------------------------------------------------------------------------
2017/12/26 03:16:25: USDT-BTC Last Bid/Ask 15022.32082069/15039.20194915
------------------------------------------------------------------------------------------------
EMA1: 15102.175674458817 === EMA2: 15114.374183911592
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
HIGH BB: 15321.31326530 == SMA: 15089.80278585 == LOW BB: 14858.29230639
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
BTC/USD Money Flow Index is: 54.68096868832062
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
RSI: 59.08243379933546
------------------------------------------------------------------------------------------------
2017/12/26 03:16:26: Got Trading History
2017/12/26 03:16:28: Checking Open Orders
Last trade P/L for USDT-BTC was: -3.452 %
2017/12/26 03:16:28: Price to buy: 15043.501
2017/12/26 03:16:28: Last Bid/Strategy Exit Point: 15022.32082069/13208.999450525978
2017/12/26 03:16:28: Last Ask/Strategy Entry Point: 15039.20194915/15043.501
2017/12/26 03:16:28: XTrend for USDT-BTC:    UP!!!   
┌───────────────────┬────────────────┬────────────┬─────────────┬────────────┬─────────────┐
│ ɢՍΠ฿םŁ XT Edition │ Stop limit hit │ Can we buy │ Can we sell │ Panic sell │ Can average │
├───────────────────┼────────────────┼────────────┼─────────────┼────────────┼─────────────┤
│ Core checks       │       NO       │     YES    │      NO     │     NO     │      NO     │
└───────────────────┴────────────────┴────────────┴─────────────┴────────────┴─────────────┘
2017/12/26 03:16:28: Last Bid price USDT-BTC: 15022.32082069 | Last Ask: 15039.20194915
2017/12/26 03:16:28: Balance USDT: 32340.74916143
2017/12/26 03:16:28: Balance BTC: 0.00000000
2017/12/26 03:16:28: On Orders BTC: 0.00000000
Processing strategy bbstepgain for USDT-BTC on poloniex
BUY CYCLE
2017/12/26 03:16:28: Entering buy cycle
┌───────────────────┬────────────────┬────────────────┬───────────┬────────────────┬────────────────┬────────────┬──────────┐
│ ɢƱҊ฿Ѻͳ XT Edition │ LowBB          │ HighBB         │ Buy at    │ Last           │ USDT           │ BTC        │ Pair     │
├───────────────────┼────────────────┼────────────────┼───────────┼────────────────┼────────────────┼────────────┼──────────┤
│ Buy cycle         │ 14858.29230639 │ 15321.31326530 │ 15043.501 │ 15039.20194915 │ 32340.74916143 │ 0.00000000 │ USDT-BTC │
├───────────────────┼────────────────┼────────────────┼───────────┼────────────────┼────────────────┼────────────┼──────────┤
│ Callbacks         │ Time to buy    │ 15043.501      │ USDT-BTC  │                │                │            │          │
├───────────────────┼────────────────┼────────────────┼───────────┼────────────────┼────────────────┴────────────┴──────────┤
│ BOUGHT!!!         │ Amount:        │ 1.06388624     │ Rate:     │ 15039.20194915 │                                        │
└───────────────────┴────────────────┴────────────────┴───────────┴────────────────┴────────────────────────────────────────┘


Here's the next round:

Code: [Select]
GBXT_v7.0.2 USDT-BTC Round # 93
------------------------------------------------------------------------------------------------
 ɢՍƝ฿๏Ŧ XT Edition  Scanning poloniex for trading opportunities 2017/12/26 03:16:35
------------------------------------------------------------------------------------------------
2017/12/26 03:16:35: USDT-BTC Last Bid/Ask 15019.88156212/15020.00000000
------------------------------------------------------------------------------------------------
EMA1: 15102.175674458817 === EMA2: 15114.374183911592
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
HIGH BB: 15321.31326530 == SMA: 15089.80278585 == LOW BB: 14858.29230639
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
BTC/USD Money Flow Index is: 54.68096868832062
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
RSI: 59.08243379933546
------------------------------------------------------------------------------------------------
2017/12/26 03:16:36: Got Trading History
2017/12/26 03:16:37: Checking Open Orders
Last trade P/L for USDT-BTC was: -3.452 %
2017/12/26 03:16:37: Price to buy: 15043.501
2017/12/26 03:16:37: Last Bid/Strategy Exit Point: 15019.88156212/13208.999450525978
2017/12/26 03:16:37: Last Ask/Strategy Entry Point: 15020.00000000/15043.501
2017/12/26 03:16:37: XTrend for USDT-BTC:    UP!!!   
┌───────────────────┬────────────────┬────────────┬─────────────┬────────────┬─────────────┐
│ ɢƱΠβØŁ XT Edition │ Stop limit hit │ Can we buy │ Can we sell │ Panic sell │ Can average │
├───────────────────┼────────────────┼────────────┼─────────────┼────────────┼─────────────┤
│ Core checks       │       NO       │     YES    │      NO     │     NO     │      NO     │
└───────────────────┴────────────────┴────────────┴─────────────┴────────────┴─────────────┘
2017/12/26 03:16:37: Last Bid price USDT-BTC: 15019.88156212 | Last Ask: 15020
2017/12/26 03:16:37: Balance USDT: 32340.74916143
2017/12/26 03:16:37: Balance BTC: 0.00000000
2017/12/26 03:16:37: On Orders BTC: 0.00000000
Processing strategy bbstepgain for USDT-BTC on poloniex
┌───────────────────┬─────────────────────┬─────────────────────────┬───────────┬──────────┐
│ ɢՍΠß๏Ł XT Edition │ SMA                 │ 1mLowBB                   │ HighBB    │ Pair     │
├───────────────────┼─────────────────────┼─────────────────────────┼───────────┼──────────┤
│ Buy cycle         │ 15089.80278585      │ 14858.292               │ 15321.313 │ USDT-BTC │
├───────────────────┼─────────────────────┼─────────────────────────┼───────────┼──────────┤
│ GUNBOT CALLBACK   │ 2017/12/26 03:16:37 │ Waiting for open orders │           │          │
└───────────────────┴─────────────────────┴─────────────────────────┴───────────┴──────────┘

Here's an example 40 mins after Gunbot thought it traded:

Code: [Select]
ɢՍͶɮõŁ XT Edition  Scanning poloniex for trading opportunities 2017/12/26 03:56:31
------------------------------------------------------------------------------------------------
2017/12/26 03:56:31: USDT-BTC Last Bid/Ask 14831.00000000/14832.04332025
------------------------------------------------------------------------------------------------
EMA1: 14994.492731767832 === EMA2: 14986.735704878509
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
HIGH BB: 15184.41071452 == SMA: 15021.27703290 == LOW BB: 14858.14335128
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
BTC/USD Money Flow Index is: 45.42027925496813
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
RSI: 45.88040790549652
------------------------------------------------------------------------------------------------
2017/12/26 03:56:33: Got Trading History
2017/12/26 03:56:33: Checking Open Orders
Last trade P/L for USDT-BTC was: -3.452 %
2017/12/26 03:56:33: Price to buy: 14971.749264000002
2017/12/26 03:56:33: Last Bid/Strategy Exit Point: 14831.00000000/13208.999450525978
2017/12/26 03:56:33: Last Ask/Strategy Entry Point: 14832.04332025/14971.749264000002
2017/12/26 03:56:33: XTrend for USDT-BTC:    DOWN!!!   
false
┌───────────────────┬────────────────┬────────────┬─────────────┬────────────┬─────────────┐
│ ɢՍƝβםŁ XT Edition │ Stop limit hit │ Can we buy │ Can we sell │ Panic sell │ Can average │
├───────────────────┼────────────────┼────────────┼─────────────┼────────────┼─────────────┤
│ Core checks       │       NO       │     YES    │      NO     │     NO     │      NO     │
└───────────────────┴────────────────┴────────────┴─────────────┴────────────┴─────────────┘
2017/12/26 03:56:33: Last Bid price USDT-BTC: 14831 | Last Ask: 14832.04332025
2017/12/26 03:56:33: Balance USDT: 32340.74916143
2017/12/26 03:56:33: Balance BTC: 0.00000000
2017/12/26 03:56:33: On Orders BTC: 0.00000000
Processing strategy bbstepgain for USDT-BTC on poloniex
┌───────────────────┬─────────────────────┬─────────────────────────┬───────────┬──────────┐
│ ɢƱƝɮõŁ XT Edition │ SMA                 │ LowBB                   │ HighBB    │ Pair     │
├───────────────────┼─────────────────────┼─────────────────────────┼───────────┼──────────┤
│ Buy cycle         │ 15021.27703290      │ 14858.143               │ 15184.411 │ USDT-BTC │
├───────────────────┼─────────────────────┼─────────────────────────┼───────────┼──────────┤
│ GUNBOT CALLBACK   │ 2017/12/26 03:56:33 │ Waiting for open orders │           │          │
└───────────────────┴─────────────────────┴─────────────────────────┴───────────┴──────────┘

Offline Bossett

  • Rookie
  • *
  • Posts: 3
    • View Profile
Re: 7.02 Waiting on open orders
« Reply #1 on: January 01, 2018, 11:59:38 PM »
I'm having the same issue with Binance, it persists after a restart of the bot though.

Offline Bossett

  • Rookie
  • *
  • Posts: 3
    • View Profile
Re: 7.02 Waiting on open orders
« Reply #2 on: January 02, 2018, 01:38:34 AM »
These seem to be related to items in the order history that are listed as 'Expired' - they seem to be going straight into the order book with an immediate timeout?

Offline Jelpogan

  • Rookie
  • *
  • Posts: 6
    • View Profile
Re: 7.02 Waiting on open orders
« Reply #3 on: January 02, 2018, 02:29:23 AM »
I have the same issue with Poloniex but it only occurs with one pair.  So some trades are working , some are in the "waiting" state.

Offline MAV

  • Rookie
  • *
  • Posts: 4
    • View Profile
Re: 7.02 Waiting on open orders
« Reply #4 on: January 03, 2018, 01:05:12 AM »
I have been getting this in binance as well. Seems to occur when another pair triggers a buy order at the same time. Maybe the bot setting of "timeout_buy" is preventing the bot from entering another trade even though it is on a different pair?

Offline heromrk18

  • Rookie
  • *
  • Posts: 7
    • View Profile
Re: 7.02 Waiting on open orders
« Reply #5 on: January 04, 2018, 01:01:28 AM »
i set time out buy to 0 and still have this issue

Offline cryptofuryk

  • Rookie
  • *
  • Posts: 1
    • View Profile
Re: 7.02 Waiting on open orders
« Reply #6 on: January 04, 2018, 09:18:53 AM »
Getting this error with binance aswell. It seems to happen after an order shows up as expired in the order history. I have to manually restart gunbot each time otherwise it'll no longer trade that currency pair.

Offline kobkrit

  • Rookie
  • *
  • Posts: 4
    • View Profile
Re: 7.02 Waiting on open orders
« Reply #7 on: January 05, 2018, 02:22:26 AM »
Confirmed, I have this issue in Binance as well.

Offline MAV

  • Rookie
  • *
  • Posts: 4
    • View Profile
Re: 7.02 Waiting on open orders
« Reply #8 on: January 06, 2018, 11:14:16 PM »
This is happening quite often on Binance. Orders somehow become expired or cancelled (sometimes almost immediately, not sure how), and Gunbot will still consider them open orders.

The bot then sits in the "waiting on open orders" state and will not trade on that pair until it is restarted.

Offline CryptoLynx

  • Rookie
  • *
  • Posts: 2
    • View Profile
Re: 7.02 Waiting on open orders
« Reply #9 on: February 21, 2018, 02:26:40 AM »
This issue is occurring for me as well.
Running GB version 8.0.3 on Binance.

On pair USDT-BTC, looking in trade history, I see an expired trade at the time that this error state started occurring.