CLI.pm

filter: Statementstmt 100% 10 / 10 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 13 / 13 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« CLI/Trade.pm ↑ Summary CLI/ConversionFactor.pm »
1 package Finance::CoinbasePro::API::CLI;
2  
3 1 ▶use 5.006;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 =head1 NAME
8  
9 Finance::CoinbasePro::API::CLI - Command-line interface to GDAX / Coinbase Pro
10  
11 =cut
12  
13 1 our $VERSION = '0.000_10';
14  
15  
16 =head1 SYNOPSIS
17  
18 Provides a command-line interface to Coinbase Pro (no longer GDAX).
19  
20 % bin/coinbasepro.pl
21 coinbasepro.pl: first param is action to perform (top|buy|sell|products|accounts|orders|quotes|trades|fills|cancel|cancelall)
22 coinbasepro.pl (top|buy|sell|products|accounts|orders|quotes|trades|fills|cancel|cancelall)
23 [--verbose] [--dryrun] [--product=BTC-USD] [--price=N] [--size=N] [--cancel]:
24 shows data from GDAX/Coinbase Pro
25 for example: coinbasepro.pl quotes --product=BTC-USD or coinbasepro.pl products
26  
27  
28 =head1 AUTHOR
29  
30 joshr, C<< <joshr at joshr.com> >>
31  
32  
33 =head1 SUPPORT
34  
35 You can find documentation for this module with the perldoc command.
36  
37 perldoc Finance::CoinbasePro::API::CLI
38  
39 =over 4
40  
41 =item * Search CPAN
42  
43 L<https://metacpan.org/release/Finance-CoinbasePro-API-CLI>
44  
45 =back
46  
47 =head1 ACKNOWLEDGEMENTS
48  
49 =head1 LICENSE AND COPYRIGHT
50  
51 Copyright 2018 Josh Rabinowitz
52  
53 This program is free software; you can redistribute it and/or modify it
54 under the terms of the the Artistic License (2.0). You may obtain a
55 copy of the full license at:
56  
57 L<http://www.perlfoundation.org/artistic_license_2_0>
58  
59 Any use, modification, and distribution of the Standard or Modified
60 Versions is governed by this Artistic License. By using, modifying or
61 distributing the Package, you accept this license. Do not use, modify,
62 or distribute the Package, if you do not accept this license.
63  
64 If your Modified Version has been derived from a Modified Version made
65 by someone other than you, you are nevertheless required to ensure that
66 your Modified Version complies with the requirements of this license.
67  
68 This license does not grant you the right to use any trademark, service
69 mark, tradename, or logo of the Copyright Holder.
70  
71 This license includes the non-exclusive, worldwide, free-of-charge
72 patent license to make, have made, use, offer to sell, sell, import and
73 otherwise transfer the Package with respect to any patent claims
74 licensable by the Copyright Holder that are necessarily infringed by the
75 Package. If you institute patent litigation (including a cross-claim or
76 counterclaim) against any party alleging that the Package constitutes
77 direct or contributory patent infringement, then this Artistic License
78 to you shall terminate on the date that such litigation is filed.
79  
80 Disclaimer of Warranty: THE PACKAGE IS PROVIDED BY THE COPYRIGHT HOLDER
81 AND CONTRIBUTORS "AS IS' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES.
82 THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
83 PURPOSE, OR NON-INFRINGEMENT ARE DISCLAIMED TO THE EXTENT PERMITTED BY
84 YOUR LOCAL LAW. UNLESS REQUIRED BY LAW, NO COPYRIGHT HOLDER OR
85 CONTRIBUTOR WILL BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, OR
86 CONSEQUENTIAL DAMAGES ARISING IN ANY WAY OUT OF THE USE OF THE PACKAGE,
87 EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
88  
89  
90 =cut
91  
92 1 1; # End of Finance::CoinbasePro::API::CLI
93  
94  
95  
96  
97  
98 #################### pod generated by Pod::Autopod - keep this line to make pod updates possible ####################
99  
100 =head1 NAME
101  
102 Finance::CoinbasePro::API::CLI
103  
104  
105 =head1 DESCRIPTION
106  
107 pod generated by Pod::Autopod - keep this line to make pod updates possible ####################
108  
109  
110 =head1 REQUIRES
111  
112 L<5.006>
113  
114  
115 =head1 METHODS
116  
117 =cut
118  
« CLI/Trade.pm ↑ Summary CLI/ConversionFactor.pm »