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