Adding trading bot parameters
This commit is contained in:
1 parent
9a5183177e
commit
14c9e820ce
2 files changed
+14
-9
No files matched your search
@@ -55,11 +55,14 @@ function sequenceExecution(currentStep) {
|
||||
execution.month ? process.env.MONTH = execution.month : undefined;
|
||||
execution.beginDatetime ? process.env.BEGIN_DATE_TIME = execution.beginDatetime : undefined;
|
||||
execution.dataSet ? process.env.DATA_SET = execution.dataSet : undefined;
|
||||
execution.timePeriod ? process.env.TIME_PERIOD = execution.timePeriod : undefined;
|
||||
execution.exchangeName ? global.EXCHANGE_NAME = execution.exchangeName : undefined;
|
||||
execution.baseAsset ? global.BASE_ASSET = execution.baseAsset : undefined;
|
||||
execution.balanceAssetA ? global.INITIAL_BALANCE_ASSET_A = execution.balanceAssetA : undefined;
|
||||
execution.balanceAssetB ? global.INITIAL_BALANCE_ASSET_B = execution.balanceAssetB : undefined;
|
||||
|
||||
process.env.CLONE_ID = 1;
|
||||
|
||||
execution.timePeriod ? process.env.TIME_PERIOD = execution.timePeriod : undefined;
|
||||
|
||||
execution.exchangeName ? global.EXCHANGE_NAME = execution.exchangeName : undefined;
|
||||
// global.FULL_LOG = execution.fullLog;
|
||||
|
||||
let stepKey = execution.devTeam + '.' + execution.bot + '.' + execution.process;
|
||||
|
||||
+8
-6
@@ -23,7 +23,6 @@
|
||||
"endYear": 2021,
|
||||
"month": 1
|
||||
},
|
||||
|
||||
{
|
||||
"devTeam": "AAMasters",
|
||||
"bot": "AABruce",
|
||||
@@ -157,8 +156,8 @@
|
||||
"month": 1
|
||||
},
|
||||
{
|
||||
"devTeam": "vikingsalerts",
|
||||
"bot": "simulator-bot-vikingsalerts",
|
||||
"devTeam": "user",
|
||||
"bot": "simulator-bot-user",
|
||||
"mode": "noTime",
|
||||
"resumeExecution": true,
|
||||
"type": "Indicator",
|
||||
@@ -168,8 +167,8 @@
|
||||
"timePeriod": "05-min"
|
||||
},
|
||||
{
|
||||
"devTeam": "vikingsalerts",
|
||||
"bot": "bot-vikingsalerts",
|
||||
"devTeam": "user",
|
||||
"bot": "bot-user",
|
||||
"mode": "live",
|
||||
"resumeExecution": true,
|
||||
"type": "Trading",
|
||||
@@ -177,6 +176,9 @@
|
||||
"process": "Trading-Process",
|
||||
"beginDatetime": "2019-08-01T08:00:00.000Z",
|
||||
"timePeriod": "05-min",
|
||||
"dataSet": "Multi-Period-Daily"
|
||||
"dataSet": "Multi-Period-Daily",
|
||||
"baseAsset": "assetB",
|
||||
"balanceAssetA": 0,
|
||||
"balanceAssetB": 0.001
|
||||
}
|
||||
]
|
||||
Reference in new issue
Block a user