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

GDAX listens to fills #173

Closed
szd116 opened this issue May 1, 2018 · 4 comments
Closed

GDAX listens to fills #173

szd116 opened this issue May 1, 2018 · 4 comments

Comments

@szd116
Copy link

szd116 commented May 1, 2018

Hi guys,

First of all thank you very much for this great stream api. Just a quick question for the GDAX api, how do I listen to my fills ? I can listen to all the fills like below, the trade object doesn't even have an orderID, but ideally my fills should be pushed to me, any ideas? Thank you again for this great API.

  exchange.getStreamingMarketDataService().getTrades(CurrencyPair.BTC_USD).subscribe(trade -> {
        LOG.info("TRADE: {}", trade);
@bryantharris
Copy link
Contributor

I've implemented this in pull request #160. I'm using it currently. It returns a UserTrade object (subclass of the Trade object) that contains the orderID information.

@declan94
Copy link
Collaborator

Private subscription is not supported currently.

@szd116
Copy link
Author

szd116 commented May 21, 2018 via email

@badgerwithagun
Copy link
Collaborator

#160 has now been merged, so you can use it by running a snapshot build.

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

No branches or pull requests

5 participants