Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

Commit

Permalink
do not start bots with-ipc, closes #300
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhilsaraf committed Sep 23, 2019
1 parent a860208 commit da0e5fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gui/backend/start_bot.go
Original file line number Diff line number Diff line change
@@ -38,7 +38,7 @@ func (s *APIServer) startBot(w http.ResponseWriter, r *http.Request) {
func (s *APIServer) doStartBot(botName string, strategy string, iterations *uint8, maybeFinishCallback func()) error {
filenamePair := model2.GetBotFilenames(botName, strategy)
logPrefix := model2.GetLogPrefix(botName, strategy)
command := fmt.Sprintf("trade -c %s/%s -s %s -f %s/%s -l %s/%s --with-ipc --ui", s.configsDir, filenamePair.Trader, strategy, s.configsDir, filenamePair.Strategy, s.logsDir, logPrefix)
command := fmt.Sprintf("trade -c %s/%s -s %s -f %s/%s -l %s/%s --ui", s.configsDir, filenamePair.Trader, strategy, s.configsDir, filenamePair.Strategy, s.logsDir, logPrefix)
if iterations != nil {
command = fmt.Sprintf("%s --iter %d", command, *iterations)
}

0 comments on commit da0e5fa

Please sign in to comment.