Username: Password:

Author Topic: Help: Generic Errors on 7.0.2 on about 30% of my Pairs  (Read 14576 times)

Offline hnk

  • Rookie
  • *
  • Posts: 4
    • View Profile
Help: Generic Errors on 7.0.2 on about 30% of my Pairs
« on: December 26, 2017, 04:36:05 PM »
I'm getting the following error on a good chunk of my pairs, and I have no idea what it means or where to start.

Has anyone seen this error before? How do I fix it?

Running version 7.0.2, on Bittrex, Emotionless as the strategy.

Code: [Select]
Last trade P/L for BTC-PIVX was: 0.000 %
Error: [object Object]
    at errorHandler (C:\snapshot\Gunbot-master\ctx-wrapper.js:0:0)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:169:7)

Offline bobzilla

  • Rookie
  • *
  • Posts: 11
    • View Profile
Re: Help: Generic Errors on 7.0.2 on about 30% of my Pairs
« Reply #1 on: December 28, 2017, 05:44:32 PM »
I'm getting this too.  I don't know what is causing it have seen a fix

Offline MarkLaymon

  • Rookie
  • *
  • Posts: 1
    • View Profile
Re: Help: Generic Errors on 7.0.2 on about 30% of my Pairs
« Reply #2 on: December 31, 2017, 09:17:31 AM »
Same here

Offline packtim

  • Rookie
  • *
  • Posts: 9
    • View Profile
Re: Help: Generic Errors on 7.0.2 on about 30% of my Pairs
« Reply #3 on: December 31, 2017, 04:27:15 PM »
I have this too.  Some pairs it doesn't happen every time it goes looking for the trade.  Odd.

Offline victoryu

  • Rookie
  • *
  • Posts: 11
    • View Profile
Re: Help: Generic Errors on 7.0.2 on about 30% of my Pairs
« Reply #4 on: January 03, 2018, 10:23:46 PM »
I'm getting this error too.

Last trade P/L for ETH-XLM was: 0.000 %
Error: [object Object]
    at errorHandler (C:\snapshot\Gunbot-master\ctx-wrapper.js:0:0)
    at
    at process._tickCallback (internal/process/next_tick.js:169:7)

Offline victoryu

  • Rookie
  • *
  • Posts: 11
    • View Profile
Re: Help: Generic Errors on 7.0.2 on about 30% of my Pairs
« Reply #5 on: January 03, 2018, 10:36:34 PM »
Was also running Bittrex, and the Gunbot was trading ETH-XRP and ETH-XLM pairs, using emotionless and  bbstepgain strategies, when getting that error.

Offline victoryu

  • Rookie
  • *
  • Posts: 11
    • View Profile
Re: Help: Generic Errors on 7.0.2 on about 30% of my Pairs
« Reply #6 on: January 03, 2018, 10:53:50 PM »
For bbstepgain strategy, it looks like the program throws error only when the Core checks value for Can we Buy is Yes.  Hopefully Gunthar can provide more insight on this issue.

Offline victoryu

  • Rookie
  • *
  • Posts: 11
    • View Profile
Re: Help: Generic Errors on 7.0.2 on about 30% of my Pairs
« Reply #7 on: January 04, 2018, 12:59:25 AM »
Looks like the error happens when Gunbot is trying to place a buy order. 

Offline victoryu

  • Rookie
  • *
  • Posts: 11
    • View Profile
Re: Help: Generic Errors on 7.0.2 on about 30% of my Pairs
« Reply #8 on: January 04, 2018, 11:51:50 AM »
I think I figured out what the issue is.  I tried using Gunbot 7.0.1, and got the error message, Error: MIN_TRADE_REQUIREMENT_NOT_MET.  After doing some research, it looked to me that MIN_TRADE_REQUIREMENT_NOT_MET means that the buy order didn't meet Bittrex's minimum trading requirement of 0.001 BTC. 

Each Gunbot strategy has the parameter TRADING_LIMIT with default value 0.001.  So if I'm trading ETH-XLM pair, and the price of Lumen in Ethereum is 0.00094 ETH/XLM, then Gunbot could buy at most (0.001 ETH) / (0.00094 ETH/XLM), which is around 1.063830 XLM.  Given the price of of Lumen in Bitcoin is 0.00005910 BTC/XLM, 1.063830 XLM is about (0.00005910 BTC/XLM) * (1.063830 XLM) = 0.000062872 BTC, which is less than Bittrex's minimum trade requirement of 0.001 BTC.

I changed the value of the TRADING_LIMIT parameter from 0.001 to 0.15 for bbstepgain strategy.  In this case, Gunbot could buy at most (0.15 ETH) / (0.00094 ETH/XLM), which is around 159.57447 XML, which is about (0.00005910 BTC/XLM) * (159.57447 XML) ~ 0.009431 BTC, greater than Bittrex's minimum trading requirement of 0.001 BTC.

After the TRADING_LIMIT value was updated, Gunbot was able to place a buy order, and the order was completed in Bittrex.  Thanks!

Error: MIN_TRADE_REQUIREMENT_NOT_MET
    at errorHandler (C:\snapshot\Gunbot-master\ctx-wrapper.js:0:0)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:169:7)