Skip to content

Commit 3b684a1

Browse files
authored
Merge pull request #17 from TheHalcyonSavant/TheHalcyonSavant-patch-i16
#16 fix
2 parents b9071cd + 09bde31 commit 3b684a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backtest.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ sub convert {
6565
# print $data;
6666
my $coder = JSON::XS->new->ascii->pretty->allow_nonref;
6767
$json = $coder->encode ($data);
68-
$json =~ s/^{/config.$stratname = {\n/;
68+
$json =~ s/^{/config['$stratname'] = {\n/;
6969
return $json;
7070
}
7171
sub convert_json_toml {

0 commit comments

Comments
 (0)