So guys,
I'm pretty lost in this BB theory now.. comparing it to the graphs in Bittrex but not seeing a lot of
Now been running 11 pairs for quite a while now, the bot has made 1 bought so far.
Using v.3.3.2 on a Macbook
Now i just had the following error:
PriceToBuy 673.4074 priceToSell 695.2617
we have altcoins: 0.75234452
LP 696.0186 >= prSell 695.26168 secMargin 0.017355860394736845 falls yes
price to sell: 0.069526168
price is sweet
price fall -> sell
2017/10/06 21:03:56 Error: Missing price to sell
!!! Cycle 41 failed. Will repeat in 60s
Attached a screenshot of the situation in Bittrex at that exact moment.
In my opinion it had to sell, right?
The bot is working with the following settings, in a BB range of 25/25
var config = {
// DEBUG
DEBUG_LOG:false,
I_REALLY_WANT_IT:false,
BUY_SMALL_PORTION:1,
INSUFFICIENT_FUNDS_ON_SELL_FIX: 0.0005,
INSUFFICIENT_FUNDS_ON_BUY_FIX: 0.0005,
//-----------------------------------------------
// STARTUP OPTIONS
//-----------------------------------------------
SELL_ON_START:false,
CANCEL_SELL_ORDERS_ON_START:false,
CANCEL_BUY_ORDERS_ON_START:false,
CANCEL_OPEN_ORDERS_ON_START:false,
MAX_LATEST_PRICES:300,// limit of latest prices to analyze to determine if price is growing or falling
MAX_LATEST_DIRECTIONS:30,// limit of latest price directions ,used in supergun detection
MAX_LATEST_PRICES_TREND:30,
MAX_LAST_ORDERS:5, // keeping last orders bought
PERIOD: 15, // candlestick period
SAVEFILE_SUFFIX: '-save.json',
//-----------------------------------------------
// PRIMARY SETTINGS
DEFAULT_MARKET_NAME:'bittrex',
DEFAULT_CURRENCY_PAIR:'BTC_ETH', // single pair format for all markets !
BUYLVL1: 0.1,
BUYLVL2: 5,
BUYLVL3: 40,
SELLLVL1: 2,
SELLLVL2: 5,
SELLLVL3: 70,
BUY_STRATEGY: 'BB', // accepted values BB or STEPGAIN or GAIN or PINGPONG
SELL_STRATEGY: 'BB', // accepted values BB or STEPGAIN or GAIN or PINGPONG
LOW_BB: 25,
HIGH_BB: 25,
PINGPONG_BUY: 0.12345678,
PINGPONG_SELL: 0.12345678,
BUY_LEVEL: 3, // If GAIN buy strategy is used, buy at this percentual below lower ema value
GAIN: 2, // If GAIN sell strategy is used, sell at this percentual above bought price
BTC_TRADING_LIMIT: 0.005,// max amount of BTC balance to use for each pair
SECURITY_MARGIN: 75, // sell all balance if currency decreases x% after you bought it
MIN_VOLUME_TO_BUY: 0.0005, // bitrex min volume
i hope someone can explain to me what's wrong here??
Or am i just not getting it?
Thanks!