Browse Source

updpated some env

develop
ZER0 COOL 5 months ago
parent
commit
d9ccbc164d
4 changed files with 5 additions and 73 deletions
  1. +3
    -2
      .env.example
  2. +2
    -1
      .gitignore
  3. +0
    -35
      strategies/DCA.js
  4. +0
    -35
      strategies/skystrat.js

+ 3
- 2
.env.example View File

@ -1,7 +1,8 @@
#hostname localhost is generally used in a test env.
HOST=localhost
#listening por
PORT=3000
#listening port
API_PORT=3000
UI_PORT=443
#enable this if youre using a ssl certificate. acceptable values are 1 or 0: denoting on or off.
USE_SSL=0
#Acceptable values are sqlite, postgresql, and mongodb

+ 2
- 1
.gitignore View File

@ -56,6 +56,7 @@ db_backup/*.gz
strategies/testbear.js
telegram-config-eth.js.json
deploy.sh
strategies/DCA.js
strategies/skystrat.js
# Secret files
.env

+ 0
- 35
strategies/DCA.js View File

@ -1,35 +0,0 @@
// Let's create our own strategy
var strat = {};
// Prepare everything our strat needs
strat.init = function() {
// your code!
}
// What happens on every new candle?
strat.update = function(candle) {
// your code!
}
// For debugging purposes.
strat.log = function() {
// your code!
}
// Based on the newly calculated
// information, check if we should
// update or not.
strat.check = function(candle) {
// your code!
}
// Optional for executing code
// after completion of a backtest.
// This block will not execute in
// live use as a live gekko is
// never ending.
strat.end = function() {
// your code!
}
module.exports = strat;

+ 0
- 35
strategies/skystrat.js View File

@ -1,35 +0,0 @@
// Let's create our own strategy
var strat = {};
// Prepare everything our strat needs
strat.init = function() {
// your code!
}
// What happens on every new candle?
strat.update = function(candle) {
// your code!
}
// For debugging purposes.
strat.log = function() {
// your code!
}
// Based on the newly calculated
// information, check if we should
// update or not.
strat.check = function(candle) {
// your code!
}
// Optional for executing code
// after completion of a backtest.
// This block will not execute in
// live use as a live gekko is
// never ending.
strat.end = function() {
// your code!
}
module.exports = strat;

Loading…
Cancel
Save