Taking market price from Bruce
This commit is contained in:
1 parent
3c61bfd06b
commit
350f4b4004
3 files changed
+17
-4
No files matched your search
@@ -56,7 +56,7 @@
|
||||
|
||||
*/
|
||||
|
||||
businessLogic(onDone);
|
||||
decideWhatToDo(onDone);
|
||||
|
||||
function onDone(err) {
|
||||
try {
|
||||
@@ -176,7 +176,9 @@
|
||||
|
||||
assistant.putPosition("buy", rate, amountA, amountB, callBack);
|
||||
|
||||
} else {
|
||||
}
|
||||
|
||||
if (balanceB > 0) {
|
||||
|
||||
amountB = balanceB;
|
||||
amountB = Number(amountB.toFixed(8));
|
||||
|
||||
Reference in new issue
Block a user