GUNBOT: The automatic profit generator > Beginners & Help

Why did bot not buy or sell? (SOLVED)

(1/1)

Philippe1987:
Hi all,

I'm running WhiteGoblin's strategy (v3) found here.

I'm trying to understand why the bot didn't buy and sell in the 2 situations described below.

Settings:

* Buy Method: gain
* Buy Level: -10
* Sell Method: gain
* Gain: 0.25
* Trading Limit: 25
* Min Volume To Buy: 1
* Min Volume To Sell: 1
* Funds Reserve: 0.0001
* Period: 1
* Medium EMA: 60
* Fast EMA: 30
* Double Up Enabled: on
* DU Cap: 0.1
* DU Cap Count: 12
* DU Method: 0.5
* DU Buydown: 0.5
* TrailMe Buy: on
* TrailMe Buy Range: 0.05
* TrailMe Sell: on
* TrailMe Sell Range: 0.05
* TrailMe DU: on
* Market Buy: on
* Market Sell: on
* Market DU: on
* Trades Timeout: 0
* Exchange Delay: 0
AutoConfig:

--- Code: ---  {
    "CheckIfBull": {
        "pairs": {
            "exclude": "",
            "include": "ETH,BTC",
            "exchange": "binance"
        },
        "filters": {
            "BullCheck1": {
                "type": "exact",
                "ducount": 0
            }
        },
        "overrides": {
            "TRAIL_ME_SELL_RANGE": 0.1
        },
        "clearOverrides": false,
        "schedule": "*/3 * * * * *",
        "type": "manageOverrides",
        "debug": false,
        "enabled": true
    },
    "CheckIfNormal": {
        "pairs": {
            "exclude": "",
            "include": "ETH,BTC",
            "exchange": "binance"
        },
        "filters": {
            "BullCheck2": {
                "type": "biggerThan",
                "ducount": 0
            }
        },
        "overrides": {
            "TRAIL_ME_SELL_RANGE": 0.05
        },
        "clearOverrides": false,
        "schedule": "*/3 * * * * *",
        "type": "manageOverrides",
        "debug": false,
        "enabled": true
    },
    "DURange-Fast": {
        "pairs": {
            "exclude": "",
            "include": "ETH,BTC",
            "exchange": "binance"
        },
        "filters": {
            "ducount1": {
                "type": "smallerThan",
                "ducount": 2
            }
        },
        "overrides": {
            "DOUBLE_UP_CAP": 1,
            "TRAIL_ME_BUY_RANGE": 0.05,
            "DU_METHOD": 0.25,
            "DU_BUYDOWN": 0.25
        },
        "clearOverrides": false,
        "schedule": "*/3 * * * * *",
        "type": "manageOverrides",
        "debug": false,
        "enabled": true
    },
    "DURange-Normal": {
        "pairs": {
            "exclude": "",
            "include": "ETH,BTC",
            "exchange": "binance"
        },
        "filters": {
            "ducount2": {
                "type": "biggerThan",
                "ducount": 1
            },
            "ducount3": {
                "type": "smallerThan",
                "ducount": 7
            }
        },
        "overrides": {
            "DOUBLE_UP_CAP": 0.1,
            "TRAIL_ME_BUY_RANGE": 0.05,
            "DU_METHOD": 0.5,
            "DU_BUYDOWN": 0.5
        },
        "clearOverrides": false,
        "schedule": "*/3 * * * * *",
        "type": "manageOverrides",
        "debug": false,
        "enabled": true
    },
    "DURange-Slow": {
        "pairs": {
            "exclude": "",
            "include": "ETH,BTC",
            "exchange": "binance"
        },
        "filters": {
            "ducount4": {
                "type": "biggerThan",
                "ducount": 6
            }
        },
        "overrides": {
            "DOUBLE_UP_CAP": 0.1,
            "TRAIL_ME_BUY_RANGE": 0.1,
            "DU_METHOD": 1,
            "DU_BUYDOWN": 1
        },
        "clearOverrides": false,
        "schedule": "*/3 * * * * *",
        "type": "manageOverrides",
        "debug": false,
        "enabled": true
    }
}
--- End code ---

Situation 1: why didn't the bot sell?




The price went 0.07% above the "sell at" gain line ... Why didn't it sell?


Situation 2: why didn't the bot buy?





The price dropped below the DCA buydown of 0.25% ... Why didn't it buy?


Another (or maybe related) issue:

The bot only does 2 DCA's after the initial purchase.
The 3rd one doesn't work:



I can see a lot of errors in the log file, related to the DU. Maybe it has something to do with it?


--- Code: ---AVERAGING DOWN!!!
The value of this coin dropped below bought price (0.05474200146359769). Proceeding with DU!
2021/02/15 20:00:25: Entering sell cycle
Price raising up: activating Stop limit!!!
------------------------------------------------------------------------------------------------Error: {}
2001
┌───────────────────┬────┐
│ ɢƱҊβѺͳ RT Edition │    │
├───────────────────┼────┤
│ Callbacks         │ {} │
└───────────────────┴────┘
--- End code ---

Thanks for helping me out!

Cheers


Thanks for helping me out!

Cheers,
Philippe

Philippe1987:
I found out why it didn't buy.

Binance uses minimum trading value of 10USD.
Starting from an initial trading limit of 25, my DU's should theoretically be as follows:
* 25
* 50
* 10  <= but this was often times a little bit less than 10USD, let's say 9,8. And then the buy didn't go through

So I changed my trading limit to 25, and now it buys all the DU's.

Cheers

Navigation

[0] Message Index

Go to full version