Not allways buying or selling
This commit is contained in:
1 parent
0b8ae69662
commit
d9c78ada6d
2 files changed
+11
-30
No files matched your search
@@ -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) {
|
||||
|
||||
|
||||
Reference in new issue
Block a user