Update Trader to Trading

This commit is contained in:
Barry Low committed 2019-03-23 13:23:13 +01:00
1 parent a022521343
commit 73815df2d7
4 files changed
+12 -12

No files matched your search

+2 -2
View File
@@ -1,9 +1,9 @@
export const Trader = 'Trading'
export const Trading = 'Trading'
export const Indicator = 'Indicator'
export const Sensor = 'Extraction'
export const BotTypesEnum = [
Trader,
Trading,
Indicator,
Sensor
]
+2 -2
View File
@@ -4,7 +4,7 @@ import { KubernateError } from '../errors'
import { Client, config } from 'kubernetes-client'
import deploymentManifest from '../config/clone-deployment.json'
import { BACKTEST, COMPETITION, LIVE, NO_TIME } from '../enums/CloneMode'
import { Trader, Indicator, Sensor } from '../enums/BotTypes'
import { Trading, Indicator, Sensor } from '../enums/BotTypes'
const createClone = async (clone) => {
try {
@@ -82,7 +82,7 @@ const createClone = async (clone) => {
})
logger.debug('createClone Trading Configuration.')
if (clone.botType === Trader) {
if (clone.botType === Trading) {
env.push({
'name': 'RESUME_EXECUTION',
'value': clone.resumeExecution.toString()