Not allways buying or selling

This commit is contained in:
Luis Fernando Molina committed 2018-04-29 08:06:38 +02:00
1 parent 0b8ae69662
commit d9c78ada6d
2 files changed
+11 -30

No files matched your search

+7
View File
@@ -153,6 +153,13 @@
callBack(global.DEFAULT_OK_RESPONSE);
return;
}
if (Math.random() * 10 > 5) {
if (LOG_INFO === true) { logger.write("[INFO] start -> decideWhatToDo -> In some situations it is just fin no to place orders. Passing this turn. "); }
callBack(global.DEFAULT_OK_RESPONSE);
return;
}
if (balanceA > 0) {