line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Finance::GeniusTrader; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
35519
|
use warnings; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
43
|
|
4
|
1
|
|
|
1
|
|
7
|
use strict; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
46
|
|
5
|
|
|
|
|
|
|
|
6
|
1
|
|
|
1
|
|
7
|
use vars qw/$VERSION/; |
|
1
|
|
|
|
|
6
|
|
|
1
|
|
|
|
|
101
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
=head1 NAME |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
Finance::GeniusTrader - a full featured toolbox to create trading systems |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
=head1 VERSION |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
Version 0.00_50 |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
=cut |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
our $VERSION = '0.00_50'; |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
=head1 DESCRIPTION |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
GeniusTrader aims to be a full featured toolbox to create trading systems. Powerful systematic trading requires several things : |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
=over |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
=item * many indicators and corresponding signals |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=item * money management rules |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=item * deciding what is a reasonable amount of money to put on a single trade (to limit the risk associated to that trade) |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=item * combining different values within the portfolio (to limit the global risk) |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=item * flexibility to be able to test all combinations with the above items |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=item * backtesting system with analysis of results |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=back |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
GeniusTrader already has support of most of this. GeniusTrader consists of a bunch of perl modules associated to a few perl scripts. It has no graphical user interface since it's absolutely not needed to achieve its goals ... |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
=head1 SYNOPSYS |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
Please read submodules synopsis for usage. |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
=head1 AUTHOR |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
Erik Colson, C<< >> |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
=head1 BUGS |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
Please report any bugs or feature requests to C, or through |
54
|
|
|
|
|
|
|
the web interface at L. I will be notified, and then you'll |
55
|
|
|
|
|
|
|
automatically be notified of progress on your bug as I make changes. |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
=head1 SUPPORT |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
You can find documentation for this module with the perldoc command. |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
perldoc Finance::GeniusTrader |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
You can also look for information at: |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
=over 4 |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
=item * RT: CPAN's request tracker |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
L |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
=item * AnnoCPAN: Annotated CPAN documentation |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
L |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
=item * CPAN Ratings |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
L |
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
=item * Search CPAN |
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
L |
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
=back |
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
=head1 ACKNOWLEDGEMENTS |
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
=head1 COPYRIGHT & LICENSE |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
=over |
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
=item - Copyright 2009 Erik Colson |
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
=item - Copyright 2008 Thomas Weigert |
97
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
=item - Copyright 2008 Robert A. Schmied |
99
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
=item - Copyright 2005 João Costa |
101
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
=item - Copyright 2004 Oliver Bossert |
103
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
=item - Copyright 2000-2002 Raphaël Hertzog, Fabien Fulhaber |
105
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
=back |
107
|
|
|
|
|
|
|
|
108
|
|
|
|
|
|
|
This program is released under the following license: gpl v2 |
109
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
=cut |
111
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
1; # End of Finance::GeniusTrader |