Author

Topic: Krakenapi (Read 281 times)

newbie
Activity: 30
Merit: 0
July 30, 2017, 12:34:47 AM
#2
used simplified version from their website and it is working.

Could anyone  list some ideas with making script more dynamic. (currently im editing code to buy something at a price then reloading my localhost).

Id like to make it more-like gui with button order.

I realize this is technical question and i would probably have to use php and html, if anyone could give me a small example id appreciate it a lot.


Here is example for buy order:

Code:
$res = $kraken->QueryPrivate('AddOrder', array(
    'pair' => 'XXBTZEUR',
    'type' => 'buy',
    'ordertype' => 'limit',
    'price' => '2350',
    'volume' => '1'
));
newbie
Activity: 30
Merit: 0
July 29, 2017, 11:32:27 PM
#1
I downloaded krakenapiclient and example from github and i keep getting this error

Fatal error: Uncaught Error: Class 'KrakenAPI' not found in C:\xampp\htdocs\kraken\php\example.php:23 Stack trace: #0 {main} thrown in C:\xampp\htdocs\kraken\php\example.php on line 23

I used to code in php years ago and i forgot a lot Sad
Jump to: