Exchange and Market as global variables.
This commit is contained in:
1 parent
91dfa45b61
commit
1d00aaf6d2
6 files changed
+40
-26
No files matched your search
@@ -66,21 +66,34 @@ process.on('exit', function (code) {
|
||||
logger.write('About to exit with code:' + code);
|
||||
});
|
||||
|
||||
/* Global constants definitions. */
|
||||
|
||||
/* Callbacks default responses. */
|
||||
|
||||
global.DEFAULT_OK_RESPONSE = {
|
||||
result: "Ok",
|
||||
message: "Operation Succeeded"
|
||||
};
|
||||
|
||||
global.global.DEFAULT_FAIL_RESPONSE = {
|
||||
global.DEFAULT_FAIL_RESPONSE = {
|
||||
result: "Fail",
|
||||
message: "Operation Failed"
|
||||
};
|
||||
|
||||
global.global.DEFAULT_RETRY_RESPONSE = {
|
||||
global.DEFAULT_RETRY_RESPONSE = {
|
||||
result: "Retry",
|
||||
message: "Retry Later"
|
||||
};
|
||||
|
||||
/* Current state of the art fixed parameters */
|
||||
|
||||
global.MARKET = {
|
||||
assetA: "USDT",
|
||||
assetB: "BTC",
|
||||
};
|
||||
|
||||
global.EXCHANGE_NAME = "Poloniex";
|
||||
|
||||
|
||||
|
||||
const START_ALL_MONTHS = false;
|
||||
|
||||
Reference in new issue
Block a user