line |
true |
false |
branch |
153
|
1 |
0 |
keys %{$_[0]->ua->get('/api/v3/ping');} == 0 ? : |
179
|
1 |
0 |
exists $time->{'serverTime'} ? : |
295
|
1 |
1 |
unless ($params{'symbol'}) |
350
|
0 |
0 |
unless ($params{'symbol'}) |
409
|
0 |
0 |
unless ($params{'symbol'}) |
480
|
1 |
1 |
unless ($params{'symbol'}) |
557
|
2 |
2 |
unless ($params{'symbol'}) |
565
|
1 |
1 |
unless ($params{'interval'}) |
849
|
1 |
31 |
unless (defined $params{'type'}) |
861
|
5 |
26 |
if ($params{'type'} eq 'LIMIT') { } |
|
4 |
22 |
elsif ($params{'type'} eq 'STOP_LOSS') { } |
|
6 |
16 |
elsif ($params{'type'} eq 'STOP_LOSS_LIMIT') { } |
|
4 |
12 |
elsif ($params{'type'} eq 'TAKE_PROFIT') { } |
|
6 |
6 |
elsif ($params{'type'} eq 'TAKE_PROFIT_LIMIT') { } |
|
4 |
2 |
elsif ($params{'type'} eq 'LIMIT_MAKER') { } |
|
1 |
1 |
elsif ($params{'type'} eq 'MARKET') { } |
880
|
1 |
0 |
unless (defined $params{'quantity'} or defined $params{'quoteOrderQty'}) |
897
|
29 |
58 |
unless (defined $params{$param}) |
923
|
0 |
0 |
if ($params{'test'}) |
1005
|
0 |
0 |
unless ($params{'symbol'}) |
1061
|
0 |
0 |
unless ($params{'symbol'}) |
1195
|
0 |
0 |
unless ($params{'symbol'}) |
1319
|
0 |
0 |
unless ($params{'symbol'}) |
1391
|
0 |
0 |
unless ($params{'listenKey'}) |
1429
|
0 |
0 |
unless ($params{'listenKey'}) |