line |
true |
false |
branch |
148
|
1 |
0 |
keys %{$_[0]->ua->get('/api/v3/ping');} == 0 ? : |
174
|
1 |
0 |
exists $time->{'serverTime'} ? : |
290
|
1 |
1 |
unless ($params{'symbol'}) |
345
|
0 |
0 |
unless ($params{'symbol'}) |
404
|
0 |
0 |
unless ($params{'symbol'}) |
475
|
1 |
1 |
unless ($params{'symbol'}) |
552
|
2 |
2 |
unless ($params{'symbol'}) |
560
|
1 |
1 |
unless ($params{'interval'}) |
844
|
1 |
31 |
unless (defined $params{'type'}) |
856
|
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') { } |
875
|
1 |
0 |
unless (defined $params{'quantity'} or defined $params{'quoteOrderQty'}) |
892
|
29 |
58 |
unless (defined $params{$param}) |
918
|
0 |
0 |
if ($params{'test'}) |
1000
|
0 |
0 |
unless ($params{'symbol'}) |
1137
|
0 |
0 |
unless ($params{'symbol'}) |
1261
|
0 |
0 |
unless ($params{'symbol'}) |
1333
|
0 |
0 |
unless ($params{'listenKey'}) |
1371
|
0 |
0 |
unless ($params{'listenKey'}) |