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
Binary file not shown.
@@ -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));
|
||||
|
||||
+13
-2
@@ -21,8 +21,8 @@
|
||||
},
|
||||
"backtest": {
|
||||
"run": "false",
|
||||
"beginDatetime": "2018-03-12T16:00:00.000Z",
|
||||
"endDatetime": "2018-03-12T16:15:00.000Z",
|
||||
"beginDatetime": "2018-04-12T16:00:00.000Z",
|
||||
"endDatetime": "2018-04-12T16:15:00.000Z",
|
||||
"waitTime": 1000
|
||||
},
|
||||
"competition": {
|
||||
@@ -70,6 +70,17 @@
|
||||
"product": "Candles",
|
||||
"dataSet": "Multi-Period-Daily",
|
||||
"dataSetVersion": "dataSet.V1"
|
||||
},
|
||||
{
|
||||
"devTeam": "AAMasters",
|
||||
"bot": "AABruce",
|
||||
"botVersion": {
|
||||
"major": 1,
|
||||
"minor": 0
|
||||
},
|
||||
"product": "Candles",
|
||||
"dataSet": "One-Min",
|
||||
"dataSetVersion": "dataSet.V1"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user