BacktestTool - batch backtest, import and strategy parameters optimalization
#55
Hello xFFFFF or anyone who can help,

I am behind the power curve finally got all of gekko running properly on a headless server and just now trying to get the backtest tool to work. I tried to follow the steps as closely as possible and now when I got to import I am receiving the following error, any help is greatly appreciated.

perl backtest.pl -i -p gdax:USD:ETH -f last -t now
Can't locate DBD/CSV.pm in @INC (you may need to install the DBD::CSV module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.26.1 /usr/local/share/perl/5.26.1 /usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at backtest.pl line 21.
BEGIN failed--compilation aborted at backtest.pl line 21.

** I am following the "you may need to install for each missing piece) not sure I must have messed up the cpan install or something**


Update: When I run it now I get this error: Can't locate LWP/Protocol/https.pm in @INC (you may need to install the LWP:Tonguerotocol::https module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.26.1 /usr/local/share/perl/5.26.1 /usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at backtest.pl line 28.
BEGIN failed--compilation aborted at backtest.pl line 28.

--When I try to do a sudo cpan install LWP:Tonguerotocol::https I see a ton of this error

t/startssl.t ...................... Can't locate Net/SSLeay.pm in @INC (you may need to install the Net::SSLeay module) (@INC contains: /home/whoodat/.cpan/build/IO-Socket-SSL-2.056-2/blib/lib /home/whoodat/.cpan/build/IO-Socket-SSL-2.056-2/blib/arch /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.26.1 /usr/local/share/perl/5.26.1 /usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at t/startssl.t line 5.
BEGIN failed--compilation aborted at t/startssl.t line 5.
t/startssl.t ...................... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/sysread_write.t ................. Can't locate Net/SSLeay.pm in @INC (you may need to install the Net::SSLeay module) (@INC contains: /home/whoodat/.cpan/build/IO-Socket-SSL-2.056-2/blib/lib /home/whoodat/.cpan/build/IO-Socket-SSL-2.056-2/blib/arch /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.26.1 /usr/local/share/perl/5.26.1 /usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at t/sysread_write.t line 11.
BEGIN failed--compilation aborted at t/sysread_write.t line 11.
t/sysread_write.t ................. Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/verify_fingerprint.t ............ Can't locate Net/SSLeay.pm in @INC (you may need to install the Net::SSLeay module) (@INC contains: /home/whoodat/.cpan/build/IO-Socket-SSL-2.056-2/blib/lib /home/whoodat/.cpan/build/IO-Socket-SSL-2.056-2/blib/arch /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.26.1 /usr/local/share/perl/5.26.1 /usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at /home/whoodat/.cpan/build/IO-Socket-SSL-2.056-2/blib/lib/IO/Socket/SSL.pm line 19


I try to install Net::SSLeay module it appears to install but every time I run the perl script I continue to get the same error of you may need to install the LWP:Tonguerotocol::https module. At this point I am lost. Any help is appreciated.

The smiley faces should be LWP : : Protocol

Not sure if this will be asked but I'll put it out there, I am running:
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04 LTS
Release: 18.04
Codename: bionic
  Reply


Messages In This Thread
RE: Gekko backtest tool - by PapoKarlo - 03-20-2018, 05:39 PM
RE: Gekko backtest tool - by CryptoCoeus - 09-22-2018, 02:08 PM
RE: BacktestTool - batch backtest, import and strategy parameters optimalization - by whoodat - 05-20-2018, 08:08 PM
0.00 Profit - by danibeni81 - 08-19-2018, 07:55 PM

Forum Jump:


Users browsing this thread: