NAME
Finance::Crypto::Exchange::Kraken - A Perl implementation of the Kraken REST API
VERSION
version 0.002
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;
DESCRIPTION
Talk to the Kraken REST API within Perl
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
- Finance::Crypto::Exchange::Kraken::REST::Public
- Finance::Crypto::Exchange::Kraken::REST::Private
- Finance::Crypto::Exchange::Kraken::REST::Private::User::Data
- Finance::Crypto::Exchange::Kraken::REST::Private::User::Trading
- Finance::Crypto::Exchange::Kraken::REST::Private::User::Funding
- Finance::Crypto::Exchange::Kraken::REST::Private::Websockets
There is another module that does more or less the same: Finance::Bank::Kraken but it requires a more hands on approach.
AUTHOR
Wesley Schwengle <waterkip@cpan.org>
COPYRIGHT AND LICENSE
This software is Copyright (c) 2020 by Wesley Schwengle.
This is free software, licensed under:
The (three-clause) BSD License