package WebService::Binance;
# ABSTRACT: Interface to Binance
use JSON::MaybeXS;
use LWP::UserAgent;
use Log::Log4perl;
use Moose;
use MooseX::Params::Validate;
use URL::Encode qw/url_encode/;
use Try
a = LWP::UserAgent->new(
keep_alive => 1
);
$ua->default_header('Accept' => 'application/json' );
return $ua;
}
=back
=head1 METHODS
=over 4
=item api_public
Query the public API
=c
$self->log->logdie( "Response:\n" . $response->decoded_content );
}
return decode_json( $response->decoded_content );
}
=item lookup_symbol
Binance works with symbols which represen