Skip to content
This repository has been archived by the owner on Jun 8, 2020. It is now read-only.

[HitBTC] Is there a way for me to know whether my trades get executed ? #229

Closed
szd116 opened this issue Oct 9, 2018 · 6 comments
Closed
Labels

Comments

@szd116
Copy link

szd116 commented Oct 9, 2018

Is there a way for me to know whether my trades get executed ? for instance, I would like to know the status of my trades, whether it's partial fill, or full fill through web socket ? At this point I can see trades through web sockets for instance:
TRADE: {} Trade [type=BID, originalAmount=0.02, currencyPair=BTC/USD, price=6657.81, timestamp=Tue Oct 09 04:56:05 EDT 2018, id=377800796]

There is no status of these trades. The instance I am interested in particular is HITBTC. Thanks.

@fynnfluegge
Copy link

fynnfluegge commented Oct 9, 2018

I would recommend to check your own trade status via rest API and your account infos.

However, I think this is not possible via Websockets

@szd116
Copy link
Author

szd116 commented Oct 9, 2018

Making a API call not only it's slow but there is a rate limit to it.

@Flemingjp Flemingjp changed the title Is there a way for me to know whether my trades get executed ? [HitBTC] Is there a way for me to know whether my trades get executed ? Oct 9, 2018
@Flemingjp
Copy link
Collaborator

Looking at the documentation for HitBTC there is some endpoints that maybe useful . However it appears it is not yet implemented in this library.

@badgerwithagun
Copy link
Collaborator

Execution report support is only just starting to arrive. Status:

HitBTC support is currently not available. @szd116, feel free to raise a feature request. There might be other HitBTC users who would be keen to implement it. In the meantime you may be interested to know that you can get the published rate limits from Exchange.getExchangeMetaData() (see https://knowm.org/javadocs/xchange/org/knowm/xchange/dto/meta/ExchangeMetaData.html). I personally write my polling code to fit within these limits when I am using exchanges with no support for this stuff.

@szd116
Copy link
Author

szd116 commented Oct 9, 2018

Thank you gentlemen for the prompt reply. I will raise a request.

@Flemingjp
Copy link
Collaborator

#232

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

No branches or pull requests

4 participants