line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Finance::Instrument::Exchange; |
2
|
|
|
|
|
|
|
|
3
|
6
|
|
|
6
|
|
35
|
use strict; |
|
6
|
|
|
|
|
17
|
|
|
6
|
|
|
|
|
227
|
|
4
|
6
|
|
|
6
|
|
116
|
use 5.008_001; |
|
6
|
|
|
|
|
49
|
|
|
6
|
|
|
|
|
447
|
|
5
|
|
|
|
|
|
|
our $VERSION = '0.01'; |
6
|
|
|
|
|
|
|
|
7
|
6
|
|
|
6
|
|
36
|
use Moose; |
|
6
|
|
|
|
|
13
|
|
|
6
|
|
|
|
|
64
|
|
8
|
6
|
|
|
6
|
|
44611
|
use methods; |
|
6
|
|
|
|
|
18
|
|
|
6
|
|
|
|
|
76
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
has domain => (is => "ro", isa => "Finance::Instrument::Domain", weak_ref => 1, |
11
|
|
|
|
|
|
|
default => sub { Finance::Instrument::Domain->global }); |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
has name => (is => "ro", isa => "Str"); |
14
|
|
|
|
|
|
|
has abbr => (is => "ro", isa => "Str"); |
15
|
|
|
|
|
|
|
has code => (is => "ro", isa => "Str"); |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
has attributes => (is => "rw", isa => "HashRef", |
18
|
|
|
|
|
|
|
traits => ['Hash'], |
19
|
|
|
|
|
|
|
default => sub { {} }, |
20
|
|
|
|
|
|
|
handles => { |
21
|
|
|
|
|
|
|
attr => 'accessor' |
22
|
|
|
|
|
|
|
}); |
23
|
|
|
|
|
|
|
|
24
|
6
|
|
|
6
|
|
17639
|
method BUILD { |
|
1609
|
|
|
1609
|
|
2061
|
|
|
1609
|
|
|
|
|
1694
|
|
25
|
1609
|
|
|
|
|
64248
|
$self->domain->add_exchange($self); |
26
|
|
|
|
|
|
|
} |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable; |
29
|
6
|
|
|
6
|
|
861
|
no Moose; |
|
6
|
|
|
|
|
13
|
|
|
6
|
|
|
|
|
44
|
|
30
|
|
|
|
|
|
|
1; |
31
|
|
|
|
|
|
|
__END__ |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=encoding utf-8 |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=for stopwords |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=head1 NAME |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
Finance::Instrument::Futures - |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
=head1 SYNOPSIS |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
use Finance::Instrument; |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
=head1 DESCRIPTION |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
Finance::Instrument is |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
=head1 AUTHOR |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
Chia-liang Kao E<lt>clkao@clkao.orgE<gt> |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
=head1 LICENSE |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
This library is free software; you can redistribute it and/or modify |
56
|
|
|
|
|
|
|
it under the same terms as Perl itself. |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
=head1 SEE ALSO |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
=cut |