Merge pull request #752 from Luis-Fernando-Molina/develop
Contribution: Pre-relese details at client console logs
This commit is contained in:
2 files changed
+26
-21
No files matched your search
+20
-15
@@ -70,47 +70,47 @@ try {
|
||||
WEB_SERVER = WEB_SERVER.newWebServer()
|
||||
WEB_SERVER.initialize()
|
||||
WEB_SERVER.run()
|
||||
console.log('Web Server ......................... Started')
|
||||
console.log('Web Server .................................................. Started')
|
||||
|
||||
UI_FILE_SERVER = UI_FILE_SERVER.newUIFileServer()
|
||||
UI_FILE_SERVER.initialize()
|
||||
UI_FILE_SERVER.run()
|
||||
console.log('UI File Server ..................... Started')
|
||||
console.log('UI File Server .............................................. Started')
|
||||
|
||||
PROJECT_FILE_SERVER = PROJECT_FILE_SERVER.newProjectFileServer()
|
||||
PROJECT_FILE_SERVER.initialize()
|
||||
PROJECT_FILE_SERVER.run()
|
||||
console.log('Project File Server ................ Started')
|
||||
console.log('Project File Server ......................................... Started')
|
||||
|
||||
PLUGIN_SERVER = PLUGIN_SERVER.newPluginServer()
|
||||
PLUGIN_SERVER.initialize()
|
||||
PLUGIN_SERVER.run()
|
||||
console.log('Plugin Server ...................... Started')
|
||||
console.log('Plugin Server ............................................... Started')
|
||||
|
||||
DATA_FILE_SERVER = DATA_FILE_SERVER.newDataFileServer()
|
||||
DATA_FILE_SERVER.initialize()
|
||||
DATA_FILE_SERVER.run()
|
||||
console.log('Data File Server ................... Started')
|
||||
console.log('Data File Server ............................................ Started')
|
||||
|
||||
EVENT_SERVER = EVENT_SERVER.newEventServer()
|
||||
EVENT_SERVER.initialize()
|
||||
EVENT_SERVER.run()
|
||||
console.log('Events Server ...................... Started')
|
||||
console.log('Events Server ............................................... Started')
|
||||
|
||||
TASK_MANAGER_SERVER = TASK_MANAGER_SERVER.newTaskManagerServer(WEB_SOCKETS_INTERFACE, EVENT_SERVER)
|
||||
TASK_MANAGER_SERVER.initialize()
|
||||
TASK_MANAGER_SERVER.run()
|
||||
console.log('Task Manager Server ................ Started')
|
||||
console.log('Task Manager Server ......................................... Started')
|
||||
|
||||
CCXT_SERVER = CCXT_SERVER.newCCXTServer()
|
||||
CCXT_SERVER.initialize()
|
||||
CCXT_SERVER.run()
|
||||
console.log('CCXT Server ........................ Started')
|
||||
console.log('CCXT Server ................................................. Started')
|
||||
|
||||
WEB3_SERVER = WEB3_SERVER.newWeb3Server()
|
||||
WEB3_SERVER.initialize()
|
||||
WEB3_SERVER.run()
|
||||
console.log('WEB3 Server ........................ Started')
|
||||
console.log('WEB3 Server ................................................. Started')
|
||||
|
||||
console.log('')
|
||||
console.log('CLIENT INTERFACES:')
|
||||
@@ -119,25 +119,30 @@ try {
|
||||
WEB_SOCKETS_INTERFACE = WEB_SOCKETS_INTERFACE.newWebSocketsInterface(EVENT_SERVER)
|
||||
WEB_SOCKETS_INTERFACE.initialize()
|
||||
WEB_SOCKETS_INTERFACE.run()
|
||||
console.log('Web Sockets Interface .............. Listening at port ' + global.env.WEB_SOCKETS_INTERFACE_PORT)
|
||||
console.log('Web Sockets Interface ....................................... Listening at port ' + global.env.WEB_SOCKETS_INTERFACE_PORT)
|
||||
|
||||
HTTP_INTERFACE = HTTP_INTERFACE.newHttpInterface(WEB_SERVER, DATA_FILE_SERVER, PROJECT_FILE_SERVER, UI_FILE_SERVER, PLUGIN_SERVER, CCXT_SERVER, WEB3_SERVER)
|
||||
HTTP_INTERFACE.initialize()
|
||||
HTTP_INTERFACE.run()
|
||||
console.log('Http Interface ..................... Listening at port ' + global.env.HTTP_INTERFACE_PORT)
|
||||
console.log('Http Interface .............................................. Listening at port ' + global.env.HTTP_INTERFACE_PORT)
|
||||
|
||||
console.log('')
|
||||
console.log("You are running Superalgos Beta 9")
|
||||
console.log('')
|
||||
console.log("What's new? The following was implemented here:")
|
||||
console.log('')
|
||||
console.log('Merket Data Structure .............. This allows any strategy to use data from markets different from the one it is running at.')
|
||||
console.log('Exchange Data Structure ............ This allows any strategy to use data from exchanges and markets different from the one it is running at.')
|
||||
console.log('Market Data Structure ....................................... This allows any strategy to use data from markets different from the one it is running at.')
|
||||
console.log('Exchange Data Structure ..................................... This allows any strategy to use data from exchanges and markets different from the one it is running at.')
|
||||
console.log('Tensor Flow Integration ..................................... This allows the creation and training of ML models that later can be used for predictions.')
|
||||
console.log('SA Token .................................................... This allows the project to compensate contributors that add value to it.')
|
||||
console.log('')
|
||||
console.log("What's next? At the development pipeline we have:")
|
||||
console.log('')
|
||||
console.log('Ethereum Integration ............... This will allow mining data from an Ethereum network node, create indicators with it, an use it on strategies.')
|
||||
console.log('Machine Learning Infrastructure .... This will enable a new kind of Bot that can learn from data mined. Later that knowledge can be used at trading strategies.')
|
||||
console.log('Contribution Management ..................................... This will allow us to manage contributions at scale, and distribute the SA token more efficiently at each release.')
|
||||
console.log('Infraestructure to sensor any API .......................... This will allow us to fetch data from any API, turn it into indicators and plot it.')
|
||||
console.log('Usage of ML Predictions at Trading Systems .................. This will enable a new kind of Bot that can learn from data mined. Later that knowledge can be used at trading strategies.')
|
||||
console.log('Ethereum Integration ........................................ This will allow mining data from an Ethereum network node, create indicators with it, an use it on strategies.')
|
||||
|
||||
console.log('')
|
||||
|
||||
} catch (err) {
|
||||
|
||||
@@ -43,18 +43,18 @@ let maxOldSpaceSize = "--max-old-space-size=" + (optimalRAM.toFixed(0)).toString
|
||||
let options
|
||||
|
||||
console.log('')
|
||||
console.log("Total RAM istalled in this system is ..... " + (totalRAM / 1024).toFixed(2) + " GB")
|
||||
console.log("Total RAM istalled in this system is ........................ " + (totalRAM / 1024).toFixed(2) + " GB")
|
||||
if (process.argv.includes("minMemo")) {
|
||||
options = {
|
||||
stdio: 'inherit'
|
||||
}
|
||||
console.log("Total RAM available for Superalgos is .... 512 MB")
|
||||
console.log("Total RAM available for Superalgos is ....................... 512 MB")
|
||||
} else {
|
||||
options = {
|
||||
execArgv: [maxOldSpaceSize],
|
||||
stdio: 'inherit'
|
||||
}
|
||||
console.log("Total RAM available for Superalgos is .... " + (optimalRAM / 1024).toFixed(2) + " GB")
|
||||
console.log("Total RAM available for Superalgos is ....................... " + (optimalRAM / 1024).toFixed(2) + " GB")
|
||||
console.log('')
|
||||
console.log('If you would like to enable less RAM than that, use the minMemo flag. Note: RAM will be allocated only if needed.')
|
||||
}
|
||||
@@ -66,16 +66,16 @@ let optionsAccepted = 0
|
||||
|
||||
if (process.argv.includes("minMemo")) {
|
||||
optionsAccepted++
|
||||
console.log('minMemo ............................ Running with Minimun Required Memory.')
|
||||
console.log('minMemo ..................................................... Running with Minimun Required Memory.')
|
||||
}
|
||||
|
||||
if (process.argv.includes("noBrowser")) {
|
||||
optionsAccepted++
|
||||
console.log('noBrowser .......................... Running without User Interface.')
|
||||
console.log('noBrowser ................................................... Running without User Interface.')
|
||||
}
|
||||
|
||||
if (optionsAccepted === 0) {
|
||||
console.log('none ............................... Running without any command line options.')
|
||||
console.log('none ........................................................ Running without any command line options.')
|
||||
}
|
||||
console.log('')
|
||||
console.log('')
|
||||
|
||||
Reference in new issue
Block a user