-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.js
35 lines (24 loc) · 1.81 KB
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/* eslint-disable no-unused-vars */
/*
* This is the entry point of program. Select the strategy or analyzer(s)
*/
const momentumStrategyStart = require("./strategies/momentumTrading/momentumTrading");
const momentumStrategyAnalyzerStart = require("./strategies/momentumTrading/momentumTradingAnalyzer");
const momentumWithStopLossStrategyStart = require("./strategies/momentumTradingWithStopLoss/momentumTradingWithStopLoss");
const reverseMomentumStrategyStart = require("./strategies/reverseMomentumTrading/reverseMomentumTrading");
const reverseMomentumStrategyAnalyzerStart = require("./strategies/reverseMomentumTrading/reverseMomentumTradingAnalyzer");
/*** Make sure to configure the momentumStrategy in ./strategies/momentumTrading/momentumTrading.js or in the .env before launching ***/
//Launches the momentum strategy and starts the bot:
momentumStrategyStart();
//Launches the momentum strategy anaylzer for back testing:
//momentumStrategyAnalyzerStart();
// **********************************************************************************************************************
/*** Make sure to configure the momentumStrategy in ./strategies/momentumTrading/momentumTrading.js or in the .env before launching ***/
//Launches the reverse momentum strategy and starts the bot:
//reverseMomentumStrategyStart();
//Launches the reverse momentum strategy anaylzer for back testing:
//reverseMomentumStrategyAnalyzerStart();
// **********************************************************************************************************************
/*** Make sure to configure the momentumWithStopLossStrategy in ./strategies/momentumTradingWithStopLoss/momentumTradingWithStopLoss.js or in the .env before launching ***/
//Launches the momentum with stop loss strategy and starts the bot:
//momentumWithStopLossStrategyStart();