cryptotrader
cryptotrader copied to clipboard
Error getting accounts Info
Hi Christian, first of all thanks for your work. I am experiencing some issue in getting account info when calling function makeRequest that returns "Error getting accounts". I guess it could be some problem with CURLOPT_URL but i am not php expert.
Regars
Have you enter API credential (coinbase pro) in config.inc.php ?
cd cryptotrader cp example.config.inc.php config.inc.php nano config.inc.php
"Enter API Key and other setting" CTRL+o CTRL+x
Hi phenixtai, yes i did, credentials are correct. the issue is randomic as you can see below : " [X] Error getting products Current price: 1294.18 Waiting for: 1250 EUR per ETH [i] 2021-02-03 >> 08:27:55 Current price: 1299.4 Waiting for: 1250 EUR p [X] Error getting products [i] 2021-02-03 >> 08:29:55 Current price: 1299.4 Waiting for: 1250 EUR p [i] 2021-02-03 >> 08:33:58 Current price: 1294.18 Waiting for: 1250 EUR per ETH"
Regards
i am sorry, below is well formatted. As you can see the first 9 calls gets error while the last 2 are correct.
Regards
[X] Error getting products Current price: 1299.4 Waiting for: 1250 EUR per ETH [X] Error getting products Current price: 1299.4 Waiting for: 1250 EUR per ETH [X] Error getting products Current price: 1299.4 Waiting for: 1250 EUR per ETH [X] Error getting products Current price: 1299.4 Waiting for: 1250 EUR per ETH [X] Error getting products Current price: 1299.4 Waiting for: 1250 EUR per ETH [X] Error getting products Current price: 1299.4 Waiting for: 1250 EUR per ETH [X] Error getting products Current price: 1299.4 Waiting for: 1250 EUR per ETH [X] Error getting products Current price: 1299.4 Waiting for: 1250 EUR per ETH [X] Error getting products Current price: 1299.4 Waiting for: 1250 EUR per ETH [i] 2021-02-03 >> 08:38:00 Current price: 1291.72 Waiting for: 1250 EUR per ETH [i] 2021-02-03 >> 08:40:01 Current price: 1291.09 Waiting for: 1250 EUR per ETH