-
Notifications
You must be signed in to change notification settings - Fork 217
Fix gdax disconnect NPE/Bitmex execution reports/bug-fix rollup #191
Fix gdax disconnect NPE/Bitmex execution reports/bug-fix rollup #191
Conversation
[maven-release-plugin] copy for tag xchange-stream-parent-4.3.0
[maven-release-plugin] copy for tag xchange-stream-parent-4.3.1
[maven-release-plugin] copy for tag xchange-stream-parent-4.3.2
…tandgreatest # Conflicts: # pom.xml # service-netty/src/main/java/info/bitrich/xchangestream/service/netty/NettyStreamingService.java # service-netty/src/main/java/info/bitrich/xchangestream/service/netty/WebSocketClientHandler.java # xchange-binance/src/main/java/info/bitrich/xchangestream/binance/dto/TickerBinanceWebsocketTransaction.java # xchange-okcoin/src/test/java/info/bitrich/xchangestream/okcoin/OkCoinStreamingMarketDataServiceTest.java
My change is just the null checks. Everything else is from #141. |
OK, the changes from #141 are causing me some problems when using the same market data service repeatedly (disconnect/reconnect) since the executor's been shut down. It's also not waiting for shutdown before signalling completion/ I have a fix coming on this PR but want to test it a bit more. |
…tion. Ensure that disconnecting when already disconnected returns onCompletion. Allow reconnection to occur afterwards.
Broken by the upgrade to 4.3.11. I don't use Bitmex so can't help there. |
@Flemingjp After upgrade to XChange 4.3.11, all the examples for Bitmex have broken. What do you think? |
@declan94: yes, I was thinking doing so might help things along. All the Bitmex stuff here was rolled in as part of other peoples' PRs a long time ago and I wasn't comfortable having a bunch of code here I hadn't tested anyway. I'm happy to revert the Bitmex changes on this branch (probably tonight, Euro time) leaving us with a clean review, and if you could then create a rebased branch and create a new PR we can go from there. |
Right, sorry about the delay. Been busy with other things. I'm going to try and surgically extract the Bitmex changes now. |
…be split out to a separate PR for review.
OK, I've removed all the Bitmex-specific changes. These were removed in 55513ff. Hopefully this is good to merge now! @declan94 , if you could submit your review, I'll fix up anything you spot. Once that's done, I'll resubmit the Bitmex changes separately for someone who uses BitMex to finish off. Just a reminder, only about 20% of the changes here are actually my work (and none of the Bitmex stuff). |
@badgerwithagun So this is just GDAX work now? |
@Flemingjp : updated list:
|
@badgerwithagun Ready to merge this PR if all is good on your end |
@Flemingjp yep. |
…h-info#191. This is has some issues with the latest codeset (in particular, it doesn't compile against XChange 4.3.11). It needs the attention of someone who actually uses BitMex.
This also rolls in a rebased version of #141 which looked related enough to do at the same time.
Also includes:
ObjectMapper
instances and use them more efficiently (usetreeToValue()
)