From 3cdaf4a139d519c48d3080328adcc43d54ff53f7 Mon Sep 17 00:00:00 2001 From: ChoChinChan Date: Wed, 7 Nov 2018 10:32:46 +0000 Subject: [PATCH] updated some paths that are bricking the importer --- backtest.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backtest.pl b/backtest.pl index d2aec07..fea32e4 100644 --- a/backtest.pl +++ b/backtest.pl @@ -456,7 +456,7 @@ sub toepoch { } @match = uniq @match; { - local $CWD = 'util/genMarketFiles'; + local $CWD = 'exchange/util/genMarketFiles'; foreach (@match) { print "Updating Gekko's $_ market data...\n"; system("node update-$_.js"); @@ -466,7 +466,7 @@ sub toepoch { my @sets = split /:/, $_; #SPRAWDZIC!!!!!!!!!!!!!! if ($sets[1] eq 'ALL' || $sets[2] eq 'ALL') { - my $filename = "exchanges/$sets[0]-markets.json"; + my $filename = "exchange/wrappers/$sets[0]-markets.json"; my $json_text = do { open(my $json_fh, "<:encoding(UTF-8)", $filename) or die("Can't open \$filename\": $!\n"); local $/;