File Coverage

blib/lib/FIX/Parser.pm
Criterion Covered Total %
statement 8 8 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 11 11 100.0


line stmt bran cond sub pod time code
1             package FIX::Parser;
2              
3 1     1   21465 use 5.006;
  1         3  
4 1     1   6 use strict;
  1         2  
  1         20  
5 1     1   5 use warnings;
  1         5  
  1         70  
6              
7             =head1 NAME
8              
9             FIX::Parser - A module to parse FIX market data.
10              
11             =head1 VERSION
12              
13             Version 0.01
14              
15             =cut
16              
17             our $VERSION = '0.01_1';
18              
19             =head1 SYNOPSIS
20              
21             Quick summary of what the module does.
22              
23             This module provides 2 functions to users, to parse message and to create message.
24             Example on how to parse and make message:
25              
26             use FIX::Parser::FIX44;
27              
28             my $parser = FIX::Parser:FIX44->new();
29              
30             my @msgs = $parser->add($fix_msg);
31              
32             #Make message
33             my $logon_msg = $parser->make_message('A', 'SenderID', 'TargetID', '98=0', '108=30', '553=' . $arg{user}, '554=' . $arg{pass});
34             ...
35              
36             =head1 AUTHOR
37              
38             Binary.com, C<< >>
39              
40             =head1 BUGS
41              
42             Please report any bugs or feature requests to C, or through
43             the web interface at L. I will be notified, and then you'll
44             automatically be notified of progress on your bug as I make changes.
45              
46              
47              
48              
49             =head1 SUPPORT
50              
51             You can find documentation for this module with the perldoc command.
52              
53             perldoc FIX::Parser
54              
55              
56             You can also look for information at:
57              
58             =over 4
59              
60             =item * RT: CPAN's request tracker (report bugs here)
61              
62             L
63              
64             =item * AnnoCPAN: Annotated CPAN documentation
65              
66             L
67              
68             =item * CPAN Ratings
69              
70             L
71              
72             =item * Search CPAN
73              
74             L
75              
76             =back
77              
78              
79             =head1 ACKNOWLEDGEMENTS
80              
81              
82             =head1 LICENSE AND COPYRIGHT
83              
84             Copyright 2016 Binary.com.
85              
86             This program is free software; you can redistribute it and/or modify it
87             under the terms of the the Artistic License (2.0). You may obtain a
88             copy of the full license at:
89              
90             L
91              
92             Any use, modification, and distribution of the Standard or Modified
93             Versions is governed by this Artistic License. By using, modifying or
94             distributing the Package, you accept this license. Do not use, modify,
95             or distribute the Package, if you do not accept this license.
96              
97             If your Modified Version has been derived from a Modified Version made
98             by someone other than you, you are nevertheless required to ensure that
99             your Modified Version complies with the requirements of this license.
100              
101             This license does not grant you the right to use any trademark, service
102             mark, tradename, or logo of the Copyright Holder.
103              
104             This license includes the non-exclusive, worldwide, free-of-charge
105             patent license to make, have made, use, offer to sell, sell, import and
106             otherwise transfer the Package with respect to any patent claims
107             licensable by the Copyright Holder that are necessarily infringed by the
108             Package. If you institute patent litigation (including a cross-claim or
109             counterclaim) against any party alleging that the Package constitutes
110             direct or contributory patent infringement, then this Artistic License
111             to you shall terminate on the date that such litigation is filed.
112              
113             Disclaimer of Warranty: THE PACKAGE IS PROVIDED BY THE COPYRIGHT HOLDER
114             AND CONTRIBUTORS "AS IS' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES.
115             THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
116             PURPOSE, OR NON-INFRINGEMENT ARE DISCLAIMED TO THE EXTENT PERMITTED BY
117             YOUR LOCAL LAW. UNLESS REQUIRED BY LAW, NO COPYRIGHT HOLDER OR
118             CONTRIBUTOR WILL BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, OR
119             CONSEQUENTIAL DAMAGES ARISING IN ANY WAY OUT OF THE USE OF THE PACKAGE,
120             EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
121              
122              
123             =cut
124              
125             1; # End of FIX::Parser