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

2020 update to coinbase pro #20

Closed
dandb2 opened this issue Aug 27, 2020 · 3 comments
Closed

2020 update to coinbase pro #20

dandb2 opened this issue Aug 27, 2020 · 3 comments

Comments

@dandb2
Copy link
Contributor

dandb2 commented Aug 27, 2020

Thanks to all who have contributed to the update 2020 / Coinbase Pro. Very well done.

One question though:

The scripts run very well under macOS (php 7.3.11). They do however not run under Raspbian (php 7.3.19). The output is as follows:

WAVERIDER:
pi@raspberrypi:~/cryptotrader-master $ php bots/waverider.php -p ETH-EUR -bw 100 -g 10 -pv 5 -nib -sim

SIMULATION MODE

[i] Trading ETH-EUR
[i] Will buy 100 EUR in ETH
[i] Will sell when ETH will gain 10%, meaning when it's worth 110 EUR
[i] After selling I will wait for ETH to drop by 5% before re-buying

====== BOT STARTING ======

PHP Fatal error: Uncaught Error: Call to undefined function curl_init() in /home/pi/cryptotrader-master/coinbase-pro.php:198
Stack trace:
#0 /home/pi/cryptotrader-master/coinbase-pro.php(41): CoinbaseExchange->makeRequest('/products/ETH-E...')
#1 /home/pi/cryptotrader-master/bots/waverider.php(53): CoinbaseExchange->updatePrices('ETH-EUR')
#2 {main}
thrown in /home/pi/cryptotrader-master/coinbase-pro.php on line 198

UPTRENDSURFER:
pi@raspberrypi:~/cryptotrader-master $ php bots/uptrendsurfer.php -p ETH-EUR -bw 150 -g 5 -nib -sim

SIMULATION MODE

[i] Trading ETH-EUR
[i] Will buy 150 EUR in ETH
[i] Will sell when ETH will gain 5%, meaning when it's worth 157.5 EUR

====== BOT STARTING ======

PHP Fatal error: Uncaught Error: Call to undefined function curl_init() in /home/pi/cryptotrader-master/coinbase-pro.php:198
Stack trace:
#0 /home/pi/cryptotrader-master/coinbase-pro.php(41): CoinbaseExchange->makeRequest('/products/ETH-E...')
#1 /home/pi/cryptotrader-master/bots/uptrendsurfer.php(50): CoinbaseExchange->updatePrices('ETH-EUR')
#2 {main}
thrown in /home/pi/cryptotrader-master/coinbase-pro.php on line 198

Can you please help?

@geek-at
Copy link
Member

geek-at commented Aug 27, 2020 via email

@dandb2
Copy link
Contributor Author

dandb2 commented Aug 27, 2020

top, works. Thank you!

@dandb2 dandb2 closed this as completed Aug 27, 2020
@ZeroFux78
Copy link

@geek-at Thank you!

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

3 participants