Skip to content
This repository has been archived by the owner on Feb 15, 2022. It is now read-only.

Commit

Permalink
Edit max_sell/buy_loss_pct defaults in conf-sample.js (#1578)
Browse files Browse the repository at this point in the history
* Changed default c.max_sell_loss_pct and c.max_buy_loss_pct to 99. With a value of 25, once the current price is 25% under the bought price the bot would refuse to sell unless the current price goes back above the 25% loss, however, this doesn't always happen and can cause the bot to refuse sells and end up with a huge loss. Also the descriptions for these options are very vague and confusing and I don't think most users know what they even are or would want them to use them. If my interpretation of what the option actually does is incorrect let me know.
  • Loading branch information
brucetus authored and DeviaVir committed May 14, 2018
1 parent 1735ab4 commit 96bced2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions conf-sample.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,9 @@ c.sell_pct = 99
// ms to adjust non-filled order after
c.order_adjust_time = 5000
// avoid selling at a loss below this pct set to 0 to ensure selling at a higher price...
c.max_sell_loss_pct = 25
c.max_sell_loss_pct = 99
// avoid buying at a loss above this pct set to 0 to ensure buying at a lower price...
c.max_buy_loss_pct = 25
c.max_buy_loss_pct = 99
// ms to poll order status
c.order_poll_time = 5000
// ms to wait for settlement (after an order cancel)
Expand Down

0 comments on commit 96bced2

Please sign in to comment.