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

Bittrex trade error (don't selling/buying) #1970

Closed
cpoho opened this issue Dec 18, 2019 · 3 comments
Closed

Bittrex trade error (don't selling/buying) #1970

cpoho opened this issue Dec 18, 2019 · 3 comments
Labels
bug exchange Relating to an exchange

Comments

@cpoho
Copy link

cpoho commented Dec 18, 2019

API Error
{"success":false,"message":"RATE_PRECISION_NOT_ALLOWED","result":null}
RATE_PRECISION_NOT_ALLOWED

{ Error: order not found in cache
at Object.getOrder (/home/cpoho/zenbot/extensions/exchanges/bittrex/exchange.js:370:29)
at checkOrder (/home/cpoho/zenbot/lib/engine.js:831:16)
at Timeout._onTimeout (/home/cpoho/zenbot/lib/engine.js:309:31)
at ontimeout (timers.js:498:11)
at tryOnTimeout (timers.js:323:5)
at Timer.listOnTimeout (timers.js:290:5) desc: 'could not execute sell: error placing order' }

@cpoho cpoho changed the title Bittrex tade error (don't selling/buying) Bittrex trade error (don't selling/buying) Dec 18, 2019
@DeviaVir DeviaVir added bug exchange Relating to an exchange labels Dec 18, 2019
@cpoho
Copy link
Author

cpoho commented Dec 18, 2019

I'm using default config and these settings:
./zenbot.sh trade --trend_ema 22 -period 3m --max_slippage_pct 0.2 --poll_trades 5000 --order_poll_time 3000 --order_adjust_time 3000 --oversold_rsi_periods=1000 --oversold_r si=1000 --rsi_periods=1100 --neutral_rate=0.017 --max_sell_loss_pct=0.001 --max_buy_loss_pct=5 --buy_pct=100 --sell_pct=100 --selector bittrex.eth-usd --markup_sell_pct 0.001 --markdown_buy_pct 0.001 --reset-profit

@Astrali
Copy link

Astrali commented Dec 19, 2019

can't test right now - could you try following steps:
edit the file:

/extensions/exchanges/bittrex/products.json

and in this block here - change the increment to 0.001

{
    "asset": "ETH",
    "currency": "USD",
    "min_size": "0.01338091",
    "max_size": "1000000",
    "increment": "0.00000001",
    "label": "USD/ETH"
  },

Bittrex only shows 0.001 trades - so i guess 8 increments is probably not accepted

@cpoho
Copy link
Author

cpoho commented Dec 23, 2019

@Astrali thank you! It works well!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug exchange Relating to an exchange
Projects
None yet
Development

No branches or pull requests

3 participants