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

Bitmex misc merge #329

Merged
merged 110 commits into from
Jun 17, 2019
Merged

Bitmex misc merge #329

merged 110 commits into from
Jun 17, 2019

Conversation

henryxwong
Copy link
Contributor

Merge changes from forks created by badgerwithagun and declan94
Since the branch from declan94 is too dated, I only hand picked Bitmex related changes.

declan94 and others added 18 commits May 21, 2019 12:42
…-reports' into bitmex-merge

# Conflicts:
#	xchange-bitmex/src/test/java/info/bitrich/xchangestream/bitmex/BitmexManualExample.java
# Conflicts:
#	pom.xml
#	service-core/pom.xml
#	service-netty/pom.xml
#	service-netty/src/main/java/info/bitrich/xchangestream/service/netty/JsonNettyStreamingService.java
#	service-netty/src/main/java/info/bitrich/xchangestream/service/netty/NettyStreamingService.java
#	service-pubnub/pom.xml
#	service-pusher/pom.xml
#	service-wamp/pom.xml
#	xchange-binance/pom.xml
#	xchange-binance/src/main/java/info/bitrich/xchangestream/binance/BinanceStreamingExchange.java
#	xchange-bitfinex/pom.xml
#	xchange-bitfinex/src/main/java/info/bitrich/xchangestream/bitfinex/BitfinexStreamingExchange.java
#	xchange-bitflyer/pom.xml
#	xchange-bitmex/pom.xml
#	xchange-bitmex/src/main/java/info/bitrich/xchangestream/bitmex/BitmexStreamingExchange.java
#	xchange-bitmex/src/main/java/info/bitrich/xchangestream/bitmex/BitmexStreamingMarketDataService.java
#	xchange-bitmex/src/main/java/info/bitrich/xchangestream/bitmex/BitmexStreamingService.java
#	xchange-bitstamp/pom.xml
#	xchange-bitstamp/src/main/java/info/bitrich/xchangestream/bitstamp/dto/BitstampWebSocketTransaction.java
#	xchange-cexio/pom.xml
#	xchange-coinbasepro/pom.xml
#	xchange-coinbasepro/src/main/java/info/bitrich/xchangestream/coinbasepro/CoinbaseProStreamingMarketDataService.java
#	xchange-coinbasepro/src/main/java/info/bitrich/xchangestream/coinbasepro/CoinbaseProStreamingService.java
#	xchange-coinbasepro/src/main/java/info/bitrich/xchangestream/coinbasepro/dto/CoinbaseProWebSocketTransaction.java
#	xchange-coinbasepro/src/main/java/info/bitrich/xchangestream/coinbasepro/netty/WebSocketClientCompressionAllowClientNoContextHandler.java
#	xchange-coinbasepro/src/test/java/info/bitrich/xchangestream/coinbasepro/CoinbaseProManualExample.java
#	xchange-coinbasepro/src/test/java/info/bitrich/xchangestream/coinbasepro/dto/CoinbaseProWebSocketSubscriptionMessageTest.java
#	xchange-coinbasepro/src/test/resources/log4j2.xml
#	xchange-coinmate/pom.xml
#	xchange-gdax/pom.xml
#	xchange-gdax/src/test/resources/log4j2.xml
#	xchange-gemini/pom.xml
#	xchange-hitbtc/pom.xml
#	xchange-hitbtc/src/main/java/info/bitrich/xchangestream/hitbtc/HitbtcStreamingExchange.java
#	xchange-okcoin/pom.xml
#	xchange-okcoin/src/main/java/info/bitrich/xchangestream/okcoin/OkCoinStreamingExchange.java
#	xchange-okcoin/src/main/java/info/bitrich/xchangestream/okcoin/OkCoinStreamingMarketDataService.java
#	xchange-okcoin/src/main/java/info/bitrich/xchangestream/okcoin/OkCoinStreamingService.java
#	xchange-okcoin/src/test/java/info/bitrich/xchangestream/okcoin/OkExFuturesManualExample.java
#	xchange-okex-v3/pom.xml
#	xchange-okex-v3/src/test/resources/log4j2.xml
#	xchange-poloniex/pom.xml
#	xchange-poloniex2/pom.xml
#	xchange-stream-core/pom.xml
#	xchange-stream-core/src/main/java/info/bitrich/xchangestream/core/StreamingExchange.java
#	xchange-wex/pom.xml
Copy link
Collaborator

@badgerwithagun badgerwithagun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thankyou so much for helping out with this, @henryxwong.

I've worked through and found a few remaining issues (mostly it's the same issue repeated). Any chance you could take a look at those?

Once those changes are in, I think I'm just going to merge and let you and the other users of Bitmex fix from there. There's no point delaying further waiting for Bitmex reviewers to come forward.

@badgerwithagun
Copy link
Collaborator

Resolves #244

@badgerwithagun badgerwithagun added bitmex_delayed There is a backlog of BitMex issues due to a lack of reviewers. awaiting_fixes PR is awaiting submitter to respond to a review labels Jun 16, 2019
… bitmex-merge

# Conflicts:
#	xchange-bitmex/src/main/java/info/bitrich/xchangestream/bitmex/BitmexStreamingExchange.java
@@ -62,13 +58,13 @@ public void testDeadmanSwitch() throws Exception {

final BitmexStreamingMarketDataService streamingMarketDataService = (BitmexStreamingMarketDataService) exchange.getStreamingMarketDataService();
// streamingMarketDataService.authenticate();
CurrencyPair xbtUsd = CurrencyPair.XBT_USD;
CurrencyPair xbtUsd = exchange.determineActiveContract(CurrencyPair.XBT_USD.base.toString(), CurrencyPair.XBT_USD.counter.toString(), PERPETUAL);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

determineActiveContract takes "BTC" rather than "XBT" I think (or should do)...

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah no, works with either. Cool.

@badgerwithagun
Copy link
Collaborator

badgerwithagun commented Jun 17, 2019

Thanks for those changes. @henryxwong. OK, as discussed, I'm going to merge this then move onto the next Bitmex PR.

Could you do me a favour and tell me which PRs you got these changes from, and what you omitted? Then I can close those and open fresh PRs for the remaining changes which you didn't include.

E2A: looks like GitHub closed then automatically. Nothing to worry about.

@badgerwithagun badgerwithagun merged commit 9de93b2 into bitrich-info:develop Jun 17, 2019
@henryxwong henryxwong deleted the bitmex-merge branch June 18, 2019 15:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
awaiting_fixes PR is awaiting submitter to respond to a review bitmex_delayed There is a backlog of BitMex issues due to a lack of reviewers.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants