Renaming to Clone Executor
This commit is contained in:
1 parent
557bac1e7c
commit
16dace5536
6 files changed
+11
-19
No files matched your search
@@ -10,3 +10,5 @@ bin/*
|
||||
node_modules/*
|
||||
exchange/Auth0.js
|
||||
.env
|
||||
|
||||
\.vscode/
|
||||
@@ -1,10 +1,5 @@
|
||||
exports.newAPIClient = function newAPIClient(pKey, pSecret, logger) {
|
||||
|
||||
/*
|
||||
/* ATENTION: This Library is used both a the cloud (AACloud) and also at the AAWeb on the server side without any modifications.
|
||||
/* There is a second version, stripped of all the inner functionality that runs at AAWeb browser side, which channels the requests to the server side one.
|
||||
*/
|
||||
|
||||
const FULL_LOG = true;
|
||||
const LOG_FILE_CONTENT = true;
|
||||
const MODULE_NAME = "binanceClient";
|
||||
@@ -100,7 +95,7 @@
|
||||
};
|
||||
|
||||
const fetch = next => API.ticker24hr(market, analizeResponse(next));
|
||||
|
||||
|
||||
retry(null, fetch, handle);
|
||||
}
|
||||
|
||||
@@ -310,7 +305,7 @@
|
||||
let error;
|
||||
|
||||
/* This function analizes the different situations we might encounter trying to access Binance and returns appropiate standard errors. */
|
||||
|
||||
|
||||
let stringExchangeErr = JSON.stringify(exchangeErr);
|
||||
let stringExchangeResponse = JSON.stringify(exchangeResponse);
|
||||
|
||||
@@ -347,14 +342,14 @@
|
||||
error.notFatal = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
return callBack(error, exchangeResponse);
|
||||
|
||||
|
||||
} catch (err) {
|
||||
logger.write(MODULE_NAME, "[ERROR] analizeResponse -> err.message = " + err.message);
|
||||
return callBack(global.DEFAULT_FAIL_RESPONSE, exchangeResponse);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@@ -1,10 +1,5 @@
|
||||
exports.newAPIClient = function newAPIClient(keyVaultAPI, logger) {
|
||||
|
||||
/*
|
||||
/* ATENTION: This Library is used both a the cloud (AACloud) and also at the AAWeb on the server side without any modifications.
|
||||
/* There is a second version, stripped of all the inner functionality that runs at AAWeb browser side, which channels the requests to the server side one.
|
||||
*/
|
||||
|
||||
const FULL_LOG = true;
|
||||
const LOG_FILE_CONTENT = false;
|
||||
const MODULE_NAME = "poloniexClient";
|
||||
|
||||
@@ -26,7 +26,7 @@ If you are interested in coding your own crypto trading bots and eventually part
|
||||
|
||||
## Copyright and License Notice
|
||||
|
||||
© Copyright 2018 Advanced Algos. Please see the [AACloud License](/LICENSE) for information on how you can use this software.
|
||||
© Copyright 2018 Advanced Algos. Please see the [Clone Executor License](/LICENSE) for information on how you can use this software.
|
||||
|
||||
## Disclaimer
|
||||
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "CloneExecutor",
|
||||
"name": "@superalgos/clone-executor",
|
||||
"version": "1.0.0",
|
||||
"description": "",
|
||||
"main": "Run.js",
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"codeName": "AACloud",
|
||||
"codeName": "clone-executor",
|
||||
"version": {
|
||||
"major": 1,
|
||||
"minor": 1,
|
||||
@@ -17,4 +17,4 @@
|
||||
"dataSet": "One-Min",
|
||||
"dataSetVersion": "dataSet.V1"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user