diff --git a/backtester/report/report.go b/backtester/report/report.go index 536b43cf..3be4ab40 100644 --- a/backtester/report/report.go +++ b/backtester/report/report.go @@ -79,7 +79,7 @@ func (d *Data) GenerateReport() error { if err != nil { return err } - log.Infof(log.BackTester, "successfully saved report to %v\\%v", d.OutputPath, fileName) + log.Infof(log.BackTester, "successfully saved report to %v", filepath.Join(d.OutputPath, fileName)) return nil } diff --git a/engine/engine.go b/engine/engine.go index 3090ba3a..9a341274 100644 --- a/engine/engine.go +++ b/engine/engine.go @@ -250,7 +250,7 @@ func PrintSettings(s *Settings) { gctlog.Debugf(gctlog.Global, "\t Enable dry run mode: %v", s.EnableDryRun) gctlog.Debugf(gctlog.Global, "\t Enable all exchanges: %v", s.EnableAllExchanges) gctlog.Debugf(gctlog.Global, "\t Enable all pairs: %v", s.EnableAllPairs) - gctlog.Debugf(gctlog.Global, "\t Enable coinmarketcap analaysis: %v", s.EnableCoinmarketcapAnalysis) + gctlog.Debugf(gctlog.Global, "\t Enable coinmarketcap analysis: %v", s.EnableCoinmarketcapAnalysis) gctlog.Debugf(gctlog.Global, "\t Enable portfolio manager: %v", s.EnablePortfolioManager) gctlog.Debugf(gctlog.Global, "\t Enable data history manager: %v", s.EnableDataHistoryManager) gctlog.Debugf(gctlog.Global, "\t Enable currency state manager: %v", s.EnableCurrencyStateManager) @@ -280,7 +280,7 @@ func PrintSettings(s *Settings) { gctlog.Debugf(gctlog.Global, "\t Exchange REST sync timeout: %v\n", s.SyncTimeoutREST) gctlog.Debugf(gctlog.Global, "\t Exchange Websocket sync timeout: %v\n", s.SyncTimeoutWebsocket) gctlog.Debugf(gctlog.Global, "- FOREX SETTINGS:") - gctlog.Debugf(gctlog.Global, "\t Enable currency conveter: %v", s.EnableCurrencyConverter) + gctlog.Debugf(gctlog.Global, "\t Enable currency converter: %v", s.EnableCurrencyConverter) gctlog.Debugf(gctlog.Global, "\t Enable currency layer: %v", s.EnableCurrencyLayer) gctlog.Debugf(gctlog.Global, "\t Enable fixer: %v", s.EnableFixer) gctlog.Debugf(gctlog.Global, "\t Enable OpenExchangeRates: %v", s.EnableOpenExchangeRates)