Skip to content

Conversation

@ghost
Copy link

@ghost ghost commented Jul 29, 2018

Notes

  • The examples are run using the env.prod file instead of env.dev:

    ping: api.beta.kraken.com: Name or service not known
    

Changes

  • .env.* files are used
  • XBTCZUSD is replaced with XBTUSD since XBTCZUSD is throwing EQuery:Unknown asset pair errors
  • XBTCEUR is replaced with XBTEUR according to the available currency pairs

Possible bugs?

  • XBTCEUR is accepted by the API despite not being available
  • examples/06_add_order/03_XBTUSD_buy_limit.php throws an error: EGeneral:Invalid arguments:/close-ordertype

@sabir-omis
Copy link

Hi Please help me some time i see this error:
[23-Sep-2021 12:32:58 America/Chicago] PHP Fatal error: Uncaught Payward\KrakenAPIException: JSON decode error in /home/.../kraken.php:107
Stack trace:
#0 /home/.../config.php(164): Payward\KrakenAPI->QueryPublic('Ticker', Array)
#1 /home/.../cronjob.php(7): GET_BTC_PRICE(Object(Payward\KrakenAPI))
#2 {main}
thrown in /home/.../kraken.php on line 107
[23-Sep-2021 13:15:45 America/Chicago] PHP Fatal error: Uncaught Payward\KrakenAPIException: CURL error: in /home/.../kraken.php:102
Stack trace:
#0 /home/.../config.php(164): Payward\KrakenAPI->QueryPublic('Ticker', Array)
#1 /home/.../cronjob.php(7): GET_BTC_PRICE(Object(Payward\KrakenAPI))
#2 {main}
thrown in /home/.../kraken.php on line 102

@ghost ghost closed this by deleting the head repository Mar 9, 2025
This pull request was closed.
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

Successfully merging this pull request may close these issues.

1 participant