Some module descrptions

This commit is contained in:
Luis Fernando Molina committed 2020-06-20 14:59:32 +02:00
1 parent 7ba3d51c70
commit 5217343f40
8 files changed
+26 -5

No files matched your search

+3 -1
View File
@@ -1,5 +1,7 @@
exports.newSnapshots = function newSnapshots(bot, logger) {
/*
This module encapsulates the snapshots functionality.
*/
const MODULE_NAME = 'Snapshots'
let thisObject = {
+4
View File
@@ -1,4 +1,8 @@
exports.newTradingEngine = function newTradingEngine(bot, logger) {
/*
We call the Trading Engine to the data structure that is needed in order to exevute the
trading protocol with the specific rules defined at the Trading System.
*/
const MODULE_NAME = 'Trading Engine'
let thisObject = {
setCurrentCandle: setCurrentCandle,
+3 -1
View File
@@ -1,5 +1,7 @@
exports.newTradingExecution = function newTradingExecution(bot, logger) {
/*
The Trading Execution modules manages the execution of orders against the exchanges.
*/
const MODULE_NAME = 'Trading Execution'
let thisObject = {
+4
View File
@@ -1,4 +1,8 @@
exports.newTradingOutput = function newTradingOutput(bot, logger, UTILITIES, FILE_STORAGE) {
/*
This module will load if necesary all the data outputs so that they can be appended with new
records if needed. After running the simulation, it will save all the data outputs.
*/
const FULL_LOG = true
const MODULE_NAME = 'Trading Bot'
+1 -2
View File
@@ -1,7 +1,6 @@
exports.newTradingProcess = function newTradingProcess(bot, logger, UTILITIES, TRADING_OUTPUT_MODULE, USER_BOT_COMMONS) {
/*
This Module will load all the process data dependencies from files and send them to the Trading Bot.
This Module will load all the process data dependencies from files and send them downstream.
After execution, will save the time range and status report of the process.
*/
const FULL_LOG = true;
+3 -1
View File
@@ -1,5 +1,7 @@
exports.newTradingRecords = function newTradingRecords(bot, logger) {
/*
This module facilitates the appending of records to the output of the process.
*/
const MODULE_NAME = 'Trading Records'
let thisObject = {
+4
View File
@@ -1,4 +1,8 @@
exports.newTradingSimulation = function newTradingSimulation(bot, logger, UTILITIES) {
/*
This Module represents the trading simulacion. Escentially a loop through a set of candles and
the execution at each loop cycle of the Trading System Protocol.
*/
const FULL_LOG = true
const MODULE_NAME = 'Trading Simulation -> ' + bot.SESSION.name
+4
View File
@@ -1,4 +1,8 @@
exports.newTradingSystem = function newTradingSystem(bot, logger) {
/*
The Trading System is the user defined set of rules compliant with the Trading Protocol that
defines the trading logic to be applied during each cycle of the Simulation.
*/
const MODULE_NAME = 'Trading System'
let thisObject = {
reset: reset,