DESCRIPTION

Talk to the Kraken REST API within Perl

SYNOPSIS

package Foo;
use Finance::Crypto::Exchange::Kraken;

my $kraken = Finance::Crypto::Exchange::Kraken->new(
    key    => 'your very secret key',
    secret => 'your very secret secret',
);

# For all methods, please visit the documentation
$kraken->get_server_time;

METHODS

call

my $req = HTTP::Request->new(GET, ...);
$self->call($req);

A very simple API call function. Decodes the JSON for you on success, otherwise dies a horrible death with the error Kraken gives back to you.

You should not be needing this method, this function is public because all the roles use it.

nonce

Create a nonce

SEE ALSO

There is another module that does more or less the same: Finance::Bank::Kraken but it requires a more hands on approach.