line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Finance::Alpaca::Struct::Watchlist 0.9902 { |
2
|
17
|
|
|
17
|
|
129
|
use strictures 2; |
|
17
|
|
|
|
|
130
|
|
|
17
|
|
|
|
|
690
|
|
3
|
17
|
|
|
17
|
|
3377
|
use feature 'signatures'; |
|
17
|
|
|
|
|
41
|
|
|
17
|
|
|
|
|
1169
|
|
4
|
17
|
|
|
17
|
|
140
|
no warnings 'experimental::signatures'; |
|
17
|
|
|
|
|
31
|
|
|
17
|
|
|
|
|
746
|
|
5
|
|
|
|
|
|
|
# |
6
|
17
|
|
|
17
|
|
100
|
use Type::Library 0.008 -base, -declare => qw[Watchlist]; |
|
17
|
|
|
|
|
311
|
|
|
17
|
|
|
|
|
108
|
|
7
|
17
|
|
|
17
|
|
7349
|
use Type::Utils; |
|
17
|
|
|
|
|
53
|
|
|
17
|
|
|
|
|
103
|
|
8
|
17
|
|
|
17
|
|
26446
|
use Types::Standard qw[ArrayRef Ref Str]; |
|
17
|
|
|
|
|
45
|
|
|
17
|
|
|
|
|
129
|
|
9
|
17
|
|
|
17
|
|
17359
|
use Types::TypeTiny 0.004 StringLike => { -as => "Stringable" }; |
|
17
|
|
|
|
|
319
|
|
|
17
|
|
|
|
|
117
|
|
10
|
|
|
|
|
|
|
class_type Watchlist, { class => __PACKAGE__ }; |
11
|
|
|
|
|
|
|
coerce( Watchlist, from Ref() => __PACKAGE__ . q[->new($_)] ); |
12
|
|
|
|
|
|
|
# |
13
|
17
|
|
|
17
|
|
6174
|
use Moo; |
|
17
|
|
|
|
|
40
|
|
|
17
|
|
|
|
|
118
|
|
14
|
17
|
|
|
17
|
|
5929
|
use Types::UUID; |
|
17
|
|
|
|
|
41
|
|
|
17
|
|
|
|
|
114
|
|
15
|
17
|
|
|
17
|
|
5802
|
use lib './lib'; |
|
17
|
|
|
|
|
38
|
|
|
17
|
|
|
|
|
156
|
|
16
|
17
|
|
|
17
|
|
2701
|
use Finance::Alpaca::Struct::Asset qw[Asset]; |
|
17
|
|
|
|
|
40
|
|
|
17
|
|
|
|
|
163
|
|
17
|
17
|
|
|
17
|
|
5737
|
use Finance::Alpaca::Types; |
|
17
|
|
|
|
|
37
|
|
|
17
|
|
|
|
|
116
|
|
18
|
|
|
|
|
|
|
has [qw[account_id id ]] => ( is => 'ro', isa => Uuid, required => 1 ); |
19
|
|
|
|
|
|
|
has [qw[created_at updated_at]] => ( is => 'ro', isa => Timestamp, required => 1, coerce => 1 ); |
20
|
|
|
|
|
|
|
has name => ( is => 'ro', isa => Str, required => 1 ); |
21
|
|
|
|
|
|
|
has assets => ( is => 'ro', isa => ArrayRef [Asset], coerce => 1, predicate => 1 ); |
22
|
|
|
|
|
|
|
} |
23
|
|
|
|
|
|
|
1; |
24
|
|
|
|
|
|
|
__END__ |