Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configurate #9

Open
Wolokal opened this issue Mar 1, 2021 · 0 comments
Open

Configurate #9

Wolokal opened this issue Mar 1, 2021 · 0 comments

Comments

@Wolokal
Copy link

Wolokal commented Mar 1, 2021

Some one can explain how to setup for The best Solutions? and whats means and how works this commands?

let config = {}

// Config HERE
// !!! The coin to trade in, make sure you have some in your balance
config.TRADE_IN = 'BTC'
// Should market price BUY ALL upon symbol
config.BUY_UPON_SYMBOL = true
// How many X before take profit happens (will sell 100%)
config.HARD_TAKE_PROFIT = 3.3
// Where to stop loss
config.HARD_STOP_LOSS = 0.75
// Soft stop loss (Array, please put in ascending order, orders will be put in quantity of divide of the array length, e.g length = 3 then sell 1/3 every time)
// Not used anymore, bugs exist
// config.SOFT_TAKE_PROFIT = [5, 6, 7, 8]
// config.SOFT_TAKE_PROFIT_PERCENT = 0.7 // How many * available are selling
// Peak take profit
config.PEAK_TAKE_PROFIT_THRESHOLD = 2
// After Peak threshold, if TIMEOUT ms later the profit times is not greater than right now, SELL ALL
config.PEAK_TAKE_PROFIT_TIMEOUT = 700
// Max drawback starting point
config.MAX_DRAWBACK_START = 2
// Max drawback to trigger take profit
config.MAX_DRAWBACK = 0.7

module.exports = config

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant