3cqs-coder / SymBot

SymBot is a user friendly, self-hosted and automated DCA (Dollar Cost Averaging) cryptocurrency bot solution
https://www.3cqs.com
Other
180 stars 15 forks source link

Auth to coinbase not working #32

Closed richardlhughes closed 2 months ago

richardlhughes commented 8 months ago

Hello,

Is there a way to get more logging to figure out why I cannot get the bots read my coinbase account?

image

I am at a loss on this one. I have tried several different approach to debug but, I am at a loss. Even tried different machines.

I have created multiple api secret and key. I had a friend of mine try it on his bot and the key and secret are working on his build but, cannot find the problem on my end.

Any help much appreciated.

bot.json

{
    "apiKey": "204S*****qH4TbsE",
    "apiPassphrase": null,
    "apiPassword": null,
    "apiSecret": "0UWl7**********pzJvS4o2K",
    "dcaMaxOrder": 5,
    "dcaOrderAmount": 25,
    "dcaOrderSizeMultiplier": 1.08,
    "dcaOrderStartDistance": 1.3,
    "dcaOrderStepPercent": 1.3,
    "dcaOrderStepPercentMultiplier": 1.0,
    "dcaTakeProfitPercent": 3,
    "exchange": "coinbase",
    "exchangeFee": 0.6,
    "exchangeOptions": {
        "defaultType": "spot"
    },
    "firstOrderAmount": 20,
    "firstOrderLimitPrice": 150,
    "firstOrderType": "MARKET",
    "pair": "",
    "sandBox": false,
    "sandBoxWallet": 100000
}

app.json

{
    "password": "",
    "mongo_db_url": "mongodb://symbot:symbot123@database/symbot",
    "web_server": {
        "port": 3000
    },
    "api": {
        "enabled": true,
        "key": ""
    },
    "webhook": {
        "enabled": true
    },
    "telegram": {
        "enabled": true,
        "token_id": "67121550***************zozxRgdjS0",
        "notify_user_id": "68******8"
    },
    "bots": {
        "start_conditions": {
            "asap": {
                "description": "Open new trade asap"
            },
            "api": {
                "description": "Manually / API"
            }
        },
        "pair_autofill_buttons": [
            "USD",
            "USDT",
            "USDC"
        ],
        "pair_autofill_blacklist": [
            "BTC/*",
            "UST/*",
            "USD/*",
            "USDC/*",
            "USDD/*",
            "USDT/*"
        ]
    },
    "signals": {
        "3CQS": {
            "enabled": false,
            "api_key": ""
        }
    },
    "verbose_log": true
}
3cqs-coder commented 8 months ago

Hi,

There are a few things to look at:

guntoken commented 6 months ago

Hi, I'm facing a similar problem. At first, I tried connecting to OKX exchanges but it didn't work. So, I switched to Kucoin exchanges instead. I believe Symbot should be able to connect with the exchange's API, but it shows my Current Balance as 'null'. Up until now, I haven't been able to connect to any crypto exchanges. Do you have any guides or instructions on how to make a connection with the exchanges?

3cqs-coder commented 6 months ago

If you're able to see symbols populate when creating a bot without any errors displaying, then SymBot is actually successfully connecting to your exchange. If you're receiving any error messages and none of the above mentioned has helped, you might want to contact the exchange with the error message.

The balance showing as null is a bit confusing because SymBot is just defaulting to reading an available USDT balance from your exchange. If it doesn't detect any balance, it will show null. It is partly due to accounts that have many assets, so the exchange requires multiple calls with pagination, which SymBot will address in a future update.

3cqs-coder commented 2 months ago

Closing as no further issues have been reported