Files
Superalgos/Network/bot.js
T

28 lines
543 B
JavaScript

exports.newBot = function newBot() {
let thisObject = {
botId: undefined,
botAsset: undefined,
botExchange: undefined,
enabled: undefined,
initialize: initialize,
finalize: finalize
}
return thisObject
function finalize() {
}
function initialize(
botId,
botAsset,
botExchange
) {
thisObject.botId = botId
thisObject.botAsset = botAsset
thisObject.botExchange = botExchange
thisObject.enabled = true
}
}