Skip to content

Commit

Permalink
Added accoutnguid to bot name to allow multiple instances
Browse files Browse the repository at this point in the history
  • Loading branch information
r4stl1n committed Jul 6, 2018
1 parent 742d0db commit 62ec0cf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion PPScreener/ActionManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,9 @@ public static BaseCustomBot PerformBackTest(string market)

public static void CreatePersistentBot(string market)
{
string botName = "PP-" + market + ":" + ActionManager.mainConfig.PrimaryCurrency;
string[] accountGuidSplit = ActionManager.mainConfig.AccountGUID.Split('-');

string botName = "PP-" + accountGuidSplit[0] + "-" + market + ":" + ActionManager.mainConfig.PrimaryCurrency;

HaasonlineClient haasonlineClient = new HaasonlineClient(ActionManager.mainConfig.IPAddress, ActionManager.mainConfig.Port, ActionManager.mainConfig.Secret);

Expand Down

0 comments on commit 62ec0cf

Please sign in to comment.