-
Notifications
You must be signed in to change notification settings - Fork 217
Bitmex misc merge #329
Bitmex misc merge #329
Conversation
…-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
There was a problem hiding this 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.
...bitmex/src/main/java/info/bitrich/xchangestream/bitmex/BitmexStreamingMarketDataService.java
Outdated
Show resolved
Hide resolved
...bitmex/src/main/java/info/bitrich/xchangestream/bitmex/BitmexStreamingMarketDataService.java
Outdated
Show resolved
Hide resolved
...bitmex/src/main/java/info/bitrich/xchangestream/bitmex/BitmexStreamingMarketDataService.java
Outdated
Show resolved
Hide resolved
xchange-bitmex/src/test/java/info/bitrich/xchangestream/bitmex/BitmexDeadManSwitchTest.java
Show resolved
Hide resolved
xchange-bitmex/src/test/java/info/bitrich/xchangestream/bitmex/BitmexDeadManSwitchTest.java
Outdated
Show resolved
Hide resolved
xchange-bitmex/src/test/java/info/bitrich/xchangestream/bitmex/BitmexOrderReplaceTest.java
Outdated
Show resolved
Hide resolved
xchange-bitmex/src/test/java/info/bitrich/xchangestream/bitmex/BitmexOrderReplaceTest.java
Show resolved
Hide resolved
xchange-bitmex/src/test/java/info/bitrich/xchangestream/bitmex/BitmexOrderReplaceTest.java
Show resolved
Hide resolved
xchange-stream-core/src/main/java/info/bitrich/xchangestream/core/StreamingTradeService.java
Outdated
Show resolved
Hide resolved
xchange-bitmex/src/main/java/info/bitrich/xchangestream/bitmex/BitmexStreamingTradeService.java
Outdated
Show resolved
Hide resolved
Resolves #244 |
… 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); |
There was a problem hiding this comment.
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)...
There was a problem hiding this comment.
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.
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. |
Merge changes from forks created by badgerwithagun and declan94
Since the branch from declan94 is too dated, I only hand picked Bitmex related changes.