Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error getting accounts Info #22

Open
lbzt opened this issue Jan 29, 2021 · 3 comments
Open

Error getting accounts Info #22

lbzt opened this issue Jan 29, 2021 · 3 comments

Comments

@lbzt
Copy link

lbzt commented Jan 29, 2021

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

@phenixtai
Copy link

phenixtai commented Feb 3, 2021

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

@lbzt
Copy link
Author

lbzt commented Feb 3, 2021

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

@lbzt
Copy link
Author

lbzt commented Feb 3, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants