DeviaVir / zenbot

Zenbot is a command-line cryptocurrency trading bot using Node.js and MongoDB.
MIT License
8.22k stars 2.04k forks source link

Bittrex Problem #1514

Open DrMabuse-2017 opened 6 years ago

DrMabuse-2017 commented 6 years ago

System information

Hello guys... i have a problem wit bittrex

example: Step 1. 2018-03-18 20:50:41 - placing sell order... Step 2. 2018-03-18 20:50:41 - sell order placed at 0.00000349 BTC

I have see the sell order in bittrex !

Step 3. 2018-03-18 20:54:24 - 0.00000348 vs our 0.00000349 Step 4. 2018-03-18 20:54:25 - cancel failed, order done, executing

Now the result from Step 4: sell order completed at 2018-03-18 20:54:25: 14384.85027394 XVG at 0.00000349 BTC total 0.0502031 BTC 0.0000% slippage (orig. price 0.00000349 BTC) execution: 4 minutes

I think the Step 4 is wrong.

The sequence and the order of functions (Step 4) is wrong?

The order was definitely not executed! But in zenbot is the order executing.

Take a look in screenshot

who can tell me what is wrong

The command ./zenbot.sh trade bittrex.XVG-BTC --debug --strategy trend_ema --conf=conf.bittrex.js --trend_ema 21 --period_length 1m --period 1m --max_slippage 0.001 --poll_trades 6000 --order_poll_time 3000 --order_adjust_time 4000 --oversold_rsi_periods=1000 --oversold_rsi=1000 --neutral_rate=0.065 --max_sell_loss_pct=0.85 --max_buy_loss_pct=5 --buy_pct=100 --sell_pct=100 --rsi_periods 1100 --profit_stop_enable_pct 1 --profit_stop_percent 0.5 --markup_sell_pct 0.02 --markdown_buy_pct 0.02 --reset-profit

Many Thanks Mario bittrex_bad_failed

fdk0 commented 6 years ago

This happen to me too on bittrex.. (sorry for the +1). It usually happened on order cancel, buy or sell. So it messes the trade count and probably the rest of the options that works with profit or loss. I can provide screenshot but as shown above it's the exact same problem. Cheers