GDAX listens to fills
szd116 opened this issue · 4 comments
szd116 commented
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 commented
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 commented
Private subscription is not supported currently.
szd116 commented
Thanks for the reply. I really like your work please keep up the good work.
…On Sat, May 19, 2018 at 6:55 AM, Ye Chen ***@***.***> wrote:
Private subscription is not supported currently.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#173 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/Aismglsh7B3vMXICrxGST_PhE4D3EIaIks5tz_o2gaJpZM4Ttcwk>
.
--
Siyu Dai
Cornell University.
Master in Financial Engineering.
badgerwithagun commented
#160 has now been merged, so you can use it by running a snapshot build.