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

hitbtc doesn't submit trades #2172

Closed
zaphbbrox opened this issue May 23, 2020 · 3 comments
Closed

hitbtc doesn't submit trades #2172

zaphbbrox opened this issue May 23, 2020 · 3 comments
Labels
bug exchange Relating to an exchange

Comments

@zaphbbrox
Copy link

System information

  • Have I written custom code (as opposed to using zenbot vanilla):
    • No.
  • OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
    • Debian 9.12
  • Zenbot version (commit ref, or version):
    • 4.1.0
  • Zenbot branch:
    • unstable
  • NodeJS version:
    • v14.3.0
  • Python version (when using a python script):
  • Exact command to reproduce (include everything):
    • ./zenbot.sh trade --paper hitbitc.BTC-USDT
  • Did I make any changes to conf-sample.js?:
    • only entered API key and XMPP credentials in conf.js

Describe the problem

First of all, I'm aware there is a similiar open issue (#699), but since it wasn't updated in the last years I decided to open a new one.

After a successful installation everything seemed to work fine. backfill, sim and Web-UI are all working.
BUT:
In trade mode zenbot doesn't execute automatic orders, manual orders are only executed with --paper option. It's running now for several hours and in sim mode there were some trades in that time range.

Source code / Error logs

Not sure what could be helpful, so just write me and I'll provide logs and stuff.
Debug mode gave me no output.

@DeviaVir DeviaVir added bug exchange Relating to an exchange labels May 25, 2020
@zaphbbrox
Copy link
Author

A small update after scrolling trough the output of the last day:

  • automatic orders are being executed, but still don't being pushed to hitbtc in live mode
  • API can connect, since it's loading my balances correctly and I see a correct timestamp on hitbtc under "last use"
  • also timesyncd is being used on the computer running zenbot

@zaphbbrox
Copy link
Author

After changing the trading pair to ETH-USDT it's working! Yay 😁
But still not sure why BTC trading is not working, since I was able to sell/buy on hitbtc, so a limit could not be in effect. Or are there different limits for the API use?
Nevertheless I close this issue. Feel free to re-open or ask anything.

Thanks for maintaining this repo! ⭐

@highlife22
Copy link

highlife22 commented Jun 1, 2020

Hello,
I have the same issue so i check,
in products.json for hitbtc,

 {
    "asset": "BTC",
    "currency": "USD",
    "min_size": 0.001,
    "increment": "0.00001",
    "label": "BTC/USD"
  }

Value from https://api.hitbtc.com/api/2/public/symbol/BTCUSD

{
"id":"BTCUSD",
"baseCurrency":"BTC",
"quoteCurrency":"USD",
"quantityIncrement":"0.00001",
"tickSize":"0.01",
"takeLiquidityRate":"0.002",
"provideLiquidityRate":"0.001",
"feeCurrency":"USD"
}

Now it work correctly

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