Username: Password:

Author Topic: Why did this trade happen?  (Read 6979 times)

Offline nbanks51

  • Rookie
  • *
  • Posts: 18
    • View Profile
Why did this trade happen?
« on: September 16, 2017, 05:50:35 PM »
I'm new to Gunbot and have been using it with Sjakil's GUI so far. All looked fine until I noticed this BUY trade that seems not to make sense given that I am running bb strategy with the following settings.

I noticed another similar trade on another pair as well. It has got me quite confused  :-\

I'm sure I am misunderstanding something. Can anyone explain?

Thanks!




Offline paramecie

  • Contributor
  • **
  • Posts: 302
    • View Profile
Re: Why did this trade happen?
« Reply #1 on: September 16, 2017, 06:03:37 PM »
No idea right now, but gunbot *must* (AFAIK) run in 15 minutes BB (otherwise results are unpredictable).
(and as I can see your 5 minutes setting here, it may also be completely different in 15 minutes BB...)

Also - if you just ran it, depending the version maybe, it may NOT have used BB (not enough values for calculation), but GAIN instead.
Carefully set or check the GAIN values, even in BB.

HTH?

Offline nbanks51

  • Rookie
  • *
  • Posts: 18
    • View Profile
Re: Why did this trade happen?
« Reply #2 on: September 16, 2017, 08:24:23 PM »
Thanks for your reply.

The 5min setting you see there is just for the chart though - the period for the strategy is set to 15mins.

GAIN is set to 2, so even if it were using GAIN because the Bollinger Bands weren't ready, the behaviour still doesn't make much sense to me. Or have I misunderstood how the gain setting works?

You can see the same strange behaviour here on another chart from another pair.

Thanks!

Offline paramecie

  • Contributor
  • **
  • Posts: 302
    • View Profile
Re: Why did this trade happen?
« Reply #3 on: September 16, 2017, 08:53:09 PM »
GAIN is in between buying price and selling price :

"gain": {
         "BTC_TRADING_LIMIT": 0.005,
         "PERIOD": 15,
         "BUY_LEVEL": 5,
         "GAIN": 1,
(etc)

BUY_LEVEL is I think % below the EMA
GAIN is % profit from the buying price

If you don't use GAIN strategy, it's better to have a conservative GAIN setting, like buy at 5 and sell at 1 or 2 for example.

Offline nbanks51

  • Rookie
  • *
  • Posts: 18
    • View Profile
Re: Why did this trade happen?
« Reply #4 on: September 16, 2017, 09:14:54 PM »
OK I see. So if the Bollinger Bands are not yet ready, then the buys are determined by the BUY_LEVEL setting.

I don't have BUY_LEVEL set currently, so I assume it is defaulting to some un-ideal value.

I've set buy level to 3%, so I'll see how that goes.

Thanks for your help!!