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

Unable to post trades with Hitbtc #952

Closed
gpearson100 opened this issue Dec 20, 2017 · 4 comments
Closed

Unable to post trades with Hitbtc #952

gpearson100 opened this issue Dec 20, 2017 · 4 comments
Labels
bug exchange Relating to an exchange

Comments

@gpearson100
Copy link

gpearson100 commented Dec 20, 2017

System information

  • Have I written custom code (as opposed to using zenbot vanilla): No

  • OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 17.10

  • Zenbot version: 4.05

  • NodeJS version: v8.9.3

  • Python version: Python 2.7.14

  • Exact command to reproduce:
    ./zenbot.sh trade --manual --period=1m hitbtc.ZEC-BTC --days=3 --buy_pct=100 --sell_pct=100 --debug

Describe the problem

Unable to post trades with Hitbtc, API access appears good as it gets correct account balance. I also verified that my API key has post trade permission.

Source code / logs

image

@DeviaVir DeviaVir added the bug label Dec 20, 2017
@mtx250
Copy link

mtx250 commented Dec 20, 2017

I believe remember that Hitbtc its in building, in the section of the code, the devolpeer write that this exchange haven't full funtionality.

https://github.com/carlos8f/zenbot/tree/master/extensions/exchanges/hitbtc

@DeviaVir DeviaVir reopened this Dec 28, 2017
@station384
Copy link
Contributor

I have run into this aswell. I messed with the code, and got it to go further, to the point there hitbtc complains about the amount ordered. some of my solutions were to fix the products.json. it doesn't include the the fields min_size, max_size, min_total. also not entirely sure what those values should match up to from the data hitbtc.

exchange.js also does not pass in the correct market to trade on. confirmed this by hard coding a market.

I may keep hacking on this to get it to work, but part of the problem is information that hitbtc requires for the api is not available in the current config, there would have to be mods the engine to accommodate some of the functions. Not that big of a deal, I just don't have much time to do it myself and post the changes.

In summary, it isn't finished, needs work.

@brucetus
Copy link
Contributor

brucetus commented Jan 22, 2018

I've fixed placing buy/sell orders however now there are problems with the getOrder function

@DeviaVir DeviaVir added the exchange Relating to an exchange label Jan 23, 2018
@station384
Copy link
Contributor

I have reworked this exchange, there is a pull #1346 that implements a working hitbtc.

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

5 participants