Skip to content
This repository was archived by the owner on Apr 7, 2019. It is now read-only.

BtceDepth not working: 'invalid pair' #4

@fling-

Description

@fling-
…
print Dumper my %depth = %{$btce->BtceDepth('btc_usd')};
…

output:

$VAR1 = 'error';
$VAR2 = 'invalid pair';

but works fine when I copy subs from the modules and run it like

…
print Dumper my %depth = BtceDepth('btc_usd');
…

output:

Reference found where even-sized list expected at bot.pl.wtf line 83.
$VAR1 = {
          'asks' => [
                      [
                        '566.283',
                        '0.01'
                      ],
                      [
                        '568.997',
                        '0.1169'
                      ],
…

And the method is missing from =head1 SYNOPSIS

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions